Public Member Functions | Public Attributes

df_SplitInfo Struct Reference
[G_new_group]

This struct is used by BEA when parsing data format for FRI and by FSC to update its data. More...

#include <df_SplitInfo.h>

Collaboration diagram for df_SplitInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 df_SplitInfo ()
 ~df_SplitInfo ()
string Dump ()
void Clear ()

Public Attributes

ivd_FileType_e fileType
UInt32_t numLinks
ivd_DataType_t dataType
ivd_DataType_t failedDataType
bool lastSplit
bool continueSplit
ivd_MedVolNum_t medVolNum
ivd_MediaKey_t mediaKey
ivd_BlockOffset_t blockOffset
ivd_FileID_t fileID
ivd_MigrationID_t migrationID
ivd_FileSize_t fileSize
ivd_FilePosition_t chunkOffset
ivd_FileSize_t chunkSize
ivd_CopyID_t noCopies
ivd_FilePosition_t splitOffset
ivd_FileSize_t splitSize
ivd_FileID_t ownerID
ivd_FileID_t oldOwnerID
cmn_Path fileName
cmn_Path oldFileName
df_Stream attrStream
 log_CLASSID_m

Detailed Description

This struct is used by BEA when parsing data format for FRI and by FSC to update its data.

See also:
i_SplitInfo_t
Warning:
i_SplitInfo_t must contain the same fields

Definition at line 103 of file df_SplitInfo.h.


Constructor & Destructor Documentation

df_SplitInfo::df_SplitInfo (  )  [inline]

Definition at line 104 of file df_SplitInfo.h.

df_SplitInfo::~df_SplitInfo (  )  [inline]

Definition at line 105 of file df_SplitInfo.h.

{};


Member Function Documentation

void df_SplitInfo::Clear ( void   )  [inline]

Definition at line 143 of file df_SplitInfo.h.

Referenced by df_FRIDistiller::df_FRIDistiller(), and df_FRIDistiller::WriteSplitInfo().

                 {
        fileType = ift_UNKNOWN;
        failedDataType = ift_UNKNOWN;
        numLinks = 0;
        dataType = 0;
        lastSplit = false;
        continueSplit = false;
        medVolNum = 0;
        mediaKey = 0;
        blockOffset = 0;
        fileID = 0;
        migrationID = 0;
        fileSize = 0;
        chunkOffset = 0;
        chunkSize = 0;
        noCopies = 0;
        splitOffset = 0;
        splitSize = 0;
        ownerID = 0;
        oldOwnerID = 0;
        fileName.erase();
        oldFileName.erase();
        attrStream.Clear();
//        memset(&(info), 0, sizeof(info));  
    };

Here is the caller graph for this function:

string df_SplitInfo::Dump (  ) 

Definition at line 101 of file df_SplitInfo.cpp.

References blockOffset, continueSplit, dataType, fileID, fileName, fileSize, fileType, lastSplit, mediaKey, medVolNum, migrationID, noCopies, oldFileName, oldOwnerID, ownerID, splitOffset, and splitSize.

Referenced by df_FRIDistiller::CompleteStream(), fsc_CopyMgr::fsc_CopyMgr(), fsc_Generation::fsc_Generation(), fsc_GenerationMgr::Insert(), fsc_Generation::Insert(), fsc_DataL::Insert(), fsc_nsElement::InsertSplit(), and df_SplitInfoUnpacker::ProcRecFileEnd().

                          {  
    ostringstream sstr;
        sstr << endl <<
        "Split info: --------------------" << endl <<
        "   FileType    = " << (int)fileType << endl <<
        "   LastSplit   = " << boolalpha << lastSplit   << endl <<
        "   ContSplit   = " << boolalpha << continueSplit << endl <<
        "   DataType    = " << hex << dataType  << dec << endl <<
        "   FileID      = " << fileID      << endl <<
        "   MigID       = " << ivd_MigrationID(migrationID) << endl <<
        "   File size   = " << fileSize    << endl <<
        "   Owner ID    = " << ownerID     << endl <<
        "   oldOwnerID  = " << oldOwnerID  << endl <<
        "   fileName    = " << fileName    << endl <<
        "   oldFileName = " << oldFileName << endl <<
        "   NumOFCopies = " << noCopies    << endl <<
        "   SplitOffset = " << splitOffset << endl <<
        "   SplitSize   = " << splitSize   << endl <<
        "   MediaKey    = " << mediaKey    << endl <<
        "   MedVolNum   = " << medVolNum   << endl <<
        "   BlockOffset = " << blockOffset << endl <<
        "--------------------------------" << endl;
    return sstr.str();
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 139 of file df_SplitInfo.h.


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