fsc_Entry Class Reference
[File System Catalog]

#include <fsc_Entry.h>

Inheritance diagram for fsc_Entry:

Inheritance graph
[legend]
Collaboration diagram for fsc_Entry:

Collaboration graph
[legend]

List of all members.


Detailed Description

<Description:> A more elaborate class description that describes all aspects of class usage etc.

Author:
Dejan Volk Lupo, HERMES SoftLab
See also:
<reference>

Definition at line 32 of file fsc_Entry.h.


Public Member Functions

 fsc_Entry ()
 fsc_Entry (fsc_dlcType_e a_nextDataType, fsc_EntryMgr *a_entryMgr_p)
 fsc_Entry (ivd_MedVolNum_t a_medVolNum, ivd_MediaKey_t a_mediaKey, ivd_BlockOffset_t a_blockOffset)
 ~fsc_Entry ()
 fsc_Entry (const fsc_NextEntity_t &a_nextEntity)
void Init (fsc_dlcType_e a_nextDataType, ivd_VectorSize_t a_numOfElement, fsc_EntryMgr *a_entryMgr_p)
void InitNextEntry (fsc_dlcType_e a_nextDataType, fsc_EntryMgr *a_entryMgr_p)

Public Attributes

bool m_changed
fsc_NextEntity_t m_nextEntry
fsc_EntryMgrm_entryMgr_p
 pointer to next entry manager who manage the related entries
 log_CLASSID_m

Private Member Functions

 fsc_Entry (fsc_dlcType_e a_nextDataType, ivd_VectorSize_t a_numOfElement, ivd_RecordIDX_t a_vectorIdx)

Friends

class fsc_DataL

Constructor & Destructor Documentation

fsc_Entry::fsc_Entry (  ) 

Definition at line 34 of file fsc_Entry.cpp.

00035             :
00036             m_changed(true), // it is new, need to be saved
00037             m_nextEntry(),
00038             m_entryMgr_p(NULL)
00039 {
00040     //Empty
00041 }
//============================================================================//

fsc_Entry::fsc_Entry ( fsc_dlcType_e  a_nextDataType,
fsc_EntryMgr a_entryMgr_p 
)

Definition at line 45 of file fsc_Entry.cpp.

00048             :
00049             m_changed(true),
00050             m_nextEntry(a_nextDataType),
00051             m_entryMgr_p(a_entryMgr_p)
00052 {
00053     //Empty
00054 }
//============================================================================//

fsc_Entry::fsc_Entry ( ivd_MedVolNum_t  a_medVolNum,
ivd_MediaKey_t  a_mediaKey,
ivd_BlockOffset_t  a_blockOffset 
)

Definition at line 58 of file fsc_Entry.cpp.

00062             :
00063             m_changed(true),
00064             m_nextEntry(a_medVolNum,
00065                         a_mediaKey,
00066                         a_blockOffset),
00067             m_entryMgr_p(NULL)
00068 {
00069     //Empty
00070 }
//============================================================================//

fsc_Entry::~fsc_Entry (  ) 

Definition at line 106 of file fsc_Entry.cpp.

References m_entryMgr_p, and NULL.

00107 {
00108     if (m_entryMgr_p != NULL) {
00109         delete m_entryMgr_p;
00110         m_entryMgr_p = NULL;
00111     }
00112 /*    else {
00113         log_FUNC_m(~fsc_Entry);
00114         log_MSG_m(log_WARNING, log_DUMP_STACK, "Check this pointer, if realy need to be destructor called");
00115     }
00116 */
00117 }

fsc_Entry::fsc_Entry ( const fsc_NextEntity_t a_nextEntity  ) 

Definition at line 74 of file fsc_Entry.cpp.

00075             :
00076             m_changed(false),   // already stored, just recreated
00077 
00078             m_nextEntry(a_nextEntity),
00079             m_entryMgr_p(NULL)
00080 {
00081     //Empty
00082 }
//============================================================================//

fsc_Entry::fsc_Entry ( fsc_dlcType_e  a_nextDataType,
ivd_VectorSize_t  a_numOfElement,
ivd_RecordIDX_t  a_vectorIdx 
) [private]

Definition at line 86 of file fsc_Entry.cpp.

00090             :
00091             m_changed(false),
00092             m_nextEntry(a_nextDataType,
00093                         a_numOfElement,
00094                         a_vectorIdx),
00095             m_entryMgr_p(NULL)
00096 {
00097 //    log_FUNC_m(fsc_Entry(fsc_dlcType_e, ivd_VectorSize_t, ivd_RecordIDX_t));
00098 //    log_FUNC_A_m(fsc_Entry, "fsc_dlcType_e "    << a_nextDataType
00099 //                        << " ivd_VectorSize_t " << a_numOfElement
00100 //                        << " ivd_RecordIDX_t"   << a_vectorIdx);
00101     //Empty
00102 }
//============================================================================*/


Member Function Documentation

void fsc_Entry::Init ( fsc_dlcType_e  a_nextDataType,
ivd_VectorSize_t  a_numOfElement,
fsc_EntryMgr a_entryMgr_p 
)

Definition at line 121 of file fsc_Entry.cpp.

References fsc_NextEntity_t::dlcType, m_entryMgr_p, m_nextEntry, fsc_Vector_t::numOfElement, and fsc_NextEntity_t::vector.

Referenced by fsc_Generation::Insert().

00125                                            {
00126 
00127 //    log_FUNC_m(Init);
00128     m_nextEntry.dlcType             = a_nextDataType;
00129     m_nextEntry.vector.numOfElement = a_numOfElement;
00130 //    m_vectorIdx    = a_vectorIdx;
00131     m_entryMgr_p                    = a_entryMgr_p;
00132 }

Here is the caller graph for this function:

void fsc_Entry::InitNextEntry ( fsc_dlcType_e  a_nextDataType,
fsc_EntryMgr a_entryMgr_p 
) [inline]

Definition at line 73 of file fsc_Entry.h.

References fsc_NextEntity_t::dlcType, m_entryMgr_p, and m_nextEntry.

Referenced by fsc_Copy::fsc_Copy(), fsc_Generation::fsc_Generation(), and fsc_Split::fsc_Split().

00075                                            {
00076         m_nextEntry.dlcType = a_nextDataType;
00077         m_entryMgr_p        = a_entryMgr_p;
00078     };

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class fsc_DataL [friend]

Definition at line 50 of file fsc_Entry.h.


Member Data Documentation

Reimplemented in fsc_Copy, fsc_Generation, and fsc_Split.

Definition at line 65 of file fsc_Entry.h.


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

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