Itasca C++ Interface
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
FlatArray< T > Class Template Reference

Public Types

typedef uint64 size_type
 Typedef to assist in STL compatibility.
 
typedef T * iterator
 Typedef to assist in STL compatibility.
 
typedef const T * const_iterator
 Typedef to assist in STL compatibility.
 

Public Member Functions

 FlatArray ()
 Default constructor - the array size is zero.
 
 FlatArray (size_type s, double fac=1.3)
 
 FlatArray (const FlatArray< T > &f)
 
 FlatArray (std::initializer_list< T > l)
 
const FlatArray< T > & operator= (const FlatArray< T > &f)
 
const size_typesize () const
 
const size_typeallocated () const
 
bool empty () const
 
T * data ()
 
const T * data () const
 
T & front ()
 
const T & front () const
 
T & back ()
 
const T & back () const
 
void push_back (const T &t)
 
T * emplace_back ()
 
void pop_back ()
 
void resize (size_type i, const T &t=T())
 
size_type removeReplaceLast (size_type i)
 
size_type removeReplaceLastClip (size_type i)
 
bool remove (size_type i)
 
size_type removeAll (const T &t)
 
void clear ()
 
void reset ()
 
void clip ()
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator constEnd () const
 
T & at (size_type i)
 
const T & at (size_type i) const
 
T & operator[] (size_type i)
 
const T & operator[] (size_type i) const
 

The documentation for this class was generated from the following file: