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

#include <glue_buffer.h>

Collaboration diagram for glue::PathMap:

Public Member Functions

 PathMap ()
 
bool LookupPath (const shash::Md5 &md5path, PathString *path)
 
uint64_t LookupInodeByPath (const PathString &path)
 
uint64_t LookupInodeByMd5Path (const shash::Md5 &md5path)
 
shash::Md5 Insert (const PathString &path, const uint64_t inode)
 
void Erase (const shash::Md5 &md5path)
 
void Replace (const shash::Md5 &md5path, uint64_t new_inode)
 
void Clear ()
 
PathStorepath_store ()
 

Private Attributes

SmallHashDynamic< shash::Md5,
uint64_t > 
map_
 
PathStore path_store_
 

Detailed Description

Definition at line 411 of file glue_buffer.h.

Constructor & Destructor Documentation

glue::PathMap::PathMap ( )
inline

Definition at line 413 of file glue_buffer.h.

Here is the call graph for this function:

Member Function Documentation

void glue::PathMap::Clear ( )
inline

Definition at line 458 of file glue_buffer.h.

Here is the call graph for this function:

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

Definition at line 446 of file glue_buffer.h.

Referenced by glue::InodeTracker::VfsPutRaii::VfsPut().

Here is the call graph for this function:

Here is the caller graph for this function:

shash::Md5 glue::PathMap::Insert ( const PathString path,
const uint64_t  inode 
)
inline

Definition at line 437 of file glue_buffer.h.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t glue::PathMap::LookupInodeByMd5Path ( const shash::Md5 md5path)
inline

Definition at line 430 of file glue_buffer.h.

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

Here is the call graph for this function:

Here is the caller graph for this function:

uint64_t glue::PathMap::LookupInodeByPath ( const PathString path)
inline

Definition at line 422 of file glue_buffer.h.

Referenced by glue::InodeTracker::FindDentry(), and glue::InodeTracker::FindInode().

Here is the call graph for this function:

Here is the caller graph for this function:

bool glue::PathMap::LookupPath ( const shash::Md5 md5path,
PathString path 
)
inline

Definition at line 417 of file glue_buffer.h.

Referenced by glue::InodeTracker::FindDentry(), and glue::InodeTracker::FindPath().

Here is the call graph for this function:

Here is the caller graph for this function:

PathStore* glue::PathMap::path_store ( )
inline

Definition at line 464 of file glue_buffer.h.

Referenced by glue::InodeTracker::BeginEnumerate(), and glue::InodeTracker::NextEntry().

Here is the caller graph for this function:

void glue::PathMap::Replace ( const shash::Md5 md5path,
uint64_t  new_inode 
)
inline

Definition at line 454 of file glue_buffer.h.

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

SmallHashDynamic<shash::Md5, uint64_t> glue::PathMap::map_
private
PathStore glue::PathMap::path_store_
private

Definition at line 468 of file glue_buffer.h.

Referenced by Clear(), Erase(), Insert(), LookupPath(), and path_store().


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