| |
libFAUDES
Sections
Index
|
faudes::Signature Class Reference#include <rtifncts.h>
Inherits faudes::Type.
Detailed DescriptionSignature of a Function.A 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+ </Parameters> </Signature> Technical note: the variable parameter feature offered by FunctionDefinition is a purely cosmetic hack implemented in FunctionDefinition:MergeDocumentation. Definition at line 148 of file rtifncts.h.
Constructor & Destructor Documentation
Member Function Documentation
Return signature name.
Reimplemented from faudes::Type. Definition at line 50 of file rtifncts.cpp.
Set signature name.
Reimplemented from faudes::Type. Definition at line 55 of file rtifncts.cpp.
Get parameter type by position.
Definition at line 65 of file rtifncts.cpp.
Append positional parameter.
Definition at line 77 of file rtifncts.cpp.
Read signature from from TokenReader. The section is hardcoded to "Signature", context is ignored.
Reimplemented from faudes::Type. Definition at line 115 of file rtifncts.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 84 of file rtifncts.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: |
libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6