#include <Config.h>
Public Member Functions | |
| virtual Attribute | attribute (const std::string &) const =0 |
| get the named attribute | |
| virtual Attribute | attribute (const std::string &, const std::string &) const=0 |
| virtual const Config * | child (const std::string &) const =0 |
| virtual Configs | children () const=0 |
| Get the immediate children of this config node. | |
| virtual std::string | name () const=0 |
| Get the name of this node. | |
| virtual Attribute ht::options::Config::attribute | ( | const std::string & | , | |
| const std::string & | ||||
| ) | const [pure virtual] |
Get the named attribute, if it exists, else return the second arguement.
| virtual const Config* ht::options::Config::child | ( | const std::string & | ) | const [pure virtual] |
Get the sub-tree from this point using the given string as a path For example
Config * c = config->child("application/menu/file");
1.5.2