|
CAPD::DynSys Library
6.0.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 const ScalarType * | const_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 () |
Protected Attributes | |
| ScalarType | data [capacity] |
Friends | |
| void | swap (Container< Scalar, capacity > &A_c1, Container< Scalar, capacity > &A_c2) noexcept |
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 const ScalarType* capd::vectalg::Container< Scalar, capacity >::const_iterator |
| 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 |
|
inline |
| void capd::vectalg::Container< Scalar, capacity >::clear |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void capd::vectalg::Container< Scalar, capacity >::resize | ( | size_type | newCapacity | ) |
|
inlinestatic |
|
friend |
|
protected |