Public Member Functions | Public Attributes | Friends

df_RecCmn_t Struct Reference
[IVD Data format.]

#include <df_types.h>

List of all members.

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)

Detailed Description

Definition at line 228 of file df_types.h.


Constructor & Destructor Documentation

df_RecCmn_t::df_RecCmn_t (  )  [inline]

Definition at line 229 of file df_types.h.

{};

df_RecCmn_t::~df_RecCmn_t (  )  [inline]

Definition at line 230 of file df_types.h.

{};


Friends And Related Function Documentation

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

Definition at line 309 of file df_const.cpp.

                                                                 {
    a_os <<"  <Record: " <<
        string(reinterpret_cast<const char*>(&a_recCmn.type),
               sizeof(a_recCmn.type)) << ">" <<
        " C=" <<
        string(reinterpret_cast<const char*>(a_recCmn.magicCookie),
               sizeof(a_recCmn.magicCookie)) <<
        " Ver=" <<
        string(reinterpret_cast<const char*>(&a_recCmn.verMajor),
               sizeof(a_recCmn.verMajor)) << "." <<
        string(reinterpret_cast<const char*>(&a_recCmn.verMinor),
               sizeof(a_recCmn.verMinor)) <<
        " Flags=" <<
        cmn_Num2Str(ntoh(a_recCmn.flags), true) <<
        " SeqNum=" << ntoh(a_recCmn.seqNum) <<
        " Size=" << ntoh(a_recCmn.size) << endl;
    return a_os;
}


Member Data Documentation

UInt8_t df_RecCmn_t::magicCookie[df_RECCOOKIE_SIZE_d]

Definition at line 258 of file df_types.h.

Referenced by df_RecReader::VerifyRecHeader().


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