libalcommon
2.1.4.13
|
ALMethodInfo is the introspection container. More...
#include "alcommon/almethodinfo.h"
Classes | |
class | ALExample |
ALExample is container for example. More... | |
class | ALParameterInfo |
ALParameterInfo is the introspection container. More... | |
class | ALParameterInfoOptional |
ALParameterInfoOptional is the option container. More... | |
Public Types | |
enum | methodOption { CPPMethod = 1, AsynchronousMethod = 2, localMethod = 4 } |
methodOption is differents option for the method. More... | |
Public Member Functions | |
ALMethodInfo () | |
Default constructor. More... | |
virtual | ~ALMethodInfo () |
Default destructor. More... | |
bool | isCpp (void) |
Check is the method is used for C++. More... | |
bool | isAsynchronous (void) |
Check is the method is used as asynchronous one. More... | |
bool | isLocalMethod (void) |
Check is the method is a local one. More... | |
void | addOption (int pOption) |
Add method option. More... | |
ALFunctorBase * | getFunction () |
Get a pointer to the method. More... | |
void | clear (void) |
Clear parameters and examples. More... | |
Public Attributes | |
std::string | moduleName |
std::string | methodName |
std::string | methodDescription |
std::vector< ALParameterInfo > | parameters |
std::string | returnValue |
std::vector< ALExample > | examples |
boost::shared_ptr< ALFunctorBase > | ptrOnMethod |
ALParameterInfo | returnInfo |
short | mask |
ALMethodInfo is the introspection container.
We store method description, return type, argument list, examples...
Definition at line 33 of file almethodinfo.h.
methodOption is differents option for the method.
Enumerator | |
---|---|
CPPMethod |
C++ method. |
AsynchronousMethod |
Asynchronous method. |
localMethod |
Local method. |
Definition at line 48 of file almethodinfo.h.
|
inline |
Default constructor.
Definition at line 37 of file almethodinfo.h.
|
inlinevirtual |
Default destructor.
Definition at line 42 of file almethodinfo.h.
|
inline |
|
inline |
Clear parameters and examples.
Definition at line 150 of file almethodinfo.h.
|
inline |
Get a pointer to the method.
Definition at line 143 of file almethodinfo.h.
|
inline |
Check is the method is used as asynchronous one.
Definition at line 118 of file almethodinfo.h.
|
inline |
Check is the method is used for C++.
Definition at line 110 of file almethodinfo.h.
|
inline |
Check is the method is a local one.
Definition at line 126 of file almethodinfo.h.
std::vector<ALExample> AL::ALMethodInfo::examples |
Method example.
Definition at line 100 of file almethodinfo.h.
short AL::ALMethodInfo::mask |
Method options.
Definition at line 103 of file almethodinfo.h.
std::string AL::ALMethodInfo::methodDescription |
Method description.
Definition at line 97 of file almethodinfo.h.
std::string AL::ALMethodInfo::methodName |
Method name.
Definition at line 96 of file almethodinfo.h.
std::string AL::ALMethodInfo::moduleName |
Module name.
Definition at line 95 of file almethodinfo.h.
std::vector<ALParameterInfo> AL::ALMethodInfo::parameters |
Method parameters.
Definition at line 98 of file almethodinfo.h.
boost::shared_ptr<ALFunctorBase> AL::ALMethodInfo::ptrOnMethod |
Pointer on the mehotd.
Definition at line 101 of file almethodinfo.h.
ALParameterInfo AL::ALMethodInfo::returnInfo |
Info about the return
Definition at line 102 of file almethodinfo.h.
std::string AL::ALMethodInfo::returnValue |
Method return value.
Definition at line 99 of file almethodinfo.h.