|
libFAUDES
Sections
Index
|
faudes::Signature Class ReferenceSignature of a Function. More...
Detailed DescriptionA Signature describes the faudes types of the positional parameters. Tecnically, a Signature is a vector of Parameters. Each Function may execute serveral variants indicated by setting a particular Signature. A list of valid Signatures is maintained in the coresponding FunctionDefinition. Core members are
The Signature is formally derived from Type to inherit the std token io interface. It is not meant to be registered as a faudes type. The token io format is demonstrated by the following example: <Signature> "Sum of two integers" <Parameters> "arg1" "Integer" +InOut+ "arg2" "Integer" +In+ "result" "String" +Out+ +CReturn+ </Parameters> </Signature> Technical note: the variable parameter feature offered by FunctionDefinition is a purely cosmetic hack implemented in FunctionDefinition:MergeDocumentation. It is superseeded by vector parameters and will hence disappear in a future implementation. Definition at line 223 of file cfl_functions.h. Constructor & Destructor Documentation
Constructor. Definition at line 147 of file cfl_functions.cpp.
Copy constructor. Definition at line 150 of file cfl_functions.cpp.
Destructor. Definition at line 237 of file cfl_functions.h. Member Function Documentation
Append positional parameter.
Definition at line 220 of file cfl_functions.cpp.
Set parameter type by position.
Definition at line 208 of file cfl_functions.cpp.
Get parameter type by position.
Definition at line 196 of file cfl_functions.cpp.
Std faudes type interface: assignment.
Definition at line 156 of file cfl_functions.cpp.
Std faudes type interface: test equality.
Definition at line 165 of file cfl_functions.cpp.
Read signature from from TokenReader. The section is hardcoded to "Signature", context is ignored.
Reimplemented from faudes::Type. Definition at line 259 of file cfl_functions.cpp.
Write configuration data of this object to TokenWriter. The section is hardcoded to "Signature", context is ignored.
Reimplemented from faudes::Type. Definition at line 227 of file cfl_functions.cpp.
Set signature name.
Reimplemented from faudes::Type. Definition at line 186 of file cfl_functions.cpp.
Return signature name.
Reimplemented from faudes::Type. Definition at line 181 of file cfl_functions.cpp.
Member Data Documentation
Variable to store name. Reimplemented from faudes::Type. Definition at line 358 of file cfl_functions.h.
Vector of Parameter-objects. Definition at line 361 of file cfl_functions.h. The documentation for this class was generated from the following files: |
libFAUDES 2.16b --- 2010-9-8 --- c++ source docu by doxygen 1.6.3