#include <TemplateTable.h>
Inheritance diagram for green::TemplateTable:
Public Member Functions | |
virtual | ~TemplateTable () |
VariableTableInstancePtr | Instantiate (Key key, ArgListPtr initArgs) const |
void | Print (std::ostream &os) |
Protected Member Functions | |
VariableTableTemplatePtr | _checkInstArgs (Key key, ArgListPtr initArgs) const |
void | _doInstantiate (VariableTableInstancePtr instance, VariableTableTemplatePtr templ, ArgListPtr args) const |
virtual green::TemplateTable::~TemplateTable | ( | ) | [inline, virtual] |
Default destructor, declared virtual
VariableTableInstancePtr green::TemplateTable::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 in green::MessageTemplateTable.
void green::TemplateTable::Print | ( | std::ostream & | os | ) | [inline] |
Print the template table to an ostream
os | The ostream to print to |