Public Member Functions | Public Attributes

fsc_Files Class Reference
[File System Catalog]

#include <fsc_Files.h>

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

List of all members.

Public Member Functions

 fsc_Files (cmn_Path a_path, bool a_readOnly)
virtual ~fsc_Files ()

Public Attributes

 log_CLASSID_m
 if tree walk is called from external then no locking is need.

Detailed Description

Definition at line 44 of file fsc_Files.h.


Constructor & Destructor Documentation

fsc_Files::fsc_Files ( cmn_Path  a_path,
bool  a_readOnly 
)

Definition at line 97 of file fsc_Files.cpp.

References c_fio_numOfDifVector, c_fsc_ChunkVersion, c_fsc_CopyVersion, c_fsc_DataLVersion, c_fsc_GenerationVersion, c_fsc_nsAttribRFVersion, c_fsc_nsDirEntryRFVersion, c_fsc_nsElementRFVersion, c_fsc_SplitVersion, cmn_CreatePath(), fio_RelFileTransLstMgr::Insert(), and log_FUNC_m.

    :
    fio_RelFileTransLstMgr()
{
    log_FUNC_m(fsc_Files);

    cmn_CreatePath(a_path);

    g_dataLRF_p      = new fio_RelFileTrans(a_readOnly, 1, a_path, "fsc_DataL.lrf"     ,
                            sizeof(fsc_DataL_t)     , c_fsc_DataLVersion,
                                            c_fio_numOfDifVector, //fio_NUM_OF_DIF_VECTOR_d,
                                            1, // smallest vector size
                                            true);

    g_generationRF_p = new fio_RelFileTrans(a_readOnly, 2, a_path, "fsc_Generation.lrf",
                            sizeof(fsc_Generation_t), c_fsc_GenerationVersion);

    g_chunkRF_p      = new fio_RelFileTrans(a_readOnly, 3, a_path, "fsc_Chunk.lrf"     ,
                            sizeof(fsc_Chunk_t)     , c_fsc_ChunkVersion);

    g_copyRF_p       = new fio_RelFileTrans(a_readOnly, 4, a_path, "fsc_Copy.lrf"      ,
                            sizeof(fsc_Copy_t)      , c_fsc_CopyVersion);

    g_splitRF_p      = new fio_RelFileTrans(a_readOnly, 5, a_path, "fsc_Split.lrf"     ,
                            sizeof(fsc_Split_t)     , c_fsc_SplitVersion);

    // NSC relative files
    g_nsNameRF_p     = new    fio_VarLenRFT(a_readOnly, 6, a_path, "fsc_nsName.lrf");

    g_nsDirEntryRF_p = new fio_RelFileTrans(a_readOnly, 7, a_path, "fsc_nsDirEntry.lrf",
                            8*sizeof(ivd_RecordIDX_t) , c_fsc_nsDirEntryRFVersion );


    g_nsElementRF_p  = new fio_RelFileTrans(a_readOnly, 8, a_path, "fsc_nsElement.lrf",
                                            sizeof(fsc_nsElement_t),
                                            c_fsc_nsElementRFVersion,
                                            c_fio_numOfDifVector, //fio_NUM_OF_DIF_VECTOR_d,
                                            1, // smallest vector size
                                            true); // acces to idx 0

    g_nsAttribRF_p   = new fio_RelFileTrans(a_readOnly, 9, a_path, "fsc_nsAttrib.lrf",
                            sizeof(df_StandardAttr_t), c_fsc_nsAttribRFVersion);

    Insert(g_dataLRF_p);
    Insert(g_generationRF_p);
    Insert(g_chunkRF_p);
    Insert(g_copyRF_p);
    Insert(g_splitRF_p);

    Insert(g_nsNameRF_p);
    Insert(g_nsDirEntryRF_p);
    Insert(g_nsElementRF_p);
    Insert(g_nsAttribRF_p);
}

Here is the call graph for this function:

virtual fsc_Files::~fsc_Files (  )  [inline, virtual]

Definition at line 49 of file fsc_Files.h.

{};


Member Data Documentation

if tree walk is called from external then no locking is need.

Reimplemented from fio_RelFileTransLstMgr.

Definition at line 49 of file fsc_Files.h.


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