Public Member Functions | Public Attributes | Friends

hdb_ReleaseCand_t Struct Reference
[HSM Database]

#include <hdb_common.h>

List of all members.

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)

Detailed Description

Definition at line 236 of file hdb_common.h.


Constructor & Destructor Documentation

hdb_ReleaseCand_t::hdb_ReleaseCand_t (  )  [inline]

Definition at line 237 of file hdb_common.h.

        :
                      fileType(ift_UNKNOWN),
                      appendTime(0),
                      nameOwnIdx (0),
                      generalInode(0),
                      fileID(0),
                      dataOffset(0),
                      dataSize(0) 
                      {
                          //Empty
                      };

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

                        :
                      fileType(a_fileType),
                      appendTime(0),
                      nameOwnIdx (a_nameOwnIdx),
                      generalInode(a_generalInode),
                      fileID(a_fileID),
//                      ownGeneralInode(a_ownGeneralInode),
                      dataOffset(0),
                      dataSize(0)
                      {
                          //Empty
                      };


Member Function Documentation

void hdb_ReleaseCand_t::Clear ( void   )  [inline]

Definition at line 269 of file hdb_common.h.

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

Referenced by hsm_ReleaseCandRec::FindNextRec().

                 {
        fileType   = ift_UNKNOWN;
        appendTime = 0;
        nameOwnIdx = 0;
        generalInode = 0;
        fileID     = 0;
        dataOffset = 0;
        dataSize   = 0; 
    };

Here is the caller graph for this function:

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

Definition at line 281 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().

                                            {
        if (a_windStruct) {
            hdbWIN_ReleaseCand_t &win = *reinterpret_cast<hdbWIN_ReleaseCand_t*>(this);
            generalInode = win.generalInode;
            fileID       = win.fileID      ;
            dataOffset   = win.dataOffset  ;
            dataSize     = win.dataSize    ; 
        }
    };

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

                                                                     {    
    cmn_Time appTime(a_relCandRec.appendTime, 0);
    a_os << "***** Release Candidate Record" << endl;
    a_os << "  file type    = " << (int)a_relCandRec.fileType     << endl;
    a_os << "  appendTime   = " << appTime.Time2YMDhms() << endl;
    a_os << "  nameOwnIdx   = " << a_relCandRec.nameOwnIdx   << endl;
    a_os << "  generalInode = " << IVD_PRINT_ID_FS(a_relCandRec.generalInode) << endl;
    a_os << "  fileID       = " << a_relCandRec.fileID     << endl;
    a_os << "  dataOffset   = " << a_relCandRec.dataOffset << endl;
    a_os << "  dataSize     = " << a_relCandRec.dataSize   << endl;
    return a_os;
}


Member Data Documentation

Definition at line 313 of file hdb_common.h.

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

Definition at line 314 of file hdb_common.h.

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

Definition at line 307 of file hdb_common.h.

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


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