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


Constructor & Destructor Documentation

OrsaPaths  ) 
 

Definition at line 3234 of file orsa_file.cc.

References ORSA_ERROR, and orsa::orsa_paths.

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

OrsaPaths const std::string &  config_path  ) 
 

Definition at line 3246 of file orsa_file.cc.

References ORSA_ERROR, and orsa::orsa_paths.

03246                                                 {
03247     if (orsa_paths) {
03248       ORSA_ERROR("cannot create two OrsaPaths from the same session");
03249       exit(0);
03250     }
03251     
03252     set_path_separator();
03253     path = strdup(config_path.c_str());
03254     
03255     orsa_paths = this;
03256   }


Member Function Documentation

static char path_separator  )  [inline, static]
 

Definition at line 533 of file orsa_file.h.

00533 { return _path_separator; }

static const char* work_path  )  [inline, static]
 

Definition at line 532 of file orsa_file.h.

00532 { return path; }


The documentation for this class was generated from the following files:
Generated on Tue Jan 11 15:28:55 2005 for liborsa by  doxygen 1.4.0