DataIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
FileStructHeaders.h
Go to the documentation of this file.
1 #ifndef HEADERSTRUCT_H
2 #define HEADERSTRUCT_H
3 
4 namespace EM
5 {
6  namespace Strojcek
7  {
8  namespace VstupneUdaje
9  {
10 
11  #ifndef WINDOWS
12  #define TMPACKED __attribute__ ((packed))
13  #else
14  #define TMPACKED
15  #pragma pack(push , 1)
16  #endif
17 
18  struct _FILE_HEADER
19  {
20  unsigned short recordSize;
21  unsigned char version;
22  unsigned char versionMinor;
23  } TMPACKED;
24 
26  {
27  unsigned short RokOd;
28  unsigned char MesiacOd;
29  unsigned short RokDo;
30  unsigned char MesiacDo;
31 
32  } TMPACKED;
33 
34  #undef TMPACKED
35 
36  #ifdef WINDOWS
37  #pragma pack(pop)
38  #endif
39  }
40  }
41 }
42 
43 #endif
unsigned char version
Definition: FileStructHeaders.h:21
unsigned short RokOd
Definition: FileStructHeaders.h:27
struct EM::Strojcek::VstupneUdaje::LINE_K_X_7 TMPACKED
unsigned char MesiacDo
Definition: FileStructHeaders.h:30
unsigned char versionMinor
Definition: FileStructHeaders.h:22
Class ECol : Objekt je predok pre vsetky nasledujuce kolekcie
Definition: ColReader.h:15
unsigned short RokDo
Definition: FileStructHeaders.h:29
Definition: FileStructHeaders.h:18
unsigned char MesiacOd
Definition: FileStructHeaders.h:28
unsigned short recordSize
Definition: FileStructHeaders.h:20
Definition: FileStructHeaders.h:25