DeSiGNAR
0.5a
Data Structures General Library
|
#include <array.H>
Classes | |
class | Iterator |
Public Types | |
using | ItemType = T |
using | KeyType = T |
using | DataType = T |
using | ValueType = T |
using | SizeType = nat_t |
Public Member Functions | |
nat_t | item_to_pos (T &item) |
FixedArray () | |
FixedArray (nat_t c) | |
FixedArray (nat_t c, const T &init_value) | |
FixedArray (const FixedArray &a) | |
FixedArray (FixedArray &&a) | |
FixedArray (const std::initializer_list< T > &) | |
~FixedArray () | |
FixedArray & | operator= (const FixedArray &a) |
FixedArray & | operator= (FixedArray &&a) |
void | swap (FixedArray &a) |
void | resize (nat_t) |
nat_t | get_capacity () const |
nat_t | size () const |
T & | at (nat_t i) |
const T & | at (nat_t i) const |
T & | operator[] (nat_t i) |
const T & | operator[] (nat_t i) const |
Iterator | begin () |
Iterator | begin () const |
Iterator | end () |
Iterator | end () const |
using Designar::FixedArray< T >::DataType = T |
using Designar::FixedArray< T >::ItemType = T |
using Designar::FixedArray< T >::KeyType = T |
using Designar::FixedArray< T >::SizeType = nat_t |
using Designar::FixedArray< T >::ValueType = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Designar::FixedArray< T >::FixedArray | ( | const std::initializer_list< T > & | l | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Designar::FixedArray< T >::resize | ( | nat_t | c | ) |
|
inline |
|
inline |