CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glue::PathStore Class Reference

#include <glue_buffer.h>

Collaboration diagram for glue::PathStore:

Classes

struct  Cursor
 
struct  PathInfo
 

Public Member Functions

 PathStore ()
 
 ~PathStore ()
 
 PathStore (const PathStore &other)
 
PathStoreoperator= (const PathStore &other)
 
void Insert (const shash::Md5 &md5path, const PathString &path)
 
bool Lookup (const shash::Md5 &md5path, PathString *path)
 
void Erase (const shash::Md5 &md5path)
 
void Clear ()
 
Cursor BeginEnumerate ()
 
bool Next (Cursor *cursor, shash::Md5 *parent, StringRef *name)
 

Private Member Functions

void CopyFrom (const PathStore &other)
 

Private Attributes

SmallHashDynamic< shash::Md5,
PathInfo
map_
 
StringHeapstring_heap_
 

Detailed Description

Definition at line 175 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::PathStore::PathStore ( )
inline

Definition at line 186 of file glue_buffer.h.

Here is the call graph for this function:

glue::PathStore::~PathStore ( )
inline

Definition at line 191 of file glue_buffer.h.

glue::PathStore::PathStore ( const PathStore other)
explicit

Definition at line 40 of file glue_buffer.cc.

Member Function Documentation

Cursor glue::PathStore::BeginEnumerate ( )
inline

Definition at line 276 of file glue_buffer.h.

Referenced by glue::InodeTracker::BeginEnumerate().

Here is the caller graph for this function:

void glue::PathStore::Clear ( )
inline

Definition at line 270 of file glue_buffer.h.

Referenced by glue::PathMap::Clear().

Here is the caller graph for this function:

void glue::PathStore::CopyFrom ( const PathStore other)
private

Definition at line 45 of file glue_buffer.cc.

Here is the call graph for this function:

void glue::PathStore::Erase ( const shash::Md5 md5path)
inline

Definition at line 241 of file glue_buffer.h.

Referenced by glue::PathMap::Erase().

Here is the call graph for this function:

Here is the caller graph for this function:

void glue::PathStore::Insert ( const shash::Md5 md5path,
const PathString path 
)
inline

Definition at line 198 of file glue_buffer.h.

Referenced by glue::PathMap::Insert().

Here is the call graph for this function:

Here is the caller graph for this function:

bool glue::PathStore::Lookup ( const shash::Md5 md5path,
PathString path 
)
inline

Definition at line 225 of file glue_buffer.h.

Referenced by glue::PathMap::LookupPath().

Here is the call graph for this function:

Here is the caller graph for this function:

bool glue::PathStore::Next ( Cursor cursor,
shash::Md5 parent,
StringRef name 
)
inline

Definition at line 280 of file glue_buffer.h.

Referenced by glue::InodeTracker::NextEntry().

Here is the caller graph for this function:

PathStore & glue::PathStore::operator= ( const PathStore other)

Definition at line 30 of file glue_buffer.cc.

Member Data Documentation

SmallHashDynamic<shash::Md5, PathInfo> glue::PathStore::map_
private

Definition at line 307 of file glue_buffer.h.

Referenced by Clear(), CopyFrom(), Erase(), Insert(), Lookup(), Next(), and PathStore().

StringHeap* glue::PathStore::string_heap_
private

Definition at line 308 of file glue_buffer.h.

Referenced by Clear(), CopyFrom(), Erase(), Insert(), PathStore(), and ~PathStore().


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