Public Member Functions | Public Attributes | Friends

hdb_Active_t Struct Reference
[HSM Database]

#include <hdb_common.h>

List of all members.

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)

Detailed Description

Definition at line 150 of file hdb_common.h.


Constructor & Destructor Documentation

hdb_Active_t::hdb_Active_t (  )  [inline]

Definition at line 152 of file hdb_common.h.

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 162 of file hdb_common.h.

            :
//            chgTime(a_chgTime),
            nameOwnIdx(a_nameOwnIdx),
            oldNameOwnIdx(a_oldNameOwnIdx),
            generalInode(a_generalInode),
            chgFlags(a_chgFlags),
            fileID(a_fileID),
            fType(a_fType)
            {
                //Empty
            };


Member Function Documentation

void hdb_Active_t::Clear ( void   )  [inline]

Definition at line 182 of file hdb_common.h.

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

Referenced by hsm_ActiveFH::FindNextRec().

                         {
                nameOwnIdx    = 0;
                oldNameOwnIdx = 0;
                generalInode  = 0;
                chgFlags      = 0;
                fileID        = 0;
                fType         = ift_UNKNOWN;
            };

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 435 of file hdb_Tables.cpp.

                                                            {
    a_os << "***** Active record" << endl;
    a_os << "  nameOwnIdx    = " << a_active.nameOwnIdx   << endl;
    a_os << "  oldNameOwnIdx = " << a_active.oldNameOwnIdx   << endl;
    a_os << "  inode    = " << IVD_PRINT_ID_FS(a_active.generalInode)   << endl;
    a_os << "  chgFlags = " << hex << a_active.chgFlags << dec << endl;
    a_os << "  fileID   = " << a_active.fileID  << endl;
    a_os << "  fType    = " << (int)a_active.fType  << endl;
    return a_os;
}


Member Data Documentation

Definition at line 198 of file hdb_common.h.

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


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