|
ICG 2
Electric Boogaloo
|
Hold information about a class declaration. More...
#include <ClassInfo.hpp>
Classes | |
| class | BaseInfo |
| Represent a base class. More... | |
Public Member Functions | |
| ClassInfo () | |
| ClassInfo (std::string n) | |
| ICGTemplateEngine::Dictionary | toDictionary () const override |
| Get a map of token name -> token value for this object. More... | |
| ICGTemplateEngine::ListTokenItems | nextLevel () const override |
| Get the value of any recursable objects nested in this one. May return empty if this is a "leaf". More... | |
| std::string | toString () const override |
| Get a string representation. More... | |
| std::unordered_set< std::string > | getStlMembers () const |
Public Attributes | |
| std::string | name |
| std::vector< FieldInfo > | fields |
| std::vector< BaseInfo > | base_classes |
| std::vector< std::string > | template_args |
Hold information about a class declaration.
| ClassInfo::ClassInfo | ( | ) |
| ClassInfo::ClassInfo | ( | std::string | n | ) |
| std::unordered_set< std::string > ClassInfo::getStlMembers | ( | ) | const |
|
overridevirtual |
Get the value of any recursable objects nested in this one. May return empty if this is a "leaf".
Implements ICGTemplateEngine::recursable.
|
overridevirtual |
Get a map of token name -> token value for this object.
Implements ICGTemplateEngine::recursable.
|
overridevirtual |
| std::vector<BaseInfo> ClassInfo::base_classes |
| std::vector<FieldInfo> ClassInfo::fields |
| std::string ClassInfo::name |
| std::vector<std::string> ClassInfo::template_args |