UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zqb_hdr_def.hpp
1 /* zqb_hdr_def.hpp */
2 /* $Id: zqb_hdr_def.hpp 20080 2009-12-15 15:57:52Z vlad $ */
3 #ifndef __zqb_hdr_def_hpp
4 #define __zqb_hdr_def_hpp
5 
6 #include <map>
7 
8 #include "zqb_name.hpp"
9 #include "zqb_hdr_field.h"
10 
11 
19 class ZqbHeaderDef : public ZqbName, public std::map<int,ZqbHdrField>
20 {
21 protected:
22 
24  int m_nHdrSize;
25 
26 public:
27 
31  ZqbHeaderDef (int nHdrSize, int nFields, const ZqbHdrField* pFields,
32  const char* szHdrName = NULL);
33 
35  int getHdrSize () const
36  {
37  return m_nHdrSize;
38  }
39 
40 };
41 
42 
43 #ifndef __zqb_hdr_def_global
44 
47 extern ZqbHeaderDef *g_pDefaultHdrDef;
48 
49 #endif /* __zqb_hdr_def_global */
50 
51 
52 #endif /* zqb_hdr_def.hpp */
Definition: zqb_hdr_field.h:16
int getHdrSize() const
Definition: zqb_hdr_def.hpp:35
Definition: zqb_name.hpp:15
ZqbHeaderDef(int nHdrSize, int nFields, const ZqbHdrField *pFields, const char *szHdrName=NULL)
Definition: zqb_hdr_def.hpp:19
int m_nHdrSize
Definition: zqb_hdr_def.hpp:24