#include <Basics.H>
#include <Generics.H>
#include "VestaConfig.H"
#include <OS.H>
#include <sstream>
Go to the source code of this file.
Defines | |
#define | VESTA_CONFIG "VESTACONFIG" |
#define | DEFAULT_CONFIG_FILE_NAME "vesta.cfg" |
#define | DEFAULT_GLOBAL_CONFIG_FILE_NAME "/etc/vesta.cfg" |
#define | HOME_DIRECTORY "HOME" |
#define | MAX_INCLUDE_DEPTH 10 |
Typedefs | |
typedef Table< Text, TextSeq * >::Default | SectionVarsTbl |
typedef Table< Text, TextSeq * >::Iterator | SectionVarsIter |
Functions | |
void | VestaConfig::set_location (const Text &file_name) |
Text | VestaConfig::get_location () throw (VestaConfig::failure) |
bool | VestaConfig::get (const Text §ion, const Text &name, Text &value) throw (VestaConfig::failure) |
Text | VestaConfig::get_Text (const Text §ion, const Text &name) throw (VestaConfig::failure) |
int | VestaConfig::get_int (const Text §ion, const Text &name) throw (VestaConfig::failure) |
bool | VestaConfig::get_bool (const Text §ion, const Text &name) throw (VestaConfig::failure) |
bool | VestaConfig::is_set (const Text §ion, const Text &name) throw (VestaConfig::failure) |
float | VestaConfig::get_float (const Text §ion, const Text &name) throw (VestaConfig::failure) |
TextSeq | VestaConfig::sections () throw (VestaConfig::failure) |
TextSeq | VestaConfig::section_vars (const Text §ion) throw (VestaConfig::failure) |
|
Definition at line 35 of file VestaConfig.C. |
|
Definition at line 36 of file VestaConfig.C. |
|
Definition at line 37 of file VestaConfig.C. |
|
Definition at line 39 of file VestaConfig.C. |
|
Definition at line 34 of file VestaConfig.C. |
|
Definition at line 53 of file VestaConfig.C. |
|
Definition at line 52 of file VestaConfig.C. |
|
Definition at line 291 of file VestaConfig.C. References Table< K, V >::Default::Get(), Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 330 of file VestaConfig.C. References Text::cchars(), Text::chars(), and VestaConfig::get_Text(). |
|
Definition at line 376 of file VestaConfig.C. References Text::chars(), and VestaConfig::get_Text(). |
|
Definition at line 318 of file VestaConfig.C. References Text::chars(), and VestaConfig::get_Text(). |
|
Definition at line 115 of file VestaConfig.C. References Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 308 of file VestaConfig.C. References VestaConfig::get(). |
|
Definition at line 358 of file VestaConfig.C. References Table< K, V >::Default::Get(), Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 413 of file VestaConfig.C. References Table< K, V >::Default::Get(), Basics::mutex::lock(), and Basics::mutex::unlock(). |
|
Definition at line 388 of file VestaConfig.C. References Sequence< Elem, elem_ptrfree >::addhi(), Basics::mutex::lock(), Table< K, V >::Iterator::Next(), and Basics::mutex::unlock(). |
|
Definition at line 107 of file VestaConfig.C. References Basics::mutex::lock(), and Basics::mutex::unlock(). |