ICG 2
Electric Boogaloo
Public Member Functions | List of all members
TypeDefDictionary Class Reference

Manage typedef statements. More...

#include <TypeDefDictionary.hpp>

Public Member Functions

bool registerTypedef (std::string typedefed_name, std::string canonical_name)
 Register a typedef statement. More...
 
std::string lookupCanonicalName (std::string name)
 Look up the canonical name in the dictionary. If the name is not registered, just return the argument. More...
 
void addDefaults ()
 Populate this dicionary with defaults. Currently, only std::string -> std::basic_string<char> More...
 

Detailed Description

Manage typedef statements.

Member Function Documentation

◆ addDefaults()

void TypeDefDictionary::addDefaults ( )

Populate this dicionary with defaults. Currently, only std::string -> std::basic_string<char>

◆ lookupCanonicalName()

std::string TypeDefDictionary::lookupCanonicalName ( std::string  name)

Look up the canonical name in the dictionary. If the name is not registered, just return the argument.

Parameters
nametype name to look up
Returns
std::string canonical name of type

◆ registerTypedef()

bool TypeDefDictionary::registerTypedef ( std::string  typedefed_name,
std::string  canonical_name 
)

Register a typedef statement.

Parameters
typedefed_namealias name
canonical_namefully resolved canonical name

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