|
|
||||||
|
faudes::TBaseVector< T > Class Template Reference
Detailed Descriptiontemplate<class T>
|
typedef std::vector<int>::size_type faudes::TBaseVector< T >::Position |
convenience typedef for positions
Definition at line 650 of file cfl_basevector.h.
faudes::TBaseVector< T >::TBaseVector | ( | void | ) |
Constructor.
Definition at line 707 of file cfl_basevector.h.
faudes::TBaseVector< T >::TBaseVector | ( | const TBaseVector< T > & | rOtherSet | ) |
Copy-constructor.
rOtherSet | Source to copy from |
Definition at line 725 of file cfl_basevector.h.
faudes::TBaseVector< T >::TBaseVector | ( | const vBaseVector & | rOtherSet | ) |
Copy-constructor. This version takes any vector as source, but throughs an exception, if element types dont match.
rOtherSet | Source to copy from |
Exception |
|
Definition at line 733 of file cfl_basevector.h.
faudes::TBaseVector< T >::TBaseVector | ( | const std::string & | rFilename, |
const std::string & | rLabel = "BaseVector" |
||
) |
Constructor from file.
rFilename | Name of File |
rLabel | Section for the set in the file; |
Definition at line 715 of file cfl_basevector.h.
|
virtual |
Virtual destructor
Definition at line 741 of file cfl_basevector.h.
|
virtual |
Access element.
pos | Specify entry to access |
Exception |
|
Reimplemented from faudes::vBaseVector.
Definition at line 788 of file cfl_basevector.h.
|
virtual |
Access element.
pos | Specify entry to access |
Exception |
|
Reimplemented from faudes::vBaseVector.
Definition at line 769 of file cfl_basevector.h.
|
protected |
Assignment method
Definition at line 760 of file cfl_basevector.h.
|
virtual |
Prototype for vector entries. This template class uses the virtual function to know its element type.
Reimplemented from faudes::vBaseVector.
Definition at line 747 of file cfl_basevector.h.
|
virtual |
Test whether the specified element is acceptebla for this vector. This is a convenience wrapper for Elementp.
rElement | Element to type check. |
Reimplemented from faudes::vBaseVector.
Definition at line 753 of file cfl_basevector.h.
bool faudes::Type::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.
rOther | Other objevt to compare with. |
Definition at line 83 of file cfl_types.cpp.
Type & faudes::Type::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.
rSrc | Source to copy from |
Definition at line 81 of file cfl_types.cpp.
bool faudes::Type::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.
rOther | Other object to compare with. |
Definition at line 82 of file cfl_types.cpp.
libFAUDES 2.33b --- 2025.05.07 --- c++ api documentaion by doxygen