ht::options::Config Class Reference

#include <Config.h>

List of all members.

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 Configchild (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.


Detailed Description

Interface to a point in the config heirarchy


Member Function Documentation

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");


The documentation for this class was generated from the following files:
Generated on Thu Jan 3 15:26:45 2008 by  doxygen 1.5.2