CernVM-FS  2.12.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 235 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::PathStore::PathStore ( )
inline

Definition at line 246 of file glue_buffer.h.

Here is the call graph for this function:

glue::PathStore::~PathStore ( )
inline

Definition at line 251 of file glue_buffer.h.

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

Definition at line 42 of file glue_buffer.cc.

Member Function Documentation

Cursor glue::PathStore::BeginEnumerate ( )
inline

Definition at line 336 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 330 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 47 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 301 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 258 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 285 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 340 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 32 of file glue_buffer.cc.

Member Data Documentation

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

Definition at line 367 of file glue_buffer.h.

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

StringHeap* glue::PathStore::string_heap_
private

Definition at line 368 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: