CatapultServer  v0.5.0.1 (Elephant)
catapult::config::CatapultDataDirectory Class Reference

Catapult data directory. More...

Public Member Functions

 CatapultDataDirectory (const boost::filesystem::path &directory)
 Creates a data directory around directory. More...
 
CatapultDirectory rootDir () const
 Gets the root data directory. More...
 
CatapultDirectory dir (const std::string &name) const
 Gets the directory with name. More...
 
CatapultDirectory spoolDir (const std::string &name) const
 Gets the spooling directory with name. More...
 

Private Attributes

boost::filesystem::path m_directory
 

Detailed Description

Catapult data directory.

Constructor & Destructor Documentation

◆ CatapultDataDirectory()

catapult::config::CatapultDataDirectory::CatapultDataDirectory ( const boost::filesystem::path &  directory)
inlineexplicit

Creates a data directory around directory.

Member Function Documentation

◆ dir()

CatapultDirectory catapult::config::CatapultDataDirectory::dir ( const std::string &  name) const
inline

Gets the directory with name.

◆ rootDir()

CatapultDirectory catapult::config::CatapultDataDirectory::rootDir ( ) const
inline

Gets the root data directory.

Here is the caller graph for this function:

◆ spoolDir()

CatapultDirectory catapult::config::CatapultDataDirectory::spoolDir ( const std::string &  name) const
inline

Gets the spooling directory with name.

Here is the caller graph for this function:

Member Data Documentation

◆ m_directory

boost::filesystem::path catapult::config::CatapultDataDirectory::m_directory
private

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