df_RecCmn_t Struct Reference
[IVD Data format.]

#include <df_types.h>

List of all members.


Detailed Description

Definition at line 214 of file df_types.h.


Public Member Functions

 df_RecCmn_t ()
 ~df_RecCmn_t ()
const char * GetVarDataNet (const ivd_VarData_t &a_varDataN) const
 Returns pointer to the beginning of the variable attribute.
const char * GetVarDataHost (const ivd_VarData_t &a_varDataH) const
 Returns pointer to the beginning of the variable attribute.

Public Attributes

UInt16_t verMajor
UInt16_t verMinor
UInt8_t magicCookie [df_RECCOOKIE_SIZE_d]
UInt32_t type
 Record type: see rec_XXX_c constants.
UInt32_t flags
 Record flags: see df_RF_xxx defines.
UInt32_t seqNum
 Record sequence number: each job starts counting from 1.
UInt32_t size
 Record size: including all type specific and variable part.
UInt32_t reserved1 [2]

Friends

IVD_DF_DECL_d ostream & operator<< (ostream &a_os, const df_RecCmn_t &a_recCmn)

Constructor & Destructor Documentation

df_RecCmn_t::df_RecCmn_t (  )  [inline]

Definition at line 215 of file df_types.h.

00215 {};

df_RecCmn_t::~df_RecCmn_t (  )  [inline]

Definition at line 216 of file df_types.h.

00216 {};


Friends And Related Function Documentation

IVD_DF_DECL_d ostream& operator<< ( ostream &  a_os,
const df_RecCmn_t a_recCmn 
) [friend]

Definition at line 295 of file df_const.cpp.

00295                                                                  {
00296     a_os <<"  <Record: " <<
00297         string(reinterpret_cast<const char*>(&a_recCmn.type),
00298                sizeof(a_recCmn.type)) << ">" <<
00299         " C=" <<
00300         string(reinterpret_cast<const char*>(a_recCmn.magicCookie),
00301                sizeof(a_recCmn.magicCookie)) <<
00302         " Ver=" <<
00303         string(reinterpret_cast<const char*>(&a_recCmn.verMajor),
00304                sizeof(a_recCmn.verMajor)) << "." <<
00305         string(reinterpret_cast<const char*>(&a_recCmn.verMinor),
00306                sizeof(a_recCmn.verMinor)) <<
00307         " Flags=" <<
00308         cmn_Num2Str(ntoh(a_recCmn.flags), true) <<
00309         " SeqNum=" << ntoh(a_recCmn.seqNum) <<
00310         " Size=" << ntoh(a_recCmn.size) << endl;
00311     return a_os;
00312 }


Member Data Documentation

UInt8_t df_RecCmn_t::magicCookie[df_RECCOOKIE_SIZE_d]

Definition at line 244 of file df_types.h.

Referenced by df_RecReader::VerifyRecHeader().


The documentation for this struct was generated from the following files:

Generated on Mon Feb 27 19:12:56 2012 for OPENARCHIVE by  doxygen 1.5.6