Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/rtti/Class.h>
Public Types | |
enum | kind_t { NONE, CONSTRUCTOR, METHOD, STATIC, ITER } |
Public Member Functions | |
Operation (kind_t kind, cstring name, const Type &rtype=void_type) | |
Operation (kind_t kind, cstring name, const List< Parameter > &pars, const Type &rtype=void_type) | |
virtual | ~Operation (void) |
kind_t | kind (void) const |
cstring | name (void) const |
const Type & | returnType (void) const |
const List< Parameter > & | parameters (void) const |
virtual Variant | call (const Vector< Variant > &args) const |
Protected Member Functions | |
void | add (const Parameter ¶m) |
enum kind_t |
Operation | ( | kind_t | kind, |
cstring | name, | ||
const List< Parameter > & | pars, | ||
const Type & | rtype = void_type |
||
) |
Referenced by Constructor1< T, T1 >::Constructor1(), Constructor2< T, T1, T2 >::Constructor2(), Method0< T, C >::Method0(), Method0Const< T, C >::Method0Const(), Method1< T, C, T1 >::Method1(), Method1Const< T, C, T1 >::Method1Const(), Method2< T, C, T1, T2 >::Method2(), Method2Const< T, C, T1, T2 >::Method2Const(), Static1< T, T1 >::Static1(), and Static2< T, T1, T2 >::Static2().
TODO
Reimplemented in Method2Const< T, C, T1, T2 >, Method2< T, C, T1, T2 >, Method1Const< T, C, T1 >, Method1< T, C, T1 >, Method0Const< T, C >, Method0< T, C >, Static2< T, T1, T2 >, Static1< T, T1 >, Static0< T >, Constructor2< T, T1, T2 >, Constructor1< T, T1 >, Constructor0< T >, IterIterator< T, I, O >, and CollectionIterator< C, O >.