OrsaPaths Class Reference

#include <orsa_file.h>

List of all members.

Public Member Functions

 OrsaPaths ()
 OrsaPaths (const std::string &config_path)

Static Public Member Functions

static const char * work_path ()
static char path_separator ()


Detailed Description

Definition at line 528 of file orsa_file.h.


Constructor & Destructor Documentation

OrsaPaths (  ) 

Definition at line 3235 of file orsa_file.cc.

References ORSA_ERROR, and orsa::orsa_paths.

03235                        {
03236     if (orsa_paths) {
03237       ORSA_ERROR("cannot create two OrsaPaths from the same session");
03238       exit(0);
03239     }
03240     
03241     set_path_separator();
03242     set_path();
03243     
03244     orsa_paths = this;
03245   }

OrsaPaths ( const std::string &  config_path  ) 


Member Function Documentation

static const char* work_path (  )  [inline, static]

Definition at line 532 of file orsa_file.h.

Referenced by OrsaConfigFile::OrsaConfigFile().

00532 { return path; }

static char path_separator (  )  [inline, static]

Definition at line 533 of file orsa_file.h.

00533 { return _path_separator; }


The documentation for this class was generated from the following files:
Generated on Wed May 30 13:05:10 2007 for liborsa by  doxygen 1.5.2