ICG 2
Electric Boogaloo
Public Member Functions | Public Attributes | List of all members
ClassInfo::BaseInfo Class Reference

Represent a base class. More...

#include <ClassInfo.hpp>

Inheritance diagram for ClassInfo::BaseInfo:
ICGTemplateEngine::recursable

Public Member Functions

 BaseInfo (std::string name)
 
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...
 

Public Attributes

std::string name
 

Detailed Description

Represent a base class.

Constructor & Destructor Documentation

◆ BaseInfo()

ClassInfo::BaseInfo::BaseInfo ( std::string  name)

Member Function Documentation

◆ nextLevel()

ICGTemplateEngine::ListTokenItems ClassInfo::BaseInfo::nextLevel ( ) const
overridevirtual

Get the value of any recursable objects nested in this one. May return empty if this is a "leaf".

Returns
ListTokenItems std::map<std::string, std::vector<const recursable *>>

Implements ICGTemplateEngine::recursable.

◆ toDictionary()

ICGTemplateEngine::Dictionary ClassInfo::BaseInfo::toDictionary ( ) const
overridevirtual

Get a map of token name -> token value for this object.

Returns
Dictionary std::map<std::string, std::string>

Implements ICGTemplateEngine::recursable.

◆ toString()

std::string ClassInfo::BaseInfo::toString ( ) const
overridevirtual

Get a string representation.

Returns
std::string

Implements ICGTemplateEngine::recursable.

Member Data Documentation

◆ name

std::string ClassInfo::BaseInfo::name

The documentation for this class was generated from the following files: