hdb_ReleaseCand_t Struct Reference
[HSM Database]

#include <hdb_common.h>

List of all members.


Detailed Description

Definition at line 222 of file hdb_common.h.


Public Member Functions

 hdb_ReleaseCand_t ()
 hdb_ReleaseCand_t (ivd_FileType_e a_fileType, ivd_RecordIDX_t a_nameOwnIdx, ivd_GenInode_t a_generalInode, ivd_FileID_t a_fileID)
void Clear ()
void ToHostStructure (bool a_windStruct)

Public Attributes

ivd_FileType_e fileType
ivd_Time32_t appendTime
ivd_RecordIDX_t nameOwnIdx
ivd_GenInode_t generalInode
ivd_FileID_t fileID
ivd_FilePosition_t dataOffset
ivd_FileSize_t dataSize

Friends

IVD_HSMDB_DECL_d ostream & operator<< (ostream &a_os, hdb_ReleaseCand_t &a_relCandRec)

Constructor & Destructor Documentation

hdb_ReleaseCand_t::hdb_ReleaseCand_t (  )  [inline]

Definition at line 223 of file hdb_common.h.

00224         :
00225                       fileType(ift_UNKNOWN),
00226                       appendTime(0),
00227                       nameOwnIdx (0),
00228                       generalInode(0),
00229                       fileID(0),
00230                       dataOffset(0),
00231                       dataSize(0) 
00232                       {
00233                           //Empty
00234                       };

hdb_ReleaseCand_t::hdb_ReleaseCand_t ( ivd_FileType_e  a_fileType,
ivd_RecordIDX_t  a_nameOwnIdx,
ivd_GenInode_t  a_generalInode,
ivd_FileID_t  a_fileID 
) [inline]

Definition at line 236 of file hdb_common.h.

00242                         :
00243                       fileType(a_fileType),
00244                       appendTime(0),
00245                       nameOwnIdx (a_nameOwnIdx),
00246                       generalInode(a_generalInode),
00247                       fileID(a_fileID),
00248 //                      ownGeneralInode(a_ownGeneralInode),
00249                       dataOffset(0),
00250                       dataSize(0)
00251                       {
00252                           //Empty
00253                       };
                       


Member Function Documentation

void hdb_ReleaseCand_t::Clear ( void   )  [inline]

Definition at line 255 of file hdb_common.h.

References appendTime, dataOffset, dataSize, fileID, fileType, generalInode, ift_UNKNOWN, and nameOwnIdx.

Referenced by hsm_ReleaseCandRec::FindNextRec().

00255                  {
00256         fileType   = ift_UNKNOWN;
00257         appendTime = 0;
00258         nameOwnIdx = 0;
00259         generalInode = 0;
00260         fileID     = 0;
00261         dataOffset = 0;
00262         dataSize   = 0; 
00263     };

Here is the caller graph for this function:

void hdb_ReleaseCand_t::ToHostStructure ( bool  a_windStruct  )  [inline]

Definition at line 267 of file hdb_common.h.

References hdbWIN_ReleaseCand_t::dataOffset, dataOffset, hdbWIN_ReleaseCand_t::dataSize, dataSize, hdbWIN_ReleaseCand_t::fileID, fileID, hdbWIN_ReleaseCand_t::generalInode, and generalInode.

Referenced by hdb_Tables::DumpReleaseCand().

00267                                             {
00268         if (a_windStruct) {
00269             hdbWIN_ReleaseCand_t &win = *reinterpret_cast<hdbWIN_ReleaseCand_t*>(this);
00270             generalInode = win.generalInode;
00271             fileID       = win.fileID      ;
00272             dataOffset   = win.dataOffset  ;
00273             dataSize     = win.dataSize    ; 
00274         }
00275     };

Here is the caller graph for this function:


Friends And Related Function Documentation

IVD_HSMDB_DECL_d ostream& operator<< ( ostream &  a_os,
hdb_ReleaseCand_t a_relCandRec 
) [friend]

Definition at line 434 of file hdb_Tables.cpp.

00434                                                                      {    
00435     cmn_Time appTime(a_relCandRec.appendTime, 0);
00436     a_os << "***** Release Candidate Record" << endl;
00437     a_os << "  file type    = " << (int)a_relCandRec.fileType     << endl;
00438     a_os << "  appendTime   = " << appTime.Time2YMDhms() << endl;
00439     a_os << "  nameOwnIdx   = " << a_relCandRec.nameOwnIdx   << endl;
00440     a_os << "  generalInode = " << IVD_PRINT_ID_FS(a_relCandRec.generalInode) << endl;
00441     a_os << "  fileID       = " << a_relCandRec.fileID     << endl;
00442     a_os << "  dataOffset   = " << a_relCandRec.dataOffset << endl;
00443     a_os << "  dataSize     = " << a_relCandRec.dataSize   << endl;
00444     return a_os;
00445 }


Member Data Documentation

Definition at line 293 of file hdb_common.h.

Referenced by Clear(), hsm_ReleaseCandRec::IsValid(), operator<<(), and hsm_FHrelc::Truncate().

Definition at line 299 of file hdb_common.h.

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

Definition at line 300 of file hdb_common.h.

Referenced by Clear(), operator<<(), ToHostStructure(), and hsm_FHrelc::Truncate().


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

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