| |
|
|||||||
|
|
||||||||
|
faudes::Signature Class Reference 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 name="Sum of two integers">
</Signature>
Definition cfl_functions.h:45 Definition cfl_functions.h:220 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 220 of file cfl_functions.h.
Constructor & Destructor Documentation◆ Signature() [1/2]
Constructor Definition at line 152 of file cfl_functions.cpp. ◆ Signature() [2/2]
Copy constructor Definition at line 155 of file cfl_functions.cpp. ◆ ~Signature()
Destructor Definition at line 238 of file cfl_functions.h. Member Function Documentation◆ Append()
Append positional parameter.
Definition at line 223 of file cfl_functions.cpp. ◆ At() [1/2]
Get parameter type by position.
Definition at line 199 of file cfl_functions.cpp. ◆ At() [2/2]
Set parameter type by position.
Definition at line 211 of file cfl_functions.cpp. ◆ Clear()
◆ DoCopy()
Std faudes type interface: assignment.
Definition at line 161 of file cfl_functions.cpp. ◆ DoEqual()
Std faudes type interface: test equality
Definition at line 168 of file cfl_functions.cpp. ◆ DoRead()
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. ◆ DoWrite()
Write configuration data of this object to TokenWriter. The section is hardcoded to "Signature", context is ignored.
Reimplemented from faudes::Type. Definition at line 230 of file cfl_functions.cpp. ◆ Name() [1/2]
Set signature name.
Reimplemented from faudes::Type. Definition at line 189 of file cfl_functions.cpp. ◆ Name() [2/2]
Return signature name.
Reimplemented from faudes::Type. Definition at line 184 of file cfl_functions.cpp. ◆ operator!=()
Test equality of configuration data. See operator==(const Type&). This operator calls DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 434 of file cfl_types.cpp. ◆ operator=() [1/2]Copy configuration data from other object. Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 368 of file cfl_types.cpp. ◆ operator=() [2/2]Copy configuration data from other object (destructive) Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 383 of file cfl_types.cpp. ◆ operator==()
Test equality of configuration data. The operator form of the equality test is only defined for matching types, no cast will be performed. Thus, the test will be optimistic if the type is not known at compiletime. The object name or id is not considered in the test. This operator calls DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 418 of file cfl_types.cpp. ◆ Size()
Member Data Documentation◆ mName
Variable to store name Definition at line 358 of file cfl_functions.h. ◆ mParameters
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.34e --- 2026.03.16 --- c++ api documentaion by doxygen |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||