#include <VariableTableTemplate.h>
Inheritance diagram for green::VariableTableTemplate:
Public Member Functions | |
virtual | ~VariableTableTemplate () |
InitFormatPtr | GetInitFormat () const |
void | SetInitFormat (InitFormatPtr format) |
Key | AddEntry (const Name &name, Variable::Type type, Variable::Value value) |
virtual void | Print (std::ostream &os) |
Protected Attributes | |
InitFormatPtr | mInitFormat |
virtual green::VariableTableTemplate::~VariableTableTemplate | ( | ) | [inline, virtual] |
Default destructor, declared virtual.
InitFormatPtr green::VariableTableTemplate::GetInitFormat | ( | ) | const [inline] |
Get the initializer list format for this template.
void green::VariableTableTemplate::SetInitFormat | ( | InitFormatPtr | format | ) | [inline] |
Set the initializer list format for this template.
format | The new format for this template. |
Key green::VariableTableTemplate::AddEntry | ( | const Name & | name, | |
Variable::Type | type, | |||
Variable::Value | value | |||
) | [inline] |
A convenience function for adding a variable template
name | The name of the variable | |
type | The type of the variable | |
defaultValue | The default value of the variable |
virtual void green::VariableTableTemplate::Print | ( | std::ostream & | os | ) | [inline, virtual] |
A nice Print function to print the contents of the table
os | The output ostream to print to. |
Reimplemented in green::BehaviorTemplate, and green::EntityTemplate.
InitFormatPtr green::VariableTableTemplate::mInitFormat [protected] |
This is the initializer list format