|
MADARA
3.4.1
|
This class stores a function definition. More...
#include <Functions.h>
Public Types | |
| enum | Types { UNINITIALIZED = 0 , EXTERN_UNNAMED = 1 , EXTERN_NAMED = 2 , KARL_EXPRESSION = 3 , PYTHON_CALLABLE = 4 , JAVA_CALLABLE = 5 , FUNCTOR = 6 } |
| Types of functions supported. More... | |
Public Member Functions | |
| Function () | |
| Default constructor. More... | |
| Function (boost::python::object &func) | |
| Constructor for function pointer. More... | |
| Function (const madara::expression::ExpressionTree &func) | |
| Constructor for KaRL expression. More... | |
| Function (const madara::knowledge::CompiledExpression &exp) | |
| Constructor for KaRL expression. More... | |
| Function (filters::RecordFilter *filter) | |
| Constructor for KaRL expression. More... | |
| Function (jobject &object) | |
| Constructor for java. More... | |
| Function (KnowledgeRecord(*func)(const char *, FunctionArguments &, Variables &)) | |
| Constructor for function pointer. More... | |
| Function (KnowledgeRecord(*func)(FunctionArguments &, Variables &)) | |
| Constructor for function pointer. More... | |
| bool | is_extern_named (void) const |
| bool | is_extern_unnamed (void) const |
| bool | is_functor (void) const |
| bool | is_java_callable (void) const |
| bool | is_karl_expression (void) const |
| bool | is_python_callable (void) const |
| bool | is_uninitialized (void) const |
Public Attributes | |
| knowledge::KnowledgeRecord(* | extern_named )(const char *, FunctionArguments &, Variables &) |
| knowledge::KnowledgeRecord(* | extern_unnamed )(FunctionArguments &, Variables &) |
| madara::expression::ExpressionTree | function_contents |
| filters::RecordFilter * | functor |
| jobject | java_object |
| boost::python::object | python_function |
| int | type |
This class stores a function definition.
Definition at line 45 of file Functions.h.
Types of functions supported.
| Enumerator | |
|---|---|
| UNINITIALIZED | |
| EXTERN_UNNAMED | |
| EXTERN_NAMED | |
| KARL_EXPRESSION | |
| PYTHON_CALLABLE | |
| JAVA_CALLABLE | |
| FUNCTOR | |
Definition at line 51 of file Functions.h.
|
inline |
Default constructor.
Definition at line 65 of file Functions.h.
|
inline |
Constructor for function pointer.
Definition at line 81 of file Functions.h.
|
inline |
Constructor for function pointer.
Definition at line 97 of file Functions.h.
|
inline |
Constructor for KaRL expression.
Definition at line 114 of file Functions.h.
|
inline |
Constructor for KaRL expression.
Definition at line 126 of file Functions.h.
|
inline |
Constructor for KaRL expression.
Definition at line 140 of file Functions.h.
|
inline |
Constructor for java.
Definition at line 201 of file Functions.h.
|
inline |
Constructor for function pointer.
Definition at line 220 of file Functions.h.
|
inline |
Definition at line 158 of file Functions.h.
|
inline |
Definition at line 153 of file Functions.h.
|
inline |
Definition at line 168 of file Functions.h.
|
inline |
Definition at line 209 of file Functions.h.
|
inline |
Definition at line 163 of file Functions.h.
|
inline |
Definition at line 235 of file Functions.h.
|
inline |
Definition at line 173 of file Functions.h.
| knowledge::KnowledgeRecord(* madara::knowledge::Function::extern_named) (const char *, FunctionArguments &, Variables &) |
Definition at line 179 of file Functions.h.
| knowledge::KnowledgeRecord(* madara::knowledge::Function::extern_unnamed) (FunctionArguments &, Variables &) |
Definition at line 183 of file Functions.h.
| madara::expression::ExpressionTree madara::knowledge::Function::function_contents |
Definition at line 187 of file Functions.h.
| filters::RecordFilter* madara::knowledge::Function::functor |
Definition at line 190 of file Functions.h.
| jobject madara::knowledge::Function::java_object |
Definition at line 196 of file Functions.h.
| boost::python::object madara::knowledge::Function::python_function |
Definition at line 240 of file Functions.h.
| int madara::knowledge::Function::type |
Definition at line 193 of file Functions.h.