ICG 2
Electric Boogaloo
Public Member Functions | Public Attributes | List of all members
STLDeclInfo Class Referencefinal

Hold information about a field declaration. More...

#include <STLDeclInfo.hpp>

Inheritance diagram for STLDeclInfo:
ICGTemplateEngine::recursable

Public Member Functions

 STLDeclInfo ()
 
 STLDeclInfo (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...
 

Public Attributes

std::string name
 

Detailed Description

Hold information about a field declaration.

Constructor & Destructor Documentation

◆ STLDeclInfo() [1/2]

STLDeclInfo::STLDeclInfo ( )

◆ STLDeclInfo() [2/2]

STLDeclInfo::STLDeclInfo ( std::string  n)

Member Function Documentation

◆ nextLevel()

ICGTemplateEngine::ListTokenItems STLDeclInfo::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 STLDeclInfo::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 STLDeclInfo::toString ( ) const
overridevirtual

Get a string representation.

Returns
std::string

Implements ICGTemplateEngine::recursable.

Member Data Documentation

◆ name

std::string STLDeclInfo::name

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