libalcommon
2.0.6.8
|
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. | |
virtual | ~ALMethodInfo () |
Default destructor. | |
bool | isCpp (void) |
Check is the method is used for C++. | |
bool | isAsynchronous (void) |
Check is the method is used as asynchronous one. | |
bool | isLocalMethod (void) |
Check is the method is a local one. | |
void | addOption (int pOption) |
Add method option. | |
ALFunctorBase * | getFunction () |
Get a pointer to the method. | |
void | clear (void) |
Clear parameters and examples. | |
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.
Definition at line 48 of file almethodinfo.h.
AL::ALMethodInfo::ALMethodInfo | ( | ) | [inline] |
Default constructor.
Definition at line 37 of file almethodinfo.h.
virtual AL::ALMethodInfo::~ALMethodInfo | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 42 of file almethodinfo.h.
void AL::ALMethodInfo::addOption | ( | int | pOption | ) | [inline] |
void AL::ALMethodInfo::clear | ( | void | ) | [inline] |
Clear parameters and examples.
Definition at line 150 of file almethodinfo.h.
ALFunctorBase* AL::ALMethodInfo::getFunction | ( | ) | [inline] |
Get a pointer to the method.
Definition at line 143 of file almethodinfo.h.
bool AL::ALMethodInfo::isAsynchronous | ( | void | ) | [inline] |
Check is the method is used as asynchronous one.
Definition at line 118 of file almethodinfo.h.
bool AL::ALMethodInfo::isCpp | ( | void | ) | [inline] |
Check is the method is used for C++.
Definition at line 110 of file almethodinfo.h.
bool AL::ALMethodInfo::isLocalMethod | ( | void | ) | [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.
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.