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

Catapult directory. More...

Public Member Functions

 CatapultDirectory (const boost::filesystem::path &directory)
 Creates a directory around directory. More...
 
std::string str () const
 Gets the directory path (as string). More...
 
const boost::filesystem::path & path () const
 Gets the directory path (as filesystem::path). More...
 
std::string file (const std::string &name) const
 Gets the path for the file with name. More...
 

Private Attributes

boost::filesystem::path m_directory
 

Detailed Description

Catapult directory.

Constructor & Destructor Documentation

◆ CatapultDirectory()

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

Creates a directory around directory.

Member Function Documentation

◆ file()

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

Gets the path for the file with name.

Here is the caller graph for this function:

◆ path()

const boost::filesystem::path& catapult::config::CatapultDirectory::path ( ) const
inline

Gets the directory path (as filesystem::path).

◆ str()

std::string catapult::config::CatapultDirectory::str ( ) const
inline

Gets the directory path (as string).

Here is the caller graph for this function:

Member Data Documentation

◆ m_directory

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

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