Public Member Functions | Public Attributes

fsc_NextEntity_t Struct Reference
[File System Catalog]

#include <fsc_common.h>

Collaboration diagram for fsc_NextEntity_t:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 fsc_NextEntity_t ()
 fsc_NextEntity_t (const fsc_NextEntity_t &nextEntity)
 fsc_NextEntity_t (fsc_dlcType_e a_dlcType)
 fsc_NextEntity_t (fsc_dlcType_e a_dlcType, ivd_VectorSize_t a_numOfElement, ivd_RecordIDX_t a_vectorIdx)
 fsc_NextEntity_t (ivd_MedVolNum_t a_medVolNum, ivd_MediaKey_t a_mediaKey, ivd_BlockOffset_t a_blockOffset)
fsc_MediaPosition_tGetMedPos ()
const fsc_MediaPosition_tGetMedPosConst () const
void Dbg () const

Public Attributes

UInt8_t dlcType: 4
UInt8_t dataType: 4
fsc_Vector_t vector
 log_CLASSID_m

Detailed Description

Definition at line 265 of file fsc_common.h.


Constructor & Destructor Documentation

fsc_NextEntity_t::fsc_NextEntity_t (  ) 

Definition at line 61 of file fsc_common.cpp.

References dlcType.

                                   {
        memset(this, 0, sizeof(fsc_NextEntity_t));
        dlcType = dlc_NotUsed;
}

fsc_NextEntity_t::fsc_NextEntity_t ( const fsc_NextEntity_t nextEntity  ) 

Definition at line 68 of file fsc_common.cpp.

                                                                     {
        memcpy(this, &nextEntity, sizeof(fsc_NextEntity_t));
}

fsc_NextEntity_t::fsc_NextEntity_t ( fsc_dlcType_e  a_dlcType  )  [inline]

Definition at line 270 of file fsc_common.h.

        :
        dlcType(a_dlcType) { };

fsc_NextEntity_t::fsc_NextEntity_t ( fsc_dlcType_e  a_dlcType,
ivd_VectorSize_t  a_numOfElement,
ivd_RecordIDX_t  a_vectorIdx 
)

Definition at line 74 of file fsc_common.cpp.

        :
        dlcType(a_dlcType) {
    vector.numOfElement = a_numOfElement;
    vector.entryIdx     = a_vectorIdx;  
}

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

Definition at line 86 of file fsc_common.cpp.

References fsc_MediaPosition_t::blockOffset, GetMedPos(), fsc_MediaPosition_t::mediaKey, and fsc_MediaPosition_t::medVolNum.

        :
        dlcType(dlc_MediaPos) 
{
    fsc_MediaPosition_t &mediaPosition = GetMedPos();
    mediaPosition.medVolNum   = a_medVolNum;
    mediaPosition.mediaKey    = a_mediaKey;
    mediaPosition.blockOffset = a_blockOffset;  
}

Here is the call graph for this function:


Member Function Documentation

void fsc_NextEntity_t::Dbg (  )  const

Definition at line 101 of file fsc_common.cpp.

References dataType, fsc_MediaPosition_t::Dbg(), dbg_DETAIL, dlc_MediaPos, dlc_NotUsed, dlcType, GetMedPosConst(), log_DBG_m, and log_FUNC_m.

                                 {
    log_FUNC_m(Dbg);
    //log_DBG_m(dbg_DETAIL, "      dlcType = " << (int)dlcType);
    switch (dlcType) {
    case dlc_MediaPos : {
        const fsc_MediaPosition_t &mediaPosition = GetMedPosConst();
        mediaPosition.Dbg();
        break;
       }
    case dlc_NotUsed  : 
        log_DBG_m(dbg_DETAIL, "        Not used yet.");
        break;
    default:
        log_DBG_m(dbg_DETAIL, "        Data type      " << hex << dataType);
        log_DBG_m(dbg_DETAIL, "        NumOfElements  " << vector.numOfElement);
        log_DBG_m(dbg_DETAIL, "        index          " << vector.entryIdx);
        break;
    }
}

Here is the call graph for this function:

fsc_MediaPosition_t& fsc_NextEntity_t::GetMedPos (  )  [inline]
const fsc_MediaPosition_t& fsc_NextEntity_t::GetMedPosConst (  )  const [inline]

Definition at line 288 of file fsc_common.h.

Referenced by Dbg(), and fsc_MedPosMgr::fsc_MedPosMgr().

                                                             {
        return *reinterpret_cast<const fsc_MediaPosition_t*>(&vector);
    };

Here is the caller graph for this function:


Member Data Documentation

Definition at line 302 of file fsc_common.h.


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