[CPPSERV] [Documentation] [Download] [Contact] [Bug tracker] [News] [RSS Feed] [gitweb]
#include <serverconfig.h>
Inheritance diagram for container::ServerConfig::ConfigNode:
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_t & | getAttrs () const |
const ConfigNode * | getParent () const |
virtual | ~ConfigNode () |
Protected Member Functions | |
ConfigNode () | |
Protected Attributes | |
ConfigNode * | parent |
childlist_t | children |
std::string | type |
std::string | name |
util::param_t | attrs |
Definition at line 51 of file serverconfig.h.
typedef std::list<ConfigNode*> container::ServerConfig::ConfigNode::childlist_t |
Definition at line 54 of file serverconfig.h.
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.
const std::string& container::ServerConfig::ConfigNode::getType | ( | ) | const [inline] |
Definition at line 62 of file serverconfig.h.
References type.
Referenced by container::ServerConfig::ContextRegistry::getContext(), getParentType(), container::ServerConfig::Context::process(), container::ServerConfig::Context::setParam(), and container::ServerConfig::ParamRegistry< AppContext >::setParam().
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] |
Definition at line 68 of file serverconfig.h.
References name.
Referenced by container::ServerConfig::Context::process(), and container::ServerConfig::Context::setParam().
const util::param_t& container::ServerConfig::ConfigNode::getAttrs | ( | ) | const [inline] |
Definition at line 69 of file serverconfig.h.
References attrs.
Referenced by container::ServerConfig::ServletContext::addInitParam(), container::ServerConfig::AppContext::addInitParam(), container::ServerConfig::CSPContext::contextCreator(), container::ServerConfig::ServletContext::contextCreator(), container::ServerConfig::GlobalContext::setListener(), container::ServerConfig::GlobalContext::setNumThreads(), container::ServerConfig::GlobalContext::setQueueDepth(), container::ServerConfig::AppContext::setSessionTimeout(), container::ServerConfig::AppContext::setUploadDir(), and container::ServerConfig::GlobalContext::setUriBase().
const ConfigNode* container::ServerConfig::ConfigNode::getParent | ( | ) | const [inline] |
ConfigNode* container::ServerConfig::ConfigNode::parent [protected] |
Definition at line 56 of file serverconfig.h.
Referenced by getParent(), getParentType(), and container::XMLServerConfig::XMLConfigNode::XMLConfigNode().
Definition at line 57 of file serverconfig.h.
Referenced by container::XMLServerConfig::XMLConfigNode::addNode(), container::XMLServerConfig::XMLConfigNode::getChildren(), and container::XMLServerConfig::XMLConfigNode::~XMLConfigNode().
std::string container::ServerConfig::ConfigNode::type [protected] |
std::string container::ServerConfig::ConfigNode::name [protected] |
Definition at line 60 of file serverconfig.h.
Referenced by container::XMLServerConfig::XMLConfigNode::addAttr(), getAttrs(), and container::ServerConfig::GlobalContext::GlobalConfigNode::GlobalConfigNode().