Public Member Functions | Public Attributes | Private Attributes

fsc_ColGeneration Class Reference
[File System Catalog]

#include <fsc_colGeneration.h>

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

List of all members.

Public Member Functions

 fsc_ColGeneration (const ivd_FileID_t a_fileID, fsc_GenIDsize_v &a_generations)
virtual ~fsc_ColGeneration ()
virtual bool ProcObjGenerationMgr (fsc_GenerationMgr *a_genMgr_p)
 this method is called by fsc_GenerationMgr object to collect all generations

Public Attributes

 log_CLASSID_m

Private Attributes

ivd_FileID_t m_fileID
fsc_GenIDsize_vm_generations
 to collect all generations of file

Detailed Description

Definition at line 73 of file fsc_colGeneration.h.


Constructor & Destructor Documentation

fsc_ColGeneration::fsc_ColGeneration ( const ivd_FileID_t  a_fileID,
fsc_GenIDsize_v a_generations 
)

Definition at line 51 of file fsc_colGeneration.cpp.

References log_FUNC_m.

    :
    fsc_Collector(),
    m_fileID(a_fileID),
    m_generations(a_generations)
{
    log_FUNC_m(fsc_ColGeneration);       
}

fsc_ColGeneration::~fsc_ColGeneration (  )  [virtual]

Definition at line 64 of file fsc_colGeneration.cpp.

References log_FUNC_m.


Member Function Documentation

bool fsc_ColGeneration::ProcObjGenerationMgr ( fsc_GenerationMgr a_genMgr_p  )  [virtual]

this method is called by fsc_GenerationMgr object to collect all generations

Reimplemented from fsc_Collector.

Definition at line 70 of file fsc_colGeneration.cpp.

References log_FUNC_m, fsc_Generation::m_dataType, fsc_GenerationMgr::m_generation_p_l, m_generations, fsc_Generation::m_migrationID, fsc_Generation::m_size, and fsc_Collector::ProcObjGeneration().

                                                                          {
    log_FUNC_m(ProcObjGeneration);
    fsc_Generation_p_l_i iter = a_genMgr_p->m_generation_p_l.begin();
    fsc_Generation_p_l_i end  = a_genMgr_p->m_generation_p_l.end();
    for (;iter != end; iter++) {
        fsc_Generation *gen_p = *iter;
        m_generations.push_back(fsc_MigIDsize_t(
                                    gen_p->m_dataType,
                                    gen_p->m_migrationID, 
                                    gen_p->m_size));
    }
    return false; // do not continue, all generations are collectted
}

Here is the call graph for this function:


Member Data Documentation

Reimplemented from fsc_Collector.

Definition at line 85 of file fsc_colGeneration.h.

Definition at line 89 of file fsc_colGeneration.h.

to collect all generations of file

Definition at line 92 of file fsc_colGeneration.h.

Referenced by ProcObjGenerationMgr().


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