#include <MessageTemplateTable.h>
Inheritance diagram for green::MessageTemplateTable:
Public Member Functions | |
Key | AddEntry (const Name &name, MessageTemplatePtr entry) |
MessageInstancePtr | Instantiate (Key key, ArgListPtr initArgs) const |
MessageInstancePtr green::MessageTemplateTable::Instantiate | ( | Key | key, | |
ArgListPtr | initArgs | |||
) | const [inline] |
This function creates an instance of the template templateType, given a initializer list.
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. |
Reimplemented from green::TemplateTable.