![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/rtti/Type.h>
Public Member Functions | |
virtual | ~InstanceType (void) |
virtual const Type & | templ (void) const =0 |
virtual const List< const Type * > | params (void) const =0 |
const Type & | typeFor (const Type ¶m) const |
Type resulting from the instantiation of a template type.
|
virtual |
Get the list of actual parameter types.
Implemented in InstanceClass.
Referenced by InstanceType::typeFor().
Get the instantiated template type.
Implemented in InstanceClass.
Referenced by InstanceType::typeFor().
Get the actual type of a type involved in an instantiated type. If param is a parameter type, get the corresponding actual parameter type. Else return the type itself.
param | Type to process. |
References Type::asParam(), elm::count(), elm::io::p(), InstanceType::params(), and InstanceType::templ().