lib_settings_class Class Reference

A class to manage global library settings. More...

#include <lib_settings.h>


Detailed Description

A global object of this type is defined in lib_settings.h named lib_settings .

Definition at line 91 of file lib_settings.h.


Public Member Functions

std::string get_data_dir ()
 Return the data directory.
int set_data_dir (std::string dir)
 Set the data directory.
std::string get_tmp_dir ()
 Return the temp file directory.
int set_tmp_dir (std::string dir)
 Set the temp file directory.
int eos_installed ()
 Return 1 if the EOS library was installed.
int part_installed ()
 Return 1 if the particle library was installed.
bool range_check ()
 Return true if range checking was turned on during installation (default true).
std::string o2scl_version ()
 Return the library version.

Protected Attributes

std::string data_dir
 The present data directory.
std::string tmp_dir
 The present temp file directory.

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

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page