df_SplitInfo Struct Reference
[G_new_group]

#include <df_SplitInfo.h>

Collaboration diagram for df_SplitInfo:

Collaboration graph
[legend]

List of all members.


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 89 of file df_SplitInfo.h.


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

Constructor & Destructor Documentation

df_SplitInfo::df_SplitInfo (  )  [inline]

Definition at line 90 of file df_SplitInfo.h.

00090 : attrStream(sizeof(df_StandardAttr_t)) {};

df_SplitInfo::~df_SplitInfo (  )  [inline]

Definition at line 91 of file df_SplitInfo.h.

00091 {};


Member Function Documentation

string df_SplitInfo::Dump (  ) 

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

00087                           {  
00088     ostringstream sstr;
00089         sstr << endl <<
00090         "Split info: --------------------" << endl <<
00091         "   FileType    = " << (int)fileType << endl <<
00092         "   LastSplit   = " << boolalpha << lastSplit   << endl <<
00093         "   ContSplit   = " << boolalpha << continueSplit << endl <<
00094         "   DataType    = " << hex << dataType  << dec << endl <<
00095         "   FileID      = " << fileID      << endl <<
00096         "   MigID       = " << ivd_MigrationID(migrationID) << endl <<
00097         "   File size   = " << fileSize    << endl <<
00098         "   Owner ID    = " << ownerID     << endl <<
00099         "   oldOwnerID  = " << oldOwnerID  << endl <<
00100         "   fileName    = " << fileName    << endl <<
00101         "   oldFileName = " << oldFileName << endl <<
00102         "   NumOFCopies = " << noCopies    << endl <<
00103         "   SplitOffset = " << splitOffset << endl <<
00104         "   SplitSize   = " << splitSize   << endl <<
00105         "   MediaKey    = " << mediaKey    << endl <<
00106         "   MedVolNum   = " << medVolNum   << endl <<
00107         "   BlockOffset = " << blockOffset << endl <<
00108         "--------------------------------" << endl;
00109     return sstr.str();
00110 }

Here is the caller graph for this function:

void df_SplitInfo::Clear ( void   )  [inline]

Definition at line 129 of file df_SplitInfo.h.

References ift_UNKNOWN.

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

00129                  {
00130         fileType = ift_UNKNOWN;
00131         failedDataType = ift_UNKNOWN;
00132         numLinks = 0;
00133         dataType = 0;
00134         lastSplit = false;
00135         continueSplit = false;
00136         medVolNum = 0;
00137         mediaKey = 0;
00138         blockOffset = 0;
00139         fileID = 0;
00140         migrationID = 0;
00141         fileSize = 0;
00142         chunkOffset = 0;
00143         chunkSize = 0;
00144         noCopies = 0;
00145         splitOffset = 0;
00146         splitSize = 0;
00147         ownerID = 0;
00148         oldOwnerID = 0;
00149         fileName.erase();
00150         oldFileName.erase();
00151         attrStream.Clear();
00152 //        memset(&(info), 0, sizeof(info));  
00153     };

Here is the caller graph for this function:


Member Data Documentation

Definition at line 125 of file df_SplitInfo.h.


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

Generated on Mon Feb 27 19:13:23 2012 for OPENARCHIVE by  doxygen 1.5.6