|
C++ mpi module for stochmagnet_main Package
|
this class describes an array of dynamical size with implementation of method defined in CORE_TBaseArray More...
#include <CORE_StringsList.h>


Public Member Functions | |
| CORE_StringsList () | |
| build an instance of class | |
| CORE_StringsList (const std::initializer_list< tString > &list) | |
| build a copy of list More... | |
| CORE_StringsList (std::initializer_list< tString > &&list) | |
| build a copy of list More... | |
| CORE_StringsList (const tIndex &n) | |
| build an array of size n More... | |
| virtual | ~CORE_StringsList () |
| destroy the instance this | |
| virtual CORE_UniquePointer< CORE_List< tString, tIndex, CORE_StringsList > > | newInstance () const override |
| create a New instance within an unique smart pointer More... | |
| virtual tMemSize | getMemorySize () const override |
| return the memory size of the class and the memory size of all its attributes/associations More... | |
| virtual tMemSize | getContentsMemorySize () const override |
| return nthe memory size of the included associations More... | |
| CORE_StringsList & | operator= (const std::initializer_list< tString > &values) |
| initialize the array to the values of list More... | |
| CORE_StringsList & | operator= (std::initializer_list< tString > &&values) |
| initialize the array to the values of list More... | |
Public Member Functions inherited from CORE_VectorList< tString, CORE_StringsList > | |
| void | setSize (const tIndex &n) |
| set the size of the container More... | |
| tIndex | getSize () const |
| return the size of the container More... | |
| const tString & | operator[] (const tIndex &i) const |
| get the i-th element for reading. Do not verify the bounds More... | |
| tString & | 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... | |
| void | copy (const Self &cpy) |
| copy the container More... | |
| void | copy (Self &&cpy) |
| copy the conatiner : mv is destroyed after this More... | |
| void | copy (const std::initializer_list< tString > &vs) |
| initialize the array to the values of list More... | |
| void | copy (std::initializer_list< tString > &&vs) |
| initialize the array to the values of list More... | |
| std::vector< tString > & | getValues () |
| return the values of the list More... | |
| const std::vector< tString > & | getValues () const |
| return the values of the list More... | |
| tString | getDataTypeName () const |
| get the type of data More... | |
| void | transform (LambdaFct &&F) |
| transform the transform element with the lambda function Ti = F(Ti) More... | |
| void | transform (LambdaFct &&F, const Self &X) |
| transform the transform element with the lambda function Ti = F(Xi) More... | |
| void | transform (LambdaFct &&F, const Self &X, const Self &Y) |
| transform the transform element with the lambda function Ti = F(Xi,Yi) More... | |
| void | directionalSort (const tUChar &order) |
| sort the element More... | |
Public Member Functions inherited from CORE_List< T, K, I > | |
| const T & | operator[] (const K &i) const |
| get the i-th element for reading. Do not verify the bounds More... | |
| T & | operator[] (const K &i) |
| get the i-th element for writting. Do not verify the bounds More... | |
| tString | getDataTypeName () const |
| get the type of data More... | |
| void | sort () |
| sort the list in the incresing order | |
| void | directionalSort (const tUChar &order) |
| sort the element More... | |
Public Member Functions inherited from CORE_Collection< T, I > | |
| 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... | |
Public Member Functions inherited from CORE_Object | |
| 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... | |
| 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... | |
Static Public Member Functions | |
| static CORE_UniquePointer< CORE_StringsList > | New () |
| return a unique pointer of the class More... | |
Static Public Member Functions inherited from CORE_VectorList< tString, CORE_StringsList > | |
| static void | Copy (const std::valarray< tString > &X, std::vector< tString > &R) |
| copy the array More... | |
| static void | Copy (const std::initializer_list< tString > &X, std::vector< tString > &R) |
| copy the array R=X More... | |
| static void | Copy (std::initializer_list< tString > &&X, std::vector< tString > &R) |
| copy the array R=X More... | |
| static void | Copy (const std::vector< Q > &X, std::vector< tString > &R) |
| copy the array R=X More... | |
| static void | Copy (const std::vector< tString > &X, std::vector< tString > &R) |
| copy the array More... | |
| static void | Copy (const tIndex &n, const Q *X, std::vector< tString > &R) |
| copy the array More... | |
Static Public Member Functions inherited from CORE_Object | |
| static tBoolean | EnableMemoryStack (const tBoolean &isMemoryChecked) |
| enable the memory stack More... | |
| static void | EnableMemoryStack () |
| enable the memory stack | |
| static void | DisableMemoryStack () |
| disable the memory stack | |
| static tBoolean | IsMemoryStackEnabled () |
| return trur if the memory stack is enabled | |
| static tString | MemoryStackToString () |
| get the memory stack in string More... | |
| static tIndex | GetRegisteredClassesNumber () |
| get the memory stack in string More... | |
Additional Inherited Members | |
Protected Member Functions inherited from CORE_VectorList< tString, CORE_StringsList > | |
| CORE_VectorList () | |
| build a list | |
| CORE_VectorList (const tIndex &n) | |
| build a list of size n | |
| virtual | ~CORE_VectorList () |
| destroy the instance of class | |
Protected Member Functions inherited from CORE_List< T, K, I > | |
| CORE_List () | |
| build an array of T* | |
| virtual | ~CORE_List () |
| destroy an array of T* | |
Protected Member Functions inherited from CORE_Collection< T, I > | |
| CORE_Collection () | |
| build an array of T* | |
| virtual | ~CORE_Collection () |
| destroy an array of T* | |
Protected Member Functions inherited from CORE_Object | |
| CORE_Object () | |
| build an instance of the object | |
| virtual | ~CORE_Object () |
| destroy the instance of object std | |
this class describes an array of dynamical size with implementation of method defined in CORE_TBaseArray
the memory location is allocated in the heap.
|
inline |
build a copy of list
| [in] | list | : initializer list |
|
inline |
build a copy of list
| [in] | list | : initializer list |
|
inlineexplicit |
build an array of size n
| [in] | n | size of the array |
|
inlineoverridevirtual |
return nthe memory size of the included associations
Reimplemented from CORE_VectorList< tString, CORE_StringsList >.
|
inlineoverridevirtual |
return the memory size of the class and the memory size of all its attributes/associations
Reimplemented from CORE_VectorList< tString, CORE_StringsList >.
|
inlinestatic |
return a unique pointer of the class
|
inlineoverridevirtual |
create a New instance within an unique smart pointer
Implements CORE_List< T, K, I >.
|
inline |
initialize the array to the values of list
| [in] | values | : values of the array |
|
inline |
initialize the array to the values of list
| [in] | values | : values of the array |