this class describes a general container of values of type T where implemented class is I
More...
|
| virtual tMemSize | getMemorySize () const override |
| | return the memory size of the class and the memory size of all its attributes/associations More...
|
| |
| void | setSize (const tIndex &n) |
| | set the size of the container More...
|
| |
| tIndex | getSize () const |
| | return the size of the container More...
|
| |
|
void | resize (const tIndex &n) |
| | modify the size of the array and keep its old values
|
| |
| const T & | operator[] (const tIndex &i) const |
| | get the i-th element for reading. Do not verify the bounds More...
|
| |
| T & | operator[] (const tIndex &i) |
| | get the i-th element for writting. Do not verify the bounds More...
|
| |
| constexpr auto | cbegin () const |
| | return begin iterator for reading More...
|
| |
| constexpr auto | cend () const |
| | return end iterator for reading More...
|
| |
| auto | begin () |
| | return begin iterator for writing More...
|
| |
| auto | end () |
| | return end iterator for writing More...
|
| |
| auto | rbegin () |
| | return reverse begin iterator for writing More...
|
| |
| auto | rend () |
| | return reverse end iterator for writing More...
|
| |
| constexpr auto | crbegin () const |
| | return reverse begin iterator for reading More...
|
| |
| constexpr auto | crend () const |
| | return reverse end iterator for reading More...
|
| |
| template<typename LambdaFct > |
| void | transform (LambdaFct &&F) |
| | transform the transform element with the lambda function Ti = F(Ti) More...
|
| |
| tString | getDataTypeName () const |
| | get the type of data More...
|
| |
| virtual tString | toString () const override |
| | return the string representation of the object node More...
|
| |
| template<class T > |
| std::shared_ptr< T > | getSharedPointer () |
| | return the shared pointer for this More...
|
| |
| template<class T > |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| | return a const shared pointer for this More...
|
| |
| virtual tMemSize | getContentsMemorySize () const |
| | return nthe memory size of the included associations More...
|
| |
| template<class T > |
| tBoolean | isInstanceOf () const |
| | test if the clas T is an instance of this class More...
|
| |
| tString | getClassName () const |
| | return the name of the class More...
|
| |
| tString | getPointerString () const |
| | retrun the pointer of the class as a string More...
|
| |
| tString | getIdentityString () const |
| | retrun the string identification of the class More...
|
| |
template<typename T, class I>
class CORE_Collection< T, I >
this class describes a general container of values of type T where implemented class is I
Class I must implement the folowing static polymorphic methods:
- For allocation methods:
- void setSize(const tIndex)
- tIndex getSize() const
- void resize(const tIndex)
- For accessor operators:
- const T& operator[const tIndex] const
- T& operator[const tIndex]*
- For accessor iterators:
- For transform methods:
template<typename T , class I >
return the memory size of the class and the memory size of all its attributes/associations
- Returns
- the memory size of the class and the memory size of its attributes/associations in bytes 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo
Reimplemented from CORE_Object.
Reimplemented in OMP_ValField< T, K, D >, OMP_ValArray< T >, OMP_PtrField< T, K, D >, OMP_PtrArray< T >, CORE_VectorList< T, I >, CORE_VectorList< tString, CORE_StringsList >, CORE_ValArray< T, I >, CORE_ValArray< T, CORE_StdValArray< T > >, CORE_ValArray< T, OMP_ValArray< T > >, CORE_StringsList, CORE_StdValField< T, K, D >, CORE_StdValArray< T >, CORE_StdPtrField< T, K, D >, CORE_StdPtrArray< T >, CORE_PtrArray< T, I >, CORE_PtrArray< T, CORE_StdPtrArray< T > >, CORE_PtrArray< T, OMP_PtrArray< T > >, CORE_List< T, K, I >, CORE_List< T, tIndex, I >, CORE_Field< T, K, D, S, I >, CORE_Field< T, K, D, OMP_ValArray< T >, OMP_ValField< T, K, D > >, CORE_Field< T, K, D, OMP_PtrArray< T >, OMP_PtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdPtrArray< T >, CORE_StdPtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdValArray< T >, CORE_StdValField< T, K, D > >, CORE_Array< T, I >, SM_Field< T, K, D >, and SM_Field< tReal, tDimension, SM_Constants::DIM >.
template<typename T , class I >
return the string representation of the object node
- Returns
- the string representation of the object node
Reimplemented from CORE_Object.
Reimplemented in CORE_Field< T, K, D, S, I >, CORE_Field< T, K, D, OMP_ValArray< T >, OMP_ValField< T, K, D > >, CORE_Field< T, K, D, OMP_PtrArray< T >, OMP_PtrField< T, K, D > >, CORE_Field< T, K, D, CORE_StdPtrArray< T >, CORE_StdPtrField< T, K, D > >, and CORE_Field< T, K, D, CORE_StdValArray< T >, CORE_StdValField< T, K, D > >.