| |
|
|||||||
|
|
||||||||
|
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Static Protected Attributes |
List of all members
faudes::Documentation Class Reference Detailed DescriptionStructure to hold documentation data relating to a faudes-type or -function. This class is the common base for faudes::TypeDefinition and faudes::FunctionDefinition. It supports token io as demonstrated by the follwoing example for a type defintion: <Documentation ref="generators.html#plain">
The common 5 tuple G=(Sigma, Q, delta, Qo, Qm).
Definition cfl_types.h:1334 Definition cfl_types.h:1673 Technical detail: Documentation is derived from Type for the purpose of token IO. We still implement the faudes type interface to make it a fully qualified faudes data type. Technical detail: To facilitate inheritance, token io of member data and token io of the section tags is separated. Definition at line 1334 of file cfl_types.h.
Constructor & Destructor Documentation◆ Documentation() [1/2]
Constructor Definition at line 543 of file cfl_types.cpp. ◆ Documentation() [2/2]
Copy constructor Definition at line 549 of file cfl_types.cpp. ◆ ~Documentation()
Destructor Definition at line 1353 of file cfl_types.h. Member Function Documentation◆ AddKeyword()
◆ ApplicationRegistered() [1/2]
Set application-registered flag. See also AutoRegistered(void)
Definition at line 605 of file cfl_types.cpp. ◆ ApplicationRegistered() [2/2]
Get application-registered flag.
Definition at line 596 of file cfl_types.cpp. ◆ AutoRegistered() [1/2]
Set auto-register flag. See also AutoRegistered(void)
Definition at line 604 of file cfl_types.cpp. ◆ AutoRegistered() [2/2]
Get auto-register flag. This flag indicated that the respective type was (will be) registered by a libFAUDES static initialisation protorype.
Definition at line 595 of file cfl_types.cpp. ◆ Clear()
Clear Reimplemented from faudes::Type. Reimplemented in faudes::LuaFunctionDefinition, faudes::FunctionDefinition, and faudes::TypeDefinition. Definition at line 577 of file cfl_types.cpp. ◆ CType() [1/2]
◆ CType() [2/2]
Get corresponding C++ type
Definition at line 591 of file cfl_types.cpp. ◆ DoCopy()
Std faudes type interface: assignment.
Definition at line 554 of file cfl_types.cpp. ◆ DoEqual()
Std faudes type interface: test equality
Definition at line 566 of file cfl_types.cpp. ◆ DoRead()
Read configuration data of this object from TokenReader. This virtual function reads documentation from a token stream. The section defaults to Documentation. It invokes DoReadCore to do the member data token reading.
Reimplemented from faudes::Type. Reimplemented in faudes::LuaFunctionDefinition, faudes::FunctionDefinition, and faudes::TypeDefinition. Definition at line 706 of file cfl_types.cpp. ◆ DoReadCore()
Read configuration data of this object from TokenReader. This virtual function reads documentation member data only. It does NOT read the enclosing begin and end tokens.
Reimplemented in faudes::LuaFunctionDefinition, faudes::FunctionDefinition, and faudes::TypeDefinition. Definition at line 757 of file cfl_types.cpp. ◆ DoWrite()
Write configuration data of this object to TokenWriter. This virtual function writes documentation to a token stream. The section defaults to Documentation. It invokes DoWriteCore to do the actual member data writing.
Reimplemented from faudes::Type. Reimplemented in faudes::LuaFunctionDefinition, faudes::FunctionDefinition, and faudes::TypeDefinition. Definition at line 835 of file cfl_types.cpp. ◆ DoWriteCore()
Write configuration data of this object to TokenWriter. This virtual function reads documentation members only. It does NOT write enclosing begin and end tokens.
Reimplemented in faudes::LuaFunctionDefinition, faudes::FunctionDefinition, and faudes::TypeDefinition. Definition at line 860 of file cfl_types.cpp. ◆ HtmlDoc() [1/2]
Set name of file pointing to the html documentation.
Definition at line 603 of file cfl_types.cpp. ◆ HtmlDoc() [2/2]
Definition at line 593 of file cfl_types.cpp. ◆ KeywordAt()
Definition at line 645 of file cfl_types.cpp. ◆ Keywords()
Definition at line 594 of file cfl_types.cpp. ◆ KeywordsSize()
◆ MatchKeyword()
Search comma-seperated keywords for a substring. This should be extended to regular expressions in a future release.
Definition at line 618 of file cfl_types.cpp. ◆ MergeDocumentation()
Merge documentation from token stream. An exception is thrown if the current type name differs from the one in the documentation.
Definition at line 684 of file cfl_types.cpp. ◆ Name() [1/2]
Set name.
Reimplemented from faudes::Type. Definition at line 599 of file cfl_types.cpp. ◆ Name() [2/2]
Get name of the entity to document (aka faudes-type or faudes-function).
Reimplemented from faudes::Type. Definition at line 589 of file cfl_types.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. ◆ PlugIn() [1/2]
◆ PlugIn() [2/2]
Get name of plugin. The plugin name defaults to CoreFaudes.
Definition at line 590 of file cfl_types.cpp. ◆ TextDoc() [1/2]
Set a short textual documentation.
Definition at line 602 of file cfl_types.cpp. ◆ TextDoc() [2/2]
Definition at line 592 of file cfl_types.cpp. Member Data Documentation◆ mApplicationRegistered
Flag to indicate application registration Definition at line 1650 of file cfl_types.h. ◆ mAutoRegistered
Flag to indicate automated registration Definition at line 1647 of file cfl_types.h. ◆ mCType
Corresponing C++ type, or "" if no such. Definition at line 1632 of file cfl_types.h. ◆ mDelim
Constant characted used to seperate keywords Definition at line 1644 of file cfl_types.h. ◆ mHtmlDoc
String containing the filename of the corresponding html-documentation. Definition at line 1638 of file cfl_types.h. ◆ mKeywords
Comma-seperated string containing all keywords. Definition at line 1641 of file cfl_types.h. ◆ mName
Faudes name. Definition at line 1626 of file cfl_types.h. ◆ mPlugIn
Faudes plugin. Definition at line 1629 of file cfl_types.h. ◆ mTextDoc
String containing the text-documentation. Definition at line 1635 of file cfl_types.h. The documentation for this class was generated from the following files: libFAUDES 2.34e --- 2026.03.16 --- c++ api documentaion by doxygen |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||