LibCT 2.0

Include/Headers.h

Go to the documentation of this file.
00001 // ------------------------------------------------------------------
00012 #ifndef _LIBCT_HEADERS_H
00013 #define _LIBCT_HEADERS_H
00014 
00015 namespace LibCT
00016 {
00018         struct CnvHeader
00019         {
00020                 char    id[4];          
00021                 int             version;        
00022                 int             numEvents;      
00023 
00024                 template <class STREAM> STREAM& Serialse(STREAM& stream)
00025                 {
00026                         return stream & id[0] & id[1] & id[2] & id[3] & version & numEvents;
00027                 }
00028         };
00029 }
00030 
00031 #endif // _LIBCT_HEADERS_H