hdb_Active_t Struct Reference
[HSM Database]

#include <hdb_common.h>

List of all members.


Detailed Description

Definition at line 136 of file hdb_common.h.


Public Member Functions

 hdb_Active_t ()
 hdb_Active_t (ivd_RecordIDX_t a_nameOwnIdx, ivd_RecordIDX_t a_oldNameOwnIdx, UInt64_t a_generalInode, UInt32_t a_chgFlags, ivd_FileID_t a_fileID, ivd_FileType_e a_fType)
void Clear ()

Public Attributes

ivd_RecordIDX_t nameOwnIdx
ivd_RecordIDX_t oldNameOwnIdx
UInt64_t generalInode
UInt32_t chgFlags
ivd_FileID_t fileID
ivd_FileType_e fType

Friends

IVD_HSMDB_DECL_d ostream & operator<< (ostream &a_os, hdb_Active_t &a_active)

Constructor & Destructor Documentation

hdb_Active_t::hdb_Active_t (  )  [inline]

Definition at line 138 of file hdb_common.h.

00139             :
00140             nameOwnIdx(0),
00141             oldNameOwnIdx(0),
00142             generalInode(0),
00143             chgFlags(0),
00144             fileID(0),
00145             fType(ift_UNKNOWN)
00146             {};

hdb_Active_t::hdb_Active_t ( ivd_RecordIDX_t  a_nameOwnIdx,
ivd_RecordIDX_t  a_oldNameOwnIdx,
UInt64_t  a_generalInode,
UInt32_t  a_chgFlags,
ivd_FileID_t  a_fileID,
ivd_FileType_e  a_fType 
) [inline]

Definition at line 148 of file hdb_common.h.

00156             :
00157 //            chgTime(a_chgTime),
00158             nameOwnIdx(a_nameOwnIdx),
00159             oldNameOwnIdx(a_oldNameOwnIdx),
00160             generalInode(a_generalInode),
00161             chgFlags(a_chgFlags),
00162             fileID(a_fileID),
00163             fType(a_fType)
00164             {
00165                 //Empty
00166             };


Member Function Documentation

void hdb_Active_t::Clear ( void   )  [inline]

Definition at line 168 of file hdb_common.h.

References chgFlags, fileID, fType, generalInode, ift_UNKNOWN, nameOwnIdx, and oldNameOwnIdx.

Referenced by hsm_ActiveFH::FindNextRec().

00168                          {
00169                 nameOwnIdx    = 0;
00170                 oldNameOwnIdx = 0;
00171                 generalInode  = 0;
00172                 chgFlags      = 0;
00173                 fileID        = 0;
00174                 fType         = ift_UNKNOWN;
00175             };

Here is the caller graph for this function:


Friends And Related Function Documentation

IVD_HSMDB_DECL_d ostream& operator<< ( ostream &  a_os,
hdb_Active_t a_active 
) [friend]

Definition at line 421 of file hdb_Tables.cpp.

00421                                                             {
00422     a_os << "***** Active record" << endl;
00423     a_os << "  nameOwnIdx    = " << a_active.nameOwnIdx   << endl;
00424     a_os << "  oldNameOwnIdx = " << a_active.oldNameOwnIdx   << endl;
00425     a_os << "  inode    = " << IVD_PRINT_ID_FS(a_active.generalInode)   << endl;
00426     a_os << "  chgFlags = " << hex << a_active.chgFlags << dec << endl;
00427     a_os << "  fileID   = " << a_active.fileID  << endl;
00428     a_os << "  fType    = " << (int)a_active.fType  << endl;
00429     return a_os;
00430 }


Member Data Documentation

Definition at line 184 of file hdb_common.h.

Referenced by Clear(), hsm_FileHeader::InitActive(), and operator<<().


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

Generated on Mon Feb 27 19:25:15 2012 for OPENARCHIVE by  doxygen 1.5.6