|
ICG 2
Electric Boogaloo
|
#include <TypeDictionary.hpp>
Public Member Functions | |
| TypeDictionary () | |
| std::shared_ptr< const DataType > | lookup (std::string typeName) |
| void | addTypeDefinition (std::string name, DataType *typeSpec) |
| bool | validate (DataTypeInator *dataTypeInator) |
| Validate all types in this dictionary. More... | |
| std::string | toString () |
| ~TypeDictionary () | |
| void | addBuiltinTypes () |
Stores name / typespecifier pairs.
| TypeDictionary::TypeDictionary | ( | ) |
| TypeDictionary::~TypeDictionary | ( | ) |
Destructor.
| void TypeDictionary::addBuiltinTypes | ( | ) |
| void TypeDictionary::addTypeDefinition | ( | std::string | name, |
| DataType * | typeSpec | ||
| ) |
Add a type definiton to the dictionary.
| std::shared_ptr< const DataType > TypeDictionary::lookup | ( | std::string | typeName | ) |
Get the DataType of the for the typedef'ed name.
| std::string TypeDictionary::toString | ( | ) |
Dump the entire TypeDictionary to a std::string.
| bool TypeDictionary::validate | ( | DataTypeInator * | dataTypeInator | ) |
Validate all types in this dictionary.
| dataTypeInator | overarching manager |