|
|
||||||
|
faudes::ExtType Class Reference Detailed DescriptionThis class extends the base Type by common features worthwhile for "large objects", e.g., object name, a cache for the regsitry record and convenience access wrappers. Definition at line 1110 of file cfl_types.h.
Constructor & Destructor Documentation◆ ExtType() [1/2]
Constructor Definition at line 413 of file cfl_types.cpp. ◆ ExtType() [2/2]
Copy constructor Definition at line 416 of file cfl_types.cpp. ◆ ~ExtType()
Destructor Definition at line 419 of file cfl_types.cpp. Member Function Documentation◆ ElementTag() [1/2]
Configure the element name tag. This method allows to overwrite the tag used for elements in XML IO. For usual, you will register derived classes with the run-time-interface and set the elemen tag for XML IO.
Definition at line 476 of file cfl_types.cpp. ◆ ElementTag() [2/2]
Get the element name tag. Tags used for XML IO when eriting elements of a container class. This is either the deribeved class default of found in the registry.
Definition at line 459 of file cfl_types.cpp. ◆ ElementType()
Get the element type. This should be found in the registry.
Definition at line 482 of file cfl_types.cpp. ◆ Name() [1/2]
Set objects name
Reimplemented from faudes::Type. Definition at line 427 of file cfl_types.cpp. ◆ Name() [2/2]
Get objects name
Reimplemented from faudes::Type. Reimplemented in faudes::Executor. Definition at line 422 of file cfl_types.cpp. ◆ operator!=()
Test equality of configuration data. See operator==(const Type&). This method calls the virtual method DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 1064 of file cfl_types.cpp. ◆ operator=()
Assign configurationdata from other object. Derived classes should implement the operator form for the assignment for each source type which allows for a non-trivial assignment. This includes the particular case were the source and destination types match exactly. In the latter case the DoAssign method should be invoked. In contrast to the Assign function, the operator form must not be reimplemented for missmatched source types: the operator form only accepts sensible source types. This allows for compiletime typeckecking. However, the downside is that when the type is not known at compiletime, configuration is not properly assigned. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 1062 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 methoc calls the virtual method DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 1063 of file cfl_types.cpp. ◆ TypeDefinitionp()
Get registry record Returns nullptr if not registered
Reimplemented from faudes::Type. Definition at line 433 of file cfl_types.cpp. ◆ TypeName() [1/2]
Overwrite faudes-type name. This method is used to overwrite the faudes-type identifyer to account for unregistered classe/
Definition at line 454 of file cfl_types.cpp. ◆ TypeName() [2/2]
Get objects's type name. Retrieve the faudes-type name from the type registry.
Reimplemented from faudes::Type. Definition at line 443 of file cfl_types.cpp. Member Data Documentation◆ mElementTag
Current/cached name of elements (use protected accessor methods for caching) Definition at line 1222 of file cfl_types.h. ◆ mElementTagDef
Defauft name of elements (if not over written manually or by registry) Definition at line 1230 of file cfl_types.h. ◆ mElementType
Current/cached name of elements (use protected accessor methods for caching) Definition at line 1227 of file cfl_types.h. ◆ mFaudesTypeName
Current/cached faudes type-name Definition at line 1219 of file cfl_types.h. ◆ mObjectName
object name Definition at line 1233 of file cfl_types.h. ◆ pTypeDefinition
TypeDefinition cache (should use guarded pointer here) Definition at line 1216 of file cfl_types.h. The documentation for this class was generated from the following files: libFAUDES 2.33h --- 2025.06.18 --- c++ api documentaion by doxygen |