Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Method0< T, C > Class Template Reference

#include <elm/rtti/Class.h>

+ Inheritance diagram for Method0< T, C >:

Public Types

typedef T(C::* fun_t) (void)
 
- Public Types inherited from Operation
enum  kind_t {
  NONE, CONSTRUCTOR, METHOD, STATIC,
  ITER
}
 

Public Member Functions

 Method0 (cstring name, fun_t f)
 
Variant call (const Vector< Variant > &args) const override
 
- Public Member Functions inherited from Operation
 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 TypereturnType (void) const
 
const List< Parameter > & parameters (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from Operation
void add (const Parameter &param)
 

Member Typedef Documentation

◆ fun_t

typedef T(C::* fun_t(void)

Constructor & Destructor Documentation

◆ Method0()

Method0 ( cstring  name,
fun_t  f 
)
inline

Member Function Documentation

◆ call()

Variant call ( const Vector< Variant > &  args) const
inlineoverridevirtual

TODO

Reimplemented from Operation.

References elm::rtti::__call_method0().


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