1 #ifndef CORE_StringsList_H
2 #define CORE_StringsList_H
4 #include "CORE_VectorList.h"
65 static inline CORE_UniquePointer<CORE_StringsList>
New() {
73 virtual CORE_UniquePointer<CORE_List<tString,tIndex,CORE_StringsList>>
newInstance()
const override {
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
this class describes an array of dynamical size with implementation of method defined in CORE_TBaseAr...
Definition: CORE_StringsList.h:12
static CORE_UniquePointer< CORE_StringsList > New()
return a unique pointer of the class
Definition: CORE_StringsList.h:65
virtual ~CORE_StringsList()
destroy the instance this
Definition: CORE_StringsList.h:51
CORE_StringsList(const tIndex &n)
build an array of size n
Definition: CORE_StringsList.h:39
CORE_StringsList(const std::initializer_list< tString > &list)
build a copy of list
Definition: CORE_StringsList.h:26
CORE_StringsList & operator=(const std::initializer_list< tString > &values)
initialize the array to the values of list
Definition: CORE_StringsList.h:113
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: CORE_StringsList.h:98
virtual CORE_UniquePointer< CORE_List< tString, tIndex, CORE_StringsList > > newInstance() const override
create a New instance within an unique smart pointer
Definition: CORE_StringsList.h:73
virtual tMemSize getMemorySize() const override
return the memory size of the class and the memory size of all its attributes/associations
Definition: CORE_StringsList.h:87
CORE_StringsList(std::initializer_list< tString > &&list)
build a copy of list
Definition: CORE_StringsList.h:32
CORE_StringsList & operator=(std::initializer_list< tString > &&values)
initialize the array to the values of list
Definition: CORE_StringsList.h:120
CORE_StringsList()
build an instance of class
Definition: CORE_StringsList.h:21
this class describes a list K -> T whre I is the implemented class
Definition: CORE_VectorList.h:12
void copy(const Self &cpy)
copy the container
Definition: CORE_VectorList.h:205
constexpr auto cend() const
return end iterator for reading
Definition: CORE_VectorList.h:136
constexpr auto cbegin() const
return begin iterator for reading
Definition: CORE_VectorList.h:130
virtual tMemSize getContentsMemorySize() const override
return the memory size of the included associations
Definition: CORE_VectorList.h:65