$search
#include <array_allocator.h>
Public Types | |
| typedef Base | BaseType |
| typedef Base | BaseType |
Public Member Functions | |
| _ArrayAllocator (int n=N) | |
| _ArrayAllocator (int n=N) | |
| const Base & | operator[] (int i) const |
| Base & | operator[] (int i) |
| const Base & | operator[] (int i) const |
| Base & | operator[] (int i) |
| const Base * | ptr () const |
| Base * | ptr () |
| const Base * | ptr () const |
| Base * | ptr () |
| int | size () const |
| int | size () const |
Static Public Attributes | |
| static const int | TemplateSize = N |
Protected Attributes | |
| Base | _svalues [N] |
This class implements a memory manager for a fixed size array of elements. It implements copy constructor, assigment and accessor to the elements via abracket operator
Definition at line 26 of file include/hogman_minimal/stuff/array_allocator.h.
| typedef Base _ArrayAllocator< N, Base >::BaseType |
Definition at line 23 of file src/stuff/array_allocator.h.
| typedef Base _ArrayAllocator< N, Base >::BaseType |
Definition at line 23 of file include/hogman_minimal/stuff/array_allocator.h.
| _ArrayAllocator< N, Base >::_ArrayAllocator | ( | int | n = N |
) | [inline] |
constructs a fized size vector whose type is Base of size N
Definition at line 26 of file include/hogman_minimal/stuff/array_allocator.h.
| _ArrayAllocator< N, Base >::_ArrayAllocator | ( | int | n = N |
) | [inline] |
constructs a fized size vector whose type is Base of size N
Definition at line 26 of file src/stuff/array_allocator.h.
| const Base& _ArrayAllocator< N, Base >::operator[] | ( | int | i | ) | const [inline] |
accessor to the ith element
Definition at line 44 of file src/stuff/array_allocator.h.
| Base& _ArrayAllocator< N, Base >::operator[] | ( | int | i | ) | [inline] |
const accessor to the ith element
Definition at line 41 of file src/stuff/array_allocator.h.
| const Base& _ArrayAllocator< N, Base >::operator[] | ( | int | i | ) | const [inline] |
accessor to the ith element
Definition at line 44 of file include/hogman_minimal/stuff/array_allocator.h.
| Base& _ArrayAllocator< N, Base >::operator[] | ( | int | i | ) | [inline] |
const accessor to the ith element
Definition at line 41 of file include/hogman_minimal/stuff/array_allocator.h.
| const Base* _ArrayAllocator< N, Base >::ptr | ( | ) | const [inline] |
const pointer to the storage base
Definition at line 38 of file src/stuff/array_allocator.h.
| Base* _ArrayAllocator< N, Base >::ptr | ( | ) | [inline] |
pointer to the storage base
Definition at line 35 of file src/stuff/array_allocator.h.
| const Base* _ArrayAllocator< N, Base >::ptr | ( | ) | const [inline] |
const pointer to the storage base
Definition at line 38 of file include/hogman_minimal/stuff/array_allocator.h.
| Base* _ArrayAllocator< N, Base >::ptr | ( | ) | [inline] |
pointer to the storage base
Definition at line 35 of file include/hogman_minimal/stuff/array_allocator.h.
| int _ArrayAllocator< N, Base >::size | ( | ) | const [inline] |
size of the storage
Definition at line 32 of file src/stuff/array_allocator.h.
| int _ArrayAllocator< N, Base >::size | ( | ) | const [inline] |
size of the storage
Definition at line 32 of file include/hogman_minimal/stuff/array_allocator.h.
Base _ArrayAllocator< N, Base >::_svalues [protected] |
Definition at line 46 of file include/hogman_minimal/stuff/array_allocator.h.
static const int _ArrayAllocator< N, Base >::TemplateSize = N [static] |
Definition at line 24 of file include/hogman_minimal/stuff/array_allocator.h.