CPPSERV


Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

container::serverconfig::ContextRegistry Class Reference

#include <contextregistry.h>

Collaboration diagram for container::serverconfig::ContextRegistry:

List of all members.


Classes

struct  ContextInfo

Public Types

typedef Context *(* createcontext_f )(const ConfigNode &n, Context *parent)

Public Member Functions

void registerContext (const std::string &type, createcontext_f creator, int flags)
 ContextRegistry (void(*registerContexts)(ContextRegistry &))
ContextgetContext (const ConfigNode &, Context *)

Private Types

typedef std::map< std::string,
ContextInfo
registry_t

Private Attributes

registry_t m_registry

Detailed Description

Definition at line 30 of file contextregistry.h.


Member Typedef Documentation

typedef std::map<std::string, ContextInfo> container::serverconfig::ContextRegistry::registry_t [private]

Definition at line 55 of file contextregistry.h.


Constructor & Destructor Documentation

container::serverconfig::ContextRegistry::ContextRegistry ( void(*)(ContextRegistry &)  registerContexts  )  [inline]

Definition at line 59 of file contextregistry.h.


Member Function Documentation

Context * container::serverconfig::ContextRegistry::getContext ( const ConfigNode node,
Context parent 
)

void container::serverconfig::ContextRegistry::registerContext ( const std::string &  type,
ContextRegistry::createcontext_f  creator,
int  flags 
)


Member Data Documentation


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

SourceForge.net Logo