#include <cataloger.h>
Public Member Functions | |
| catalog_manager () | |
| C'tor. | |
| void | clear (void) |
| Reset the catalog manager. | |
| void | init (void) |
| Initialize the catalog manager. | |
| const bool | initialized (void) const |
| Return the initialized status. | |
| void | erase (void) |
| Erase the contents of the catalog. | |
| void | catalog (void) |
| Create or update the catalog. | |
Private Attributes | |
| bool | m_initialized |
Definition at line 11 of file cataloger.h.
|
|
C'tor.
Definition at line 21 of file cataloger.cc. References cataloger, clear(), and INTERNAL_ERROR. Here is the call graph for this function: ![]() |
|
|
Create or update the catalog.
Definition at line 77 of file cataloger.cc. References config, erase(), initialized(), INTERNAL_ERROR, is_timestamp(), configuration_manager::link_catalog_dir(), logger, mk_relative_symlink(), subdirectory::path(), reform_path(), TRY_log, configuration_manager::vaults(), and log_manager::write(). Referenced by main(), and test_rvm(). Here is the call graph for this function: ![]() |
|
|
Reset the catalog manager.
Definition at line 30 of file cataloger.cc. References m_initialized. Referenced by catalog_manager(), and test_rvm(). |
|
|
Erase the contents of the catalog.
Definition at line 48 of file cataloger.cc. References config, initialized(), INTERNAL_ERROR, configuration_manager::link_catalog_dir(), logger, subdirectory::path(), reform_path(), rm_recursive(), TRY_nomem, and log_manager::write(). Referenced by catalog(). Here is the call graph for this function: ![]() |
|
|
Initialize the catalog manager.
Definition at line 36 of file cataloger.cc. References m_initialized. Referenced by main(), and test_rvm(). |
|
|
Return the initialized status.
Definition at line 42 of file cataloger.cc. References m_initialized. |
|
|
Definition at line 24 of file cataloger.h. Referenced by clear(), init(), and initialized(). |
1.4.2