hdb_DirNode_t Struct Reference
[HSM Database]

#include <hdb_common.h>

List of all members.


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


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)

Constructor & Destructor Documentation

hdb_DirNode_t::hdb_DirNode_t (  )  [inline]

Definition at line 81 of file hdb_common.h.

00082         :
00083         nameOwnIdx(0),
00084         fileID(0),
00085         generalInode(0)
00086         {};

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

Definition at line 88 of file hdb_common.h.

00091                   :
00092                   nameOwnIdx(a_nameOwnIdx),
00093                   fileID(a_fileID),
00094                   generalInode(a_generalInode) {
00095                       // Empty
00096                   };


Member Function Documentation

void hdb_DirNode_t::Clear ( void   )  [inline]

Definition at line 98 of file hdb_common.h.

References fileID, generalInode, and nameOwnIdx.

Referenced by hdbReadNameOwnRec().

00098                  {
00099         nameOwnIdx   = 0;
00100         fileID       = 0;
00101         generalInode = 0;
00102     };

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

00401                                                               {
00402     a_os << "***** DirNode record" << endl;
00403     a_os << "  nameOwnIdx = " << a_dirNode.nameOwnIdx   << endl;
00404     a_os << "  fileID     = " << a_dirNode.fileID   << endl;
00405     a_os << "  inode      = " << IVD_PRINT_ID_FS(a_dirNode.generalInode) << endl;
00406     return a_os;
00407 }


Member Data Documentation

Definition at line 107 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 111 of file hdb_common.h.

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


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

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