CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
catalog::InodeRange Struct Reference

#include <catalog.h>

Public Member Functions

 InodeRange ()
 
bool ContainsInode (const inode_t inode) const
 
void MakeDummy ()
 
bool IsInitialized () const
 
bool IsDummy () const
 

Public Attributes

uint64_t offset
 
uint64_t size
 

Detailed Description

Every Catalog gets an InodeRange assigned when attached to a CatalogManager. Inodes are assigned at runtime out of this InodeRange. An inode is computed by <row id="" of="" entry>=""> + offset

Definition at line 49 of file catalog.h.

Constructor & Destructor Documentation

catalog::InodeRange::InodeRange ( )
inline

Definition at line 53 of file catalog.h.

Member Function Documentation

bool catalog::InodeRange::ContainsInode ( const inode_t  inode) const
inline

Definition at line 55 of file catalog.h.

bool catalog::InodeRange::IsDummy ( ) const
inline

Definition at line 62 of file catalog.h.

Referenced by catalog::Catalog::GetMangledInode().

Here is the call graph for this function:

Here is the caller graph for this function:

bool catalog::InodeRange::IsInitialized ( ) const
inline

Definition at line 61 of file catalog.h.

Referenced by IsDummy(), and catalog::Catalog::IsInitialized().

Here is the caller graph for this function:

void catalog::InodeRange::MakeDummy ( )
inline

Definition at line 59 of file catalog.h.

Referenced by catalog::Catalog::InitStandalone().

Here is the caller graph for this function:

Member Data Documentation

uint64_t catalog::InodeRange::size

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