|
FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Provides a generic fixed-size array of items. More...
#include <cpptools/fixed_array.h>
Public Types | |
| typedef T * | pointer |
| typedef T & | reference |
| typedef T | value_type |
| typedef unsigned | size_type |
| typedef const T * | const_pointer |
| typedef const T & | const_reference |
| typedef std::ptrdiff_t | difference_type |
| typedef std::random_access_iterator_tag | iterator_category |
| typedef T * | iterator |
| typedef const T * | const_iterator |
Public Member Functions | |
| FixedArray () | |
| FixedArray (const Self_t &other) | |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
| bool | empty () const |
| size_type | max_size () const |
| size_type | size () const |
| T & | get (unsigned i) |
| const T & | get (unsigned i) const |
| T & | operator[] (unsigned i) |
| const T & | operator[] (unsigned i) const |
| const T * | cArray () const |
| T * | cArray () |
| void | set (unsigned i, const T &coord) |
| Self_t & | operator= (const Self_t &other) |
Protected Attributes | |
| T | m_vector [S] |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename TEXT_STREAM , typename T , unsigned S> | |
| TEXT_STREAM & | operator<< (TEXT_STREAM &os, const FixedArray< T, S > &coords) |
Provides a generic fixed-size array of items.
| typedef const T* cpp::FixedArray< T, S >::const_iterator |
| typedef const T* cpp::FixedArray< T, S >::const_pointer |
| typedef const T& cpp::FixedArray< T, S >::const_reference |
| typedef std::ptrdiff_t cpp::FixedArray< T, S >::difference_type |
| typedef T* cpp::FixedArray< T, S >::iterator |
| typedef std::random_access_iterator_tag cpp::FixedArray< T, S >::iterator_category |
| typedef T* cpp::FixedArray< T, S >::pointer |
| typedef T& cpp::FixedArray< T, S >::reference |
| typedef unsigned cpp::FixedArray< T, S >::size_type |
| typedef T cpp::FixedArray< T, S >::value_type |
| cpp::FixedArray< T, S >::FixedArray | ( | ) |
| cpp::FixedArray< T, S >::FixedArray | ( | const Self_t & | other | ) |
| FixedArray< T, S >::const_iterator cpp::FixedArray< T, S >::begin | ( | ) | const |
| FixedArray< T, S >::iterator cpp::FixedArray< T, S >::begin | ( | ) |
| const T * cpp::FixedArray< T, S >::cArray | ( | ) | const |
| T * cpp::FixedArray< T, S >::cArray | ( | ) |
| bool cpp::FixedArray< T, S >::empty | ( | ) | const |
| FixedArray< T, S >::const_iterator cpp::FixedArray< T, S >::end | ( | ) | const |
| FixedArray< T, S >::iterator cpp::FixedArray< T, S >::end | ( | ) |
| T & cpp::FixedArray< T, S >::get | ( | unsigned | i | ) |
| const T & cpp::FixedArray< T, S >::get | ( | unsigned | i | ) | const |
| FixedArray< T, S >::size_type cpp::FixedArray< T, S >::max_size | ( | ) | const |
| FixedArray< T, S > & cpp::FixedArray< T, S >::operator= | ( | const Self_t & | other | ) |
| T & cpp::FixedArray< T, S >::operator[] | ( | unsigned | i | ) |
| const T & cpp::FixedArray< T, S >::operator[] | ( | unsigned | i | ) | const |
| void cpp::FixedArray< T, S >::set | ( | unsigned | i, |
| const T & | coord | ||
| ) |
| FixedArray< T, S >::size_type cpp::FixedArray< T, S >::size | ( | ) | const |
|
related |
|
protected |
1.8.8