#include "config.h"
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <map>
#include <algorithm>
#include <cctype>
#include "asserts.h"
#include "error.h"
#include "estring.h"
#include "fs.h"
#include "tstamp.h"
#include "rconfig.h"
Include dependency graph for rconfig.cc:
Go to the source code of this file.
Functions | |
void | parse_line (std::istream &a_in, std::string &a_keyword, std::string &a_value) |
Parse a keyword/value pair read from a configuration file. | |
const std::string | parse_dirname (const std::string &a_path) |
Given a path, strip off the basename -- like the dirname UNIX command. | |
const std::string | parse_basename (const std::string &a_path) |
Given a path, strip off the directory -- like the basename UNIX commane. | |
Variables | |
configuration_manager | config |
The global configuration manager instance. |
|
Given a path, strip off the directory -- like the basename UNIX commane.
Definition at line 1591 of file rconfig.cc. References TRY_nomem. |
|
Given a path, strip off the basename -- like the dirname UNIX command.
Definition at line 1569 of file rconfig.cc. References TRY_nomem. Referenced by job_parser::parse_exclude_from(), job_parser::parse_include(), global_parser::parse_include(), job_parser::parse_include_from(), and global_parser::parse_include_job(). |
|
Parse a keyword/value pair read from a configuration file.
Definition at line 1502 of file rconfig.cc. References TRY_nomem. Referenced by job_parser::parse(), and global_parser::parse(). |
|