CAPD DynSys Library
5.2.0
|
class Container together with suitable iterators The container has fixed size specified by a template argument 'capacity' More...
#include <capd/vectalg/Container.h>
Public Types | |
typedef Scalar | ScalarType |
typedef __size_type | size_type |
typedef __difference_type | difference_type |
typedef ScalarType * | iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
Container () | |
Container (size_type) | |
Container (size_type, bool) | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
void | resize (size_type newCapacity) |
ScalarType & | operator[] (size_type) |
const ScalarType & | operator[] (size_type) const |
ScalarType & | operator() (size_type) |
const ScalarType & | operator() (size_type) const |
void | clear () |
Static Public Member Functions | |
static size_type | size () |
Public Attributes | |
const typedef ScalarType * | const_iterator |
Protected Attributes | |
ScalarType | data [capacity] |
Friends | |
void | swap (Container< Scalar, capacity > &A_c1, Container< Scalar, capacity > &A_c2) |
class Container together with suitable iterators The container has fixed size specified by a template argument 'capacity'
This class is used as a container for vectors, matrices and higher order containers
typedef std::reverse_iterator<const_iterator> capd::vectalg::Container< Scalar, capacity >::const_reverse_iterator |
typedef __difference_type capd::vectalg::Container< Scalar, capacity >::difference_type |
typedef ScalarType* capd::vectalg::Container< Scalar, capacity >::iterator |
typedef std::reverse_iterator<iterator> capd::vectalg::Container< Scalar, capacity >::reverse_iterator |
typedef Scalar capd::vectalg::Container< Scalar, capacity >::ScalarType |
typedef __size_type capd::vectalg::Container< Scalar, capacity >::size_type |
capd::vectalg::Container< Scalar, capacity >::Container |
|
explicit |
|
inline |
|
inline |
const_iterator capd::vectalg::Container< Scalar, capacity >::begin | ( | ) | const |
void capd::vectalg::Container< Scalar, capacity >::clear |
|
inline |
const_iterator capd::vectalg::Container< Scalar, capacity >::end | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
const_reverse_iterator capd::vectalg::Container< Scalar, capacity >::rbegin | ( | ) | const |
|
inline |
const_reverse_iterator capd::vectalg::Container< Scalar, capacity >::rend | ( | ) | const |
void capd::vectalg::Container< Scalar, capacity >::resize | ( | size_type | newCapacity | ) |
|
inlinestatic |
|
friend |
const typedef ScalarType* capd::vectalg::Container< Scalar, capacity >::const_iterator |
|
protected |