#include <confignode.h>
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 * | m_parent |
childlist_t | m_children |
std::string | m_type |
std::string | m_name |
util::param_t | m_attrs |
Definition at line 30 of file confignode.h.
typedef std::list<ConfigNode*> container::serverconfig::ConfigNode::childlist_t |
Definition at line 33 of file confignode.h.
virtual container::serverconfig::ConfigNode::~ConfigNode | ( | ) | [inline, virtual] |
Definition at line 50 of file confignode.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 55 of file confignode.h.
const util::param_t& container::serverconfig::ConfigNode::getAttrs | ( | ) | const [inline] |
Definition at line 48 of file confignode.h.
References m_attrs.
Referenced by container::serverconfig::ServletContext::addInitParam(), container::serverconfig::AppContext::addInitParam(), container::serverconfig::AppContext::AppContext(), container::serverconfig::ServletContext::contextCreator(), container::serverconfig::CSPContext::contextCreator(), container::serverconfig::GlobalContext::setListener(), container::serverconfig::ServletContext::setMaxFileSize(), container::serverconfig::ServletContext::setMaxRequestSize(), container::serverconfig::GlobalContext::setNumThreads(), container::serverconfig::GlobalContext::setQueueDepth(), container::serverconfig::AppContext::setSessionTimeout(), and container::serverconfig::Context::setString().
const std::string& container::serverconfig::ConfigNode::getName | ( | ) | const [inline] |
Definition at line 47 of file confignode.h.
References m_name.
Referenced by container::serverconfig::Context::Context::CfgParamList::add(), container::serverconfig::ContextRegistry::ContextRegistry::ContextInfo::create(), container::serverconfig::NodeNameComparator::operator()(), container::serverconfig::Context::process(), and container::serverconfig::Context::setParam().
const ConfigNode* container::serverconfig::ConfigNode::getParent | ( | ) | const [inline] |
container::serverconfig::ConfigNode::getParentType | ( | ) | const [inline] |
This should never be called on root node.
Definition at line 46 of file confignode.h.
References getType(), and m_parent.
const std::string& container::serverconfig::ConfigNode::getType | ( | ) | const [inline] |
Definition at line 41 of file confignode.h.
References m_type.
Referenced by container::serverconfig::Context::Context::CfgParamList::add(), container::serverconfig::ContextRegistry::ContextRegistry::ContextInfo::create(), container::serverconfig::ContextRegistry::getContext(), getParentType(), container::serverconfig::Context::process(), container::serverconfig::Context::setParam(), and container::serverconfig::ParamRegistry< AppContext >::setParam().
Definition at line 39 of file confignode.h.
Referenced by container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::addAttr(), getAttrs(), and container::serverconfig::GlobalContext::GlobalContext::GlobalConfigNode::GlobalConfigNode().
Definition at line 36 of file confignode.h.
Referenced by container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::addNode(), container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::getChildren(), and container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::~XMLConfigNode().
std::string container::serverconfig::ConfigNode::m_name [protected] |
Definition at line 38 of file confignode.h.
Referenced by container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::addAttr(), getName(), and container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::XMLConfigNode().
ConfigNode* container::serverconfig::ConfigNode::m_parent [protected] |
Definition at line 35 of file confignode.h.
Referenced by getParent(), getParentType(), and container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::XMLConfigNode().
std::string container::serverconfig::ConfigNode::m_type [protected] |
Definition at line 37 of file confignode.h.
Referenced by getType(), container::serverconfig::GlobalContext::GlobalContext::GlobalConfigNode::GlobalConfigNode(), and container::serverconfig::XMLServerConfig::XMLServerConfig::XMLConfigNode::XMLConfigNode().