CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CatalogTraversalData< CatalogT > Struct Template Reference

#include <catalog_traversal.h>

Collaboration diagram for swissknife::CatalogTraversalData< CatalogT >:

Public Member Functions

 CatalogTraversalData (const CatalogT *catalog, const shash::Any &catalog_hash, const unsigned tree_level, const size_t file_size, const unsigned int history_depth)
 

Public Attributes

const CatalogT * catalog
 
const shash::Any catalog_hash
 
const unsigned int tree_level
 
const size_t file_size
 
const unsigned int history_depth
 

Detailed Description

template<class CatalogT>
struct swissknife::CatalogTraversalData< CatalogT >

Callback data which has to be implemented by the registered callback functions/methods (see Observable<> for further details)

Parameters
catalogthe catalog object which needs to be processed
catalog_hashthe content hash of the catalog
tree_levelthe depth in the nested catalog tree (starting at zero)
file_sizethe size of the downloaded catalog database file
history_depththe distance from the current HEAD revision (current HEAD has history_depth 0)

Definition at line 43 of file catalog_traversal.h.

Constructor & Destructor Documentation

template<class CatalogT>
swissknife::CatalogTraversalData< CatalogT >::CatalogTraversalData ( const CatalogT *  catalog,
const shash::Any catalog_hash,
const unsigned  tree_level,
const size_t  file_size,
const unsigned int  history_depth 
)
inline

Definition at line 44 of file catalog_traversal.h.

Member Data Documentation

template<class CatalogT>
const shash::Any swissknife::CatalogTraversalData< CatalogT >::catalog_hash
template<class CatalogT>
const size_t swissknife::CatalogTraversalData< CatalogT >::file_size
template<class CatalogT>
const unsigned int swissknife::CatalogTraversalData< CatalogT >::history_depth

Definition at line 59 of file catalog_traversal.h.

template<class CatalogT>
const unsigned int swissknife::CatalogTraversalData< CatalogT >::tree_level

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