Public Member Functions | Public Attributes | Private Member Functions | Friends

fsc_Entry Class Reference
[File System Catalog]

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

#include <fsc_Entry.h>

Inheritance diagram for fsc_Entry:
Inheritance graph
[legend]
Collaboration diagram for fsc_Entry:
Collaboration graph
[legend]

List of all members.

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

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 46 of file fsc_Entry.h.


Constructor & Destructor Documentation

fsc_Entry::fsc_Entry (  ) 

Definition at line 48 of file fsc_Entry.cpp.

            :
            m_changed(true), // it is new, need to be saved
            m_nextEntry(),
            m_entryMgr_p(NULL)
{
    //Empty
}

fsc_Entry::fsc_Entry ( fsc_dlcType_e  a_nextDataType,
fsc_EntryMgr a_entryMgr_p 
)

Definition at line 59 of file fsc_Entry.cpp.

            :
            m_changed(true),
            m_nextEntry(a_nextDataType),
            m_entryMgr_p(a_entryMgr_p)
{
    //Empty
}

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

Definition at line 72 of file fsc_Entry.cpp.

            :
            m_changed(true),
            m_nextEntry(a_medVolNum,
                        a_mediaKey,
                        a_blockOffset),
            m_entryMgr_p(NULL)
{
    //Empty
}

fsc_Entry::~fsc_Entry (  ) 

Definition at line 120 of file fsc_Entry.cpp.

References m_entryMgr_p, and NULL.

{
    if (m_entryMgr_p != NULL) {
        delete m_entryMgr_p;
        m_entryMgr_p = NULL;
    }
/*    else {
        log_FUNC_m(~fsc_Entry);
        log_MSG_m(log_WARNING, log_DUMP_STACK, "Check this pointer, if realy need to be destructor called");
    }
*/
}

fsc_Entry::fsc_Entry ( const fsc_NextEntity_t a_nextEntity  ) 

Definition at line 88 of file fsc_Entry.cpp.

            :
            m_changed(false),   // already stored, just recreated

            m_nextEntry(a_nextEntity),
            m_entryMgr_p(NULL)
{
    //Empty
}

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

Definition at line 100 of file fsc_Entry.cpp.

            :
            m_changed(false),
            m_nextEntry(a_nextDataType,
                        a_numOfElement,
                        a_vectorIdx),
            m_entryMgr_p(NULL)
{
//    log_FUNC_m(fsc_Entry(fsc_dlcType_e, ivd_VectorSize_t, ivd_RecordIDX_t));
//    log_FUNC_A_m(fsc_Entry, "fsc_dlcType_e "    << a_nextDataType
//                        << " ivd_VectorSize_t " << a_numOfElement
//                        << " ivd_RecordIDX_t"   << a_vectorIdx);
    //Empty
}


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 135 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().

                                           {

//    log_FUNC_m(Init);
    m_nextEntry.dlcType             = a_nextDataType;
    m_nextEntry.vector.numOfElement = a_numOfElement;
//    m_vectorIdx    = a_vectorIdx;
    m_entryMgr_p                    = a_entryMgr_p;
}

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

                                           {
        m_nextEntry.dlcType = a_nextDataType;
        m_entryMgr_p        = a_entryMgr_p;
    };

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class fsc_DataL [friend]

Definition at line 64 of file fsc_Entry.h.


Member Data Documentation

Reimplemented in fsc_Copy, fsc_Generation, and fsc_Split.

Definition at line 79 of file fsc_Entry.h.


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