path_configuration.cpp File Reference

#include "command_line.h"
#include "filename.h"
#include "ini_config.h"
#include "path_configuration.h"
#include <basis/function.h>
#include <basis/guards.h>
#include <basis/istring.h>
#include <basis/mutex.h>
#include <basis/object_base.h>
#include <basis/portable.h>
#include <data_struct/static_memory_gremlin.h>
#include <textual/parser_bits.h>
#include <dirent.h>
#include <string.h>
#include <sys/stat.h>

Include dependency graph for path_configuration.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  path_configuration

Functions

const char * path_configuration::PATH_CONFIGURATION_FILENAME ()
 the configuration file provides a set of paths needed here.
istring path_configuration::path_configuration_file ()
 the fully specified path to the main path configuration file.
const istringpath_configuration::GLOBAL_SECTION_NAME ()
 the root section name for our configuration items in the main ini file.
const istringpath_configuration::LOCAL_FOLDER_NAME ()
 entry name in the config file that points at the installation root.
const istringpath_configuration::LOGGING_FOLDER_NAME ()
 the location where the log files for the system are stored.
istring path_configuration::installation_root ()
 returns the top-level directory of this installation.
istring path_configuration::get_logging_directory ()
 returns the directory where log files will be stored.
istring path_configuration::make_logfile_name (const istring &base_name)
 generates an installation appropriate log file name from "base_name".
void path_configuration::hard_code_application_name (const istring &new_name)
 forces the name for this program to be "new_name".
istring path_configuration::application_name ()
 returns the name of "this" program.
void path_configuration::hard_code_application_dir (const istring &new_dir)
 forces the application_directory() method to always return "new_dir".
istring path_configuration::application_directory ()
 returns the directory name where this application is running from.
istring path_configuration::core_bin_directory ()
 retrieves the core binary directory location from paths.ini.
istring path_configuration::read_item (const istring &key_name)
 returns the entry listed under the "key_name".

Variables

const int path_configuration::MAX_LOG_PATH = 200


Generated on Tue Aug 19 05:11:39 2008 for HOOPLE Libraries by  doxygen 1.5.1