CernVM-FS
2.12.0
|
#include <catalog_mgr.h>
Public Member Functions | |
CatalogContext () | |
CatalogContext (const shash::Any &hash, const PathString &mountpoint) | |
CatalogContext (const shash::Any &hash, const PathString &mountpoint, const RootCatalogLocation location) | |
bool | IsRootCatalog () |
std::string * | GetSqlitePathPtr () |
shash::Any * | GetHashPtr () |
shash::Any | hash () const |
PathString | mountpoint () const |
std::string | sqlite_path () const |
uint64_t | root_ctlg_revision () const |
RootCatalogLocation | root_ctlg_location () const |
manifest::ManifestEnsemble * | manifest_ensemble () const |
void | SetHash (shash::Any hash) |
void | SetMountpoint (const PathString &mountpoint) |
void | SetSqlitePath (const std::string &sqlite_path) |
void | SetRootCtlgRevision (uint64_t root_ctlg_revision) |
void | SetRootCtlgLocation (RootCatalogLocation root_ctlg_location) |
void | TakeManifestEnsemble (manifest::ManifestEnsemble *manifest_ensemble) |
Private Attributes | |
shash::Any | hash_ |
PathString | mountpoint_ |
std::string | sqlite_path_ |
uint64_t | root_ctlg_revision_ |
RootCatalogLocation | root_ctlg_location_ |
UniquePtr < manifest::ManifestEnsemble > | manifest_ensemble_ |
CatalogContext class contains all necessary information to load a catalog and also keeps track of the resulting output. It works as follows: 1) Load a new root catalog:
Definition at line 92 of file catalog_mgr.h.
|
inline |
Definition at line 94 of file catalog_mgr.h.
|
inline |
Definition at line 101 of file catalog_mgr.h.
|
inline |
Definition at line 109 of file catalog_mgr.h.
|
inline |
Definition at line 123 of file catalog_mgr.h.
|
inline |
Definition at line 122 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::LoadCatalogByHash().
|
inline |
Definition at line 125 of file catalog_mgr.h.
Referenced by catalog::AbstractCatalogManager< CatalogT >::ChangeRoot(), catalog::SimpleCatalogManager::GetNewRootCatalogContext(), catalog::SimpleCatalogManager::LoadCatalogByHash(), catalog::ClientCatalogManager::LoadCatalogByHash(), catalog::AbstractCatalogManager< CatalogT >::MountCatalog(), catalog::AbstractCatalogManager< CatalogT >::Remount(), and SetHash().
|
inline |
Definition at line 118 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::LoadCatalogByHash(), and catalog::AbstractCatalogManager< CatalogT >::MountCatalog().
|
inline |
Definition at line 131 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::LoadCatalogByHash(), and TakeManifestEnsemble().
|
inline |
Definition at line 126 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::LoadCatalogByHash(), catalog::AbstractCatalogManager< CatalogT >::MountCatalog(), catalog::AbstractCatalogManager< CatalogT >::Remount(), and SetMountpoint().
|
inline |
Definition at line 129 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::LoadCatalogByHash(), and SetRootCtlgLocation().
|
inline |
Definition at line 128 of file catalog_mgr.h.
Referenced by SetRootCtlgRevision().
|
inline |
Definition at line 134 of file catalog_mgr.h.
Referenced by catalog::SimpleCatalogManager::GetNewRootCatalogContext(), and catalog::ClientCatalogManager::GetNewRootCatalogContext().
|
inline |
Definition at line 135 of file catalog_mgr.h.
Referenced by catalog::SimpleCatalogManager::GetNewRootCatalogContext(), and catalog::ClientCatalogManager::GetNewRootCatalogContext().
|
inline |
Definition at line 140 of file catalog_mgr.h.
Referenced by catalog::SimpleCatalogManager::GetNewRootCatalogContext(), and catalog::ClientCatalogManager::GetNewRootCatalogContext().
|
inline |
Definition at line 138 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::GetNewRootCatalogContext().
|
inline |
Definition at line 136 of file catalog_mgr.h.
Referenced by catalog::SimpleCatalogManager::LoadCatalogByHash().
|
inline |
Definition at line 127 of file catalog_mgr.h.
Referenced by catalog::AbstractCatalogManager< CatalogT >::ChangeRoot(), catalog::AbstractCatalogManager< CatalogT >::MountCatalog(), catalog::AbstractCatalogManager< CatalogT >::Remount(), and SetSqlitePath().
|
inline |
Gives ownership to CatalogContext
Definition at line 145 of file catalog_mgr.h.
Referenced by catalog::ClientCatalogManager::GetNewRootCatalogContext().
|
private |
Definition at line 151 of file catalog_mgr.h.
Referenced by GetHashPtr(), hash(), and SetHash().
|
private |
Definition at line 161 of file catalog_mgr.h.
Referenced by manifest_ensemble(), and TakeManifestEnsemble().
|
private |
Definition at line 153 of file catalog_mgr.h.
Referenced by IsRootCatalog(), mountpoint(), and SetMountpoint().
|
private |
Definition at line 159 of file catalog_mgr.h.
Referenced by root_ctlg_location(), and SetRootCtlgLocation().
|
private |
Definition at line 157 of file catalog_mgr.h.
Referenced by root_ctlg_revision(), and SetRootCtlgRevision().
|
private |
Definition at line 155 of file catalog_mgr.h.
Referenced by GetSqlitePathPtr(), SetSqlitePath(), and sqlite_path().