TKN Logo SelfSoft Logo

Total Knowledge

SelfSoft, Inc.

CPPSERV

[CPPSERV] [Documentation] [Download] [Contact] [Bug tracker] [News] [RSS Feed] [gitweb]

container::ServerConfig::ConfigNode Class Reference

#include <serverconfig.h>

Inheritance diagram for container::ServerConfig::ConfigNode:

Inheritance graph
[legend]
Collaboration diagram for container::ServerConfig::ConfigNode:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::list< ConfigNode * > childlist_t

Public Member Functions

const std::string & getType () const
const std::string & getParentType () const
const std::string & getName () const
const util::param_tgetAttrs () const
const ConfigNodegetParent () const
virtual ~ConfigNode ()

Protected Member Functions

 ConfigNode ()

Protected Attributes

ConfigNodeparent
childlist_t children
std::string type
std::string name
util::param_t attrs

Detailed Description

Definition at line 51 of file serverconfig.h.


Member Typedef Documentation

Definition at line 54 of file serverconfig.h.


Constructor & Destructor Documentation

virtual container::ServerConfig::ConfigNode::~ConfigNode (  )  [inline, virtual]

Definition at line 71 of file serverconfig.h.

container::ServerConfig::ConfigNode::ConfigNode (  )  [inline, protected]

It is expected that this class will be extended by derivatives of ServerConfig in order to initialize it So we made constructor protected

Definition at line 76 of file serverconfig.h.


Member Function Documentation

container::ServerConfig::ConfigNode::getParentType (  )  const [inline]

This should never be called on root node.

Definition at line 67 of file serverconfig.h.

References getType(), and parent.

Here is the call graph for this function:

const std::string& container::ServerConfig::ConfigNode::getName (  )  const [inline]

const ConfigNode* container::ServerConfig::ConfigNode::getParent (  )  const [inline]

Definition at line 70 of file serverconfig.h.

References parent.


Member Data Documentation

Definition at line 58 of file serverconfig.h.

Referenced by getType().

Definition at line 59 of file serverconfig.h.

Referenced by getName().


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

SourceForge.net Logo

Authoright © Total Knowledge: 2001-2004