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.


Detailed Description

Definition at line 30 of file fsc_Files.h.


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.

Constructor & Destructor Documentation

fsc_Files::fsc_Files ( cmn_Path  a_path,
bool  a_readOnly 
)

Definition at line 83 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.

00084     :
00085     fio_RelFileTransLstMgr()
00086 {
00087     log_FUNC_m(fsc_Files);
00088 
00089     cmn_CreatePath(a_path);
00090 
00091     g_dataLRF_p      = new fio_RelFileTrans(a_readOnly, 1, a_path, "fsc_DataL.lrf"     ,
00092                             sizeof(fsc_DataL_t)     , c_fsc_DataLVersion,
00093                                             c_fio_numOfDifVector, //fio_NUM_OF_DIF_VECTOR_d,
00094                                             1, // smallest vector size
00095                                             true);
00096 
00097     g_generationRF_p = new fio_RelFileTrans(a_readOnly, 2, a_path, "fsc_Generation.lrf",
00098                             sizeof(fsc_Generation_t), c_fsc_GenerationVersion);
00099 
00100     g_chunkRF_p      = new fio_RelFileTrans(a_readOnly, 3, a_path, "fsc_Chunk.lrf"     ,
00101                             sizeof(fsc_Chunk_t)     , c_fsc_ChunkVersion);
00102 
00103     g_copyRF_p       = new fio_RelFileTrans(a_readOnly, 4, a_path, "fsc_Copy.lrf"      ,
00104                             sizeof(fsc_Copy_t)      , c_fsc_CopyVersion);
00105 
00106     g_splitRF_p      = new fio_RelFileTrans(a_readOnly, 5, a_path, "fsc_Split.lrf"     ,
00107                             sizeof(fsc_Split_t)     , c_fsc_SplitVersion);
00108 
00109     // NSC relative files
00110     g_nsNameRF_p     = new    fio_VarLenRFT(a_readOnly, 6, a_path, "fsc_nsName.lrf");
00111 
00112     g_nsDirEntryRF_p = new fio_RelFileTrans(a_readOnly, 7, a_path, "fsc_nsDirEntry.lrf",
00113                             8*sizeof(ivd_RecordIDX_t) , c_fsc_nsDirEntryRFVersion );
00114 
00115 
00116     g_nsElementRF_p  = new fio_RelFileTrans(a_readOnly, 8, a_path, "fsc_nsElement.lrf",
00117                                             sizeof(fsc_nsElement_t),
00118                                             c_fsc_nsElementRFVersion,
00119                                             c_fio_numOfDifVector, //fio_NUM_OF_DIF_VECTOR_d,
00120                                             1, // smallest vector size
00121                                             true); // acces to idx 0
00122 
00123     g_nsAttribRF_p   = new fio_RelFileTrans(a_readOnly, 9, a_path, "fsc_nsAttrib.lrf",
00124                             sizeof(df_StandardAttr_t), c_fsc_nsAttribRFVersion);
00125 
00126     Insert(g_dataLRF_p);
00127     Insert(g_generationRF_p);
00128     Insert(g_chunkRF_p);
00129     Insert(g_copyRF_p);
00130     Insert(g_splitRF_p);
00131 
00132     Insert(g_nsNameRF_p);
00133     Insert(g_nsDirEntryRF_p);
00134     Insert(g_nsElementRF_p);
00135     Insert(g_nsAttribRF_p);
00136 }
//============================================================================//

Here is the call graph for this function:

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

Definition at line 35 of file fsc_Files.h.

00035 {};


Member Data Documentation

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

Reimplemented from fio_RelFileTransLstMgr.

Definition at line 35 of file fsc_Files.h.


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

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