Public Member Functions | Public Attributes | Friends

hdb_DirNode_t Struct Reference
[HSM Database]

structure hdb_DirNode_t is used for store HSM active directories. More...

#include <hdb_common.h>

List of all members.

Public Member Functions

 hdb_DirNode_t ()
 hdb_DirNode_t (ivd_RecordIDX_t a_nameOwnIdx, ivd_FileID_t a_fileID, UInt64_t a_generalInode)
void Clear ()

Public Attributes

ivd_RecordIDX_t nameOwnIdx
ivd_FileID_t fileID
UInt64_t generalInode
 generalInode is checked at start up if is zerro then record is unused when record is put to UV list is filled with zeroes after fields next index and vector size

Friends

IVD_HSMDB_DECL_d ostream & operator<< (ostream &a_os, hdb_DirNode_t &a_dirNode)

Detailed Description

structure hdb_DirNode_t is used for store HSM active directories.

It is compleatle read at start up. Used to construct fileheaders in HSM cache.

Definition at line 94 of file hdb_common.h.


Constructor & Destructor Documentation

hdb_DirNode_t::hdb_DirNode_t (  )  [inline]

Definition at line 95 of file hdb_common.h.

        :
        nameOwnIdx(0),
        fileID(0),
        generalInode(0)
        {};

hdb_DirNode_t::hdb_DirNode_t ( ivd_RecordIDX_t  a_nameOwnIdx,
ivd_FileID_t  a_fileID,
UInt64_t  a_generalInode 
) [inline]

Definition at line 102 of file hdb_common.h.

                  :
                  nameOwnIdx(a_nameOwnIdx),
                  fileID(a_fileID),
                  generalInode(a_generalInode) {
                      // Empty
                  };


Member Function Documentation

void hdb_DirNode_t::Clear ( void   )  [inline]

Definition at line 112 of file hdb_common.h.

References fileID, generalInode, and nameOwnIdx.

Referenced by hdbReadNameOwnRec().

                 {
        nameOwnIdx   = 0;
        fileID       = 0;
        generalInode = 0;
    };

Here is the caller graph for this function:


Friends And Related Function Documentation

IVD_HSMDB_DECL_d ostream& operator<< ( ostream &  a_os,
hdb_DirNode_t a_dirNode 
) [friend]

Definition at line 415 of file hdb_Tables.cpp.

                                                              {
    a_os << "***** DirNode record" << endl;
    a_os << "  nameOwnIdx = " << a_dirNode.nameOwnIdx   << endl;
    a_os << "  fileID     = " << a_dirNode.fileID   << endl;
    a_os << "  inode      = " << IVD_PRINT_ID_FS(a_dirNode.generalInode) << endl;
    return a_os;
}


Member Data Documentation

Definition at line 121 of file hdb_common.h.

Referenced by Clear(), hsmGetDirFH(), and operator<<().

generalInode is checked at start up if is zerro then record is unused when record is put to UV list is filled with zeroes after fields next index and vector size

Definition at line 125 of file hdb_common.h.

Referenced by Clear(), hsmGetDirFH(), and operator<<().


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