rvm  1.11
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
archive_path Class Reference

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>

Inheritance diagram for archive_path:
Inheritance graph
Collaboration diagram for archive_path:
Collaboration graph

Public Types

typedef std::vector
< archive_path_element
type
 

Public Member Functions

void reset (void)
 Reset to a default value. More...
 
 archive_path ()
 C'tor. More...
 
 archive_path (const archive_path &a_class)
 C'tor. More...
 
 archive_path (const archive_path_element &a_class)
 C'tor. More...
 
 archive_path (const std::string &a_class)
 C'tor. More...
 
void push_back (const archive_path &a_class)
 Add elements to the path list from another archive_path instance. More...
 
void push_back (const archive_path_element &a_class)
 Add an element to the path list from an archive_path_element instance. More...
 
void push_back (const std::string &a_str)
 Parse a string into an archive-path list. More...
 
void assign (const archive_path &a_class)
 Assign an archive-path list from another archive_path instance. More...
 
void assign (const archive_path_element &a_class)
 Assign an archive-path list from a single archive_path_element instance. More...
 
void assign (const std::string &a_str)
 Assign an archive-path list from a string (parse the string) More...
 
const std::string str (void) const
 Reconstruct a string from an archive-path list. More...
 
archive_pathoperator= (const archive_path &a_class)
 Assignment. More...
 
archive_pathoperator= (const archive_path_element &a_class)
 Assignment. More...
 
archive_pathoperator= (const std::string &a_str)
 Assignment. More...
 

Detailed Description

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.

Member Typedef Documentation

Definition at line 66 of file rconfig.h.

Constructor & Destructor Documentation

archive_path::archive_path ( void  )

C'tor.

Definition at line 232 of file rconfig.cc.

References reset().

Here is the call graph for this function:

archive_path::archive_path ( const archive_path a_class)

C'tor.

Definition at line 238 of file rconfig.cc.

References push_back().

Here is the call graph for this function:

archive_path::archive_path ( const archive_path_element a_class)

C'tor.

Definition at line 244 of file rconfig.cc.

References push_back().

Here is the call graph for this function:

archive_path::archive_path ( const std::string &  a_class)

C'tor.

Definition at line 250 of file rconfig.cc.

References push_back().

Here is the call graph for this function:

Member Function Documentation

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=().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

archive_path & archive_path::operator= ( const archive_path a_class)

Assignment.

Definition at line 349 of file rconfig.cc.

References assign().

Here is the call graph for this function:

archive_path & archive_path::operator= ( const archive_path_element a_class)

Assignment.

Definition at line 357 of file rconfig.cc.

References assign().

Here is the call graph for this function:

archive_path & archive_path::operator= ( const std::string &  a_str)

Assignment.

Definition at line 365 of file rconfig.cc.

References assign().

Here is the call graph for this function:

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::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 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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().


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