A configuration manager support class: Used to specify a unique subdirectory in the archive for each job (made up of archive_path_element's). More...
#include <rconfig.h>
Public Types | |
typedef std::vector < archive_path_element > | type |
Public Member Functions | |
void | reset (void) |
Reset to a default value. | |
archive_path () | |
C'tor. | |
archive_path (const archive_path &a_class) | |
C'tor. | |
archive_path (const archive_path_element &a_class) | |
C'tor. | |
archive_path (const std::string &a_class) | |
C'tor. | |
void | push_back (const archive_path &a_class) |
Add elements to the path list from another archive_path instance. | |
void | push_back (const archive_path_element &a_class) |
Add an element to the path list from an archive_path_element instance. | |
void | push_back (const std::string &a_str) |
Parse a string into an archive-path list. | |
void | assign (const archive_path &a_class) |
Assign an archive-path list from another archive_path instance. | |
void | assign (const archive_path_element &a_class) |
Assign an archive-path list from a single archive_path_element instance. | |
void | assign (const std::string &a_str) |
Assign an archive-path list from a string (parse the string). | |
const std::string | str (void) const |
Reconstruct a string from an archive-path list. | |
archive_path & | operator= (const archive_path &a_class) |
Assignment. | |
archive_path & | operator= (const archive_path_element &a_class) |
Assignment. | |
archive_path & | operator= (const std::string &a_str) |
Assignment. |
A configuration manager support class: Used to specify a unique subdirectory in the archive for each job (made up of archive_path_element's).
Definition at line 63 of file rconfig.h.
typedef std::vector<archive_path_element> archive_path::type |
archive_path::archive_path | ( | void | ) |
C'tor.
Definition at line 232 of file rconfig.cc.
References reset().
archive_path::archive_path | ( | const archive_path & | a_class | ) |
C'tor.
Definition at line 238 of file rconfig.cc.
References push_back().
archive_path::archive_path | ( | const archive_path_element & | a_class | ) |
C'tor.
Definition at line 244 of file rconfig.cc.
References push_back().
archive_path::archive_path | ( | const std::string & | a_class | ) |
C'tor.
Definition at line 250 of file rconfig.cc.
References push_back().
void archive_path::assign | ( | const std::string & | a_str | ) |
Assign an archive-path list from a string (parse the string).
Definition at line 342 of file rconfig.cc.
References push_back().
void archive_path::assign | ( | const archive_path_element & | a_class | ) |
Assign an archive-path list from a single archive_path_element instance.
Definition at line 335 of file rconfig.cc.
References push_back().
void archive_path::assign | ( | const archive_path & | a_class | ) |
Assign an archive-path list from another archive_path instance.
Definition at line 326 of file rconfig.cc.
References push_back().
Referenced by operator=().
archive_path & archive_path::operator= | ( | const std::string & | a_str | ) |
Assignment.
Definition at line 365 of file rconfig.cc.
References assign().
archive_path & archive_path::operator= | ( | const archive_path_element & | a_class | ) |
Assignment.
Definition at line 357 of file rconfig.cc.
References assign().
archive_path & archive_path::operator= | ( | const archive_path & | a_class | ) |
Assignment.
Definition at line 349 of file rconfig.cc.
References assign().
void archive_path::push_back | ( | const std::string & | a_str | ) |
Parse a string into an archive-path list.
Definition at line 272 of file rconfig.cc.
References archive_path_element::assign(), archive_path_element::clear(), push_back(), str(), TRY, and TRY_nomem.
void archive_path::push_back | ( | const archive_path_element & | a_class | ) |
Add an element to the path list from an archive_path_element instance.
Definition at line 266 of file rconfig.cc.
References TRY_nomem.
void archive_path::push_back | ( | const archive_path & | a_class | ) |
Add elements to the path list from another archive_path instance.
Definition at line 256 of file rconfig.cc.
References TRY_nomem.
Referenced by archive_path(), assign(), push_back(), and reset().
void archive_path::reset | ( | void | ) |
Reset to a default value.
Definition at line 225 of file rconfig.cc.
References push_back().
Referenced by archive_path().
const std::string archive_path::str | ( | void | ) | const |
Reconstruct a string from an archive-path list.
Definition at line 310 of file rconfig.cc.
References TRY_nomem.
Referenced by push_back(), and test().