CPPSERV


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

servlet::taglib::CompileTimeTaglib Class Reference

#include <CompileTimeTaglib.h>

Inheritance diagram for servlet::taglib::CompileTimeTaglib:
Collaboration diagram for servlet::taglib::CompileTimeTaglib:

List of all members.


Classes

class  TagFactory
class  TagFactoryBase

Public Member Functions

 CompileTimeTaglib (const std::string &prefix)
void registerTag (const std::string &name, TagFactoryBase *factory)
virtual GeneratorgetTag (const std::string &)
virtual void releaseTag (Generator *)

Private Types

typedef std::map< std::string,
TagFactoryBase * > 
tagfactorymap_t

Private Attributes

tagfactorymap_t m_factoryMap

Detailed Description

Definition at line 16 of file CompileTimeTaglib.h.


Member Typedef Documentation

typedef std::map<std::string, TagFactoryBase*> servlet::taglib::CompileTimeTaglib::tagfactorymap_t [private]

Definition at line 35 of file CompileTimeTaglib.h.


Constructor & Destructor Documentation

servlet::taglib::CompileTimeTaglib::CompileTimeTaglib ( const std::string &  prefix  ) 

Definition at line 10 of file CompileTimeTaglib.cpp.


Member Function Documentation

Generator * servlet::taglib::CompileTimeTaglib::getTag ( const std::string &  name  )  [virtual]

Implements servlet::taglib::Taglib.

Definition at line 19 of file CompileTimeTaglib.cpp.

References servlet::taglib::Taglib::getPrefix(), and m_factoryMap.

Here is the call graph for this function:

void servlet::taglib::CompileTimeTaglib::registerTag ( const std::string &  name,
TagFactoryBase factory 
)

Definition at line 33 of file CompileTimeTaglib.cpp.

References m_factoryMap.

void servlet::taglib::CompileTimeTaglib::releaseTag ( Generator tag  )  [virtual]

Implements servlet::taglib::Taglib.

Definition at line 28 of file CompileTimeTaglib.cpp.


Member Data Documentation


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

SourceForge.net Logo