apt @VERSION@
Classes | Public Member Functions

Configuration Class Reference

List of all members.

Classes

struct  Item
class  MatchAgainstConfig
 match a string against a configurable list of patterns More...

Public Member Functions

string Find (const char *Name, const char *Default=0) const
string Find (string const &Name, const char *Default=0) const
string Find (string const &Name, string const &Default) const
string FindFile (const char *Name, const char *Default=0) const
string FindDir (const char *Name, const char *Default=0) const
std::vector< string > FindVector (const char *Name) const
std::vector< string > FindVector (string const &Name) const
int FindI (const char *Name, int const &Default=0) const
int FindI (string const &Name, int const &Default=0) const
bool FindB (const char *Name, bool const &Default=false) const
bool FindB (string const &Name, bool const &Default=false) const
string FindAny (const char *Name, const char *Default=0) const
void Set (const string &Name, const string &Value)
void CndSet (const char *Name, const string &Value)
void Set (const char *Name, const string &Value)
void Set (const char *Name, const int &Value)
bool Exists (const string &Name) const
bool Exists (const char *Name) const
bool ExistsAny (const char *Name) const
void Clear (const string &Name)
void Clear (string const &List, string const &Value)
void Clear (string const &List, int const &Value)
const ItemTree (const char *Name) const
void Dump ()
void Dump (std::ostream &str)
 Configuration (const Item *Root)

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