green::MessageTemplateTable Class Reference

#include <MessageTemplateTable.h>

Inheritance diagram for green::MessageTemplateTable:

green::TemplateTable green::KeyNameTable< entryType > List of all members.

Public Member Functions

Key AddEntry (const Name &name, MessageTemplatePtr entry)
MessageInstancePtr Instantiate (Key key, ArgListPtr initArgs) const

Detailed Description

This class is just a subclass of TemplateTable for MessageTemplates and MessageInstances


Member Function Documentation

MessageInstancePtr green::MessageTemplateTable::Instantiate ( Key  key,
ArgListPtr  initArgs 
) const [inline]

This function creates an instance of the template templateType, given a initializer list.

Parameters:
key the unique key for the template you wish to instantiate.
initArgs This is the list of values for the initializer list. Must be the same size as the initializer list format for the template in question, otherwise an Error will be thrown.
Returns:
Returns a shared_ptr to a new instance of the template.

Reimplemented from green::TemplateTable.


The documentation for this class was generated from the following file:
Generated on Fri Apr 27 10:27:39 2007 for Green Engine by  doxygen 1.5.1