Go to the documentation of this file.
41 public std::list<T, std::allocator<T> >
48 using listType = std::list<T,std::allocator<T>>;
58 using initList =
typename std::initializer_list<T>;
99 List(
size_t len,
const T& value)
127 return makeUnique<ListType>(*
this);
150 auto pos(
size_t i,
bool noError =
false);
153 const auto pos(
size_t i,
bool noError =
false)
const;
178 bool search(
const T& val)
const;
182 void set(
size_t i,
const T& val);
186 void set(
size_t i, T&& val);
210 iOstream&
operator << (iOstream& os,
const List<T>& lst );
239 #endif //__List_hpp__
ListType * clonePtr() const
typename std::initializer_list< std::any > initList
List(size_t len, const T &value)
TypeInfoTemplateNV11("List", T)
void set(size_t i, const T &val)
bool search(const T &val) const
typename listType::const_iterator const_iterator
const_iterator find(const T &val) const
int32 countElement(const T &elm) const
uniquePtr< ListType > clone() const
int32 findi(const T &val) const
Interface class for any input stream
typename listType::const_reference const_reference
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
bool write(iOstream &os) const
typename listType::iterator iterator
static size_t getListStride(const size_t &len)
typename listType::reference reference
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
bool writeList(iOstream &os) const
bool readList(iIstream &is)
auto pos(size_t i, bool noError=false)
std::list< std::any, std::allocator< std::any > > listType
Interface class for any output stream.
ListType & operator=(const ListType &rhs)=default