CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext Struct Reference

#include <catalog_traversal.h>

Public Member Functions

 TraversalContext (const uint64_t history_depth, const time_t timestamp_threshold, const TraversalType traversal_type)
 

Public Attributes

const uint64_t history_depth
 
const time_t timestamp_threshold
 
const TraversalType traversal_type
 
CatalogJobStack catalog_stack
 
CatalogJobStack callback_stack
 

Detailed Description

template<class ObjectFetcherT>
struct swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext

This struct represents a catalog traversal context. It needs to be re- created for each catalog traversal process and contains information to this specific catalog traversal run.

Parameters
history_depththe history traversal threshold
traversal_typeeither breadth or depth first traversal strategy
catalog_stackthe call stack for catalogs to be traversed
callback_stackused in depth first traversal for deferred yielding

Definition at line 522 of file catalog_traversal.h.

Constructor & Destructor Documentation

template<class ObjectFetcherT>
swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::TraversalContext ( const uint64_t  history_depth,
const time_t  timestamp_threshold,
const TraversalType  traversal_type 
)
inline

Definition at line 523 of file catalog_traversal.h.

Member Data Documentation

template<class ObjectFetcherT>
const uint64_t swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::history_depth
template<class ObjectFetcherT>
const time_t swissknife::CatalogTraversal< ObjectFetcherT >::TraversalContext::timestamp_threshold

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