#include <fsc_ReorgScanDataVolStorage.h>


Why cache element: Because to quick find proper object between many. See
Definition at line 45 of file fsc_ReorgScanDataVolStorage.h.
Public Member Functions | |
| fsc_ReorgScanDataVolStorage (UInt64_t a_keyNum, const string &a_partName, ivd_MediaKey_t a_mediumKey, ivd_MedVolNum_t a_medVolNum, bool a_create) | |
| ~fsc_ReorgScanDataVolStorage (void) | |
| void | Write (const ivd_FileLocationData_t *a_record_p) |
| Store location information of a file. | |
Public Attributes | |
| log_CLASSID_m | |
Private Attributes | |
| const string | m_partName |
| ivd_FileSize_t | m_dataSize |
| Size of total data stored on volume. | |
Friends | |
| class | ut_fsc_ReorgScanDataVolStorage |
| class | fsc_ReorgScanReorgVolStorage |
| class | fsc_ReorgScanContentVolStorage |
| fsc_ReorgScanDataVolStorage::fsc_ReorgScanDataVolStorage | ( | UInt64_t | a_keyNum, | |
| const string & | a_partName, | |||
| ivd_MediaKey_t | a_mediumKey, | |||
| ivd_MedVolNum_t | a_medVolNum, | |||
| bool | a_create | |||
| ) | [inline] |
Definition at line 50 of file fsc_ReorgScanDataVolStorage.h.
00055 : 00056 stx_CacheEl(a_keyNum), 00057 fsc_DataCollectorStorage(a_mediumKey, a_medVolNum), 00058 m_partName(a_partName), 00059 m_dataSize(0) 00060 { 00061 //empty 00062 };
| fsc_ReorgScanDataVolStorage::~fsc_ReorgScanDataVolStorage | ( | void | ) | [inline] |
| void fsc_ReorgScanDataVolStorage::Write | ( | const ivd_FileLocationData_t * | a_record_p | ) |
Store location information of a file.
Definition at line 101 of file fsc_ReorgScanDataVolStorage.cpp.
References assert, df_StreamOverheadSize_c, log_FUNC_m, m_dataSize, NULL, ivd_FileLocationData_t::splitSize, and fsc_DataCollectorStorage::WriteToBuffer().
Referenced by fsc_RawReorgScanDataCollector::ProcRecMedPosMgr().
00101 { 00102 log_FUNC_m(Write); 00103 assert(a_record_p != NULL); 00104 WriteToBuffer(reinterpret_cast<const UInt8_t*>(a_record_p)); 00105 m_dataSize += a_record_p->splitSize + df_StreamOverheadSize_c; 00106 00107 }


friend class ut_fsc_ReorgScanDataVolStorage [friend] |
Definition at line 46 of file fsc_ReorgScanDataVolStorage.h.
friend class fsc_ReorgScanReorgVolStorage [friend] |
Reimplemented from fsc_DataCollectorStorage.
Definition at line 47 of file fsc_ReorgScanDataVolStorage.h.
friend class fsc_ReorgScanContentVolStorage [friend] |
Reimplemented from fsc_DataCollectorStorage.
Definition at line 48 of file fsc_ReorgScanDataVolStorage.h.
Reimplemented from stx_CacheEl.
Reimplemented in fsc_ReorgScanReorgVolStorage, and fsc_ReorgScanContentVolStorage.
Definition at line 69 of file fsc_ReorgScanDataVolStorage.h.
const string fsc_ReorgScanDataVolStorage::m_partName [private] |
Definition at line 71 of file fsc_ReorgScanDataVolStorage.h.
Size of total data stored on volume.
Base on FSC migration size + header size
Definition at line 77 of file fsc_ReorgScanDataVolStorage.h.
Referenced by Write(), fsc_ReorgScanContentVolStorage::~fsc_ReorgScanContentVolStorage(), and fsc_ReorgScanReorgVolStorage::~fsc_ReorgScanReorgVolStorage().
1.5.6