Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

WvHConfGen Class Reference

#include <wvhconf.h>

List of all members.

Public Methods

 WvHConfGen ()
virtual ~WvHConfGen ()
virtual WvHConf * make_tree (WvHConf *parent, const WvHConfKey &key)
virtual WvHConf * make_obj (WvHConf *parent, const WvString &name)
virtual void update (WvHConf *h)
virtual void load ()
virtual void save ()


Detailed Description

A WvHConfGen knows how to generate new WvHConf objects in its tree. It may also know how to load/save its tree using some kind of permanent storage (like a disk file, a central HConf server, or whatever).

Definition at line 44 of file wvhconf.h.


Constructor & Destructor Documentation

WvHConfGen::WvHConfGen (    )  [inline]
 

Definition at line 47 of file wvhconf.h.

WvHConfGen::~WvHConfGen (    )  [virtual]
 

Definition at line 12 of file wvhconfgen.cc.


Member Function Documentation

void WvHConfGen::load (    )  [virtual]
 

Definition at line 51 of file wvhconfgen.cc.

Referenced by WvHConf::load().

WvHConf * WvHConfGen::make_obj (  WvHConf *    parent,
const WvString &    name
)  [virtual]
 

Definition at line 34 of file wvhconfgen.cc.

References WvHConf::children, and update().

Referenced by make_tree().

WvHConf * WvHConfGen::make_tree (  WvHConf *    parent,
const WvHConfKey &    key
)  [virtual]
 

Definition at line 18 of file wvhconfgen.cc.

References WvHConf::children, WvList< WvString >::first(), WvListBase::isempty(), make_obj(), and WvHConfKey::skip().

Referenced by WvHConf::find_make().

void WvHConfGen::save (    )  [virtual]
 

Definition at line 57 of file wvhconfgen.cc.

Referenced by WvHConf::save().

void WvHConfGen::update (  WvHConf *    h )  [virtual]
 

Definition at line 45 of file wvhconfgen.cc.

References WvHConf::dirty.

Referenced by make_obj().


The documentation for this class was generated from the following files:
Generated on Fri Apr 5 15:16:55 2002 for WvStreams by doxygen1.2.15