Sierra Toolkit
Version of the Day
|
Extend FArray with deep copy assignment and resize operations. More...
#include <FArray.hpp>
Public Types | |
enum | { NumDim = BaseType::NumDim } |
typedef A::value_type | value_type |
typedef A::size_type | size_type |
typedef A::difference_type | difference_type |
typedef A::pointer | pointer |
typedef A::const_pointer | const_pointer |
typedef A::reference | reference |
typedef A::const_reference | const_reference |
typedef A::pointer | iterator |
typedef A::const_pointer | const_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef FArrayContainer< ElementType, Dimension > | SelfType |
typedef FArray< ElementType, Dimension > | BaseType |
![]() | |
enum | { NumDim = Dimension } |
typedef ElementType | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef pointer | iterator |
typedef const_pointer | const_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef FArray< ElementType, Dimension > | SelfType |
typedef FArrayContainer< ElementType, Dimension > | Container |
typedef FArray< ElementType, Dimension - 1 > | Trunc |
Public Member Functions | |
FArrayContainer (const SelfType &a) | |
template<typename T > | |
FArrayContainer (const FArray< T, Dimension > &a) | |
SelfType & | operator= (const SelfType &a) |
template<typename T > | |
SelfType & | operator= (const FArray< T, Dimension > &a) |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) | |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) | |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) | |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) | |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) | |
FArrayContainer (const unsigned n0, const unsigned n1, const unsigned n2) | |
FArrayContainer (const unsigned n0, const unsigned n1) | |
FArrayContainer (const unsigned n0) | |
FArrayContainer (const unsigned n[]) | |
template<typename T > | |
SelfType & | resize (const FArray< T, Dimension > &a) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) |
SelfType & | resize (const unsigned n0, const unsigned n1, const unsigned n2) |
SelfType & | resize (const unsigned n0, const unsigned n1) |
SelfType & | resize (const unsigned n0) |
SelfType & | resize (const unsigned n[]) |
![]() | |
const unsigned * | dimension () const |
const unsigned * | stride () const |
void | array_dimension_verify (unsigned l_dimension, unsigned value, unsigned upper) const |
template<unsigned I> | |
unsigned | dimension () const |
template<unsigned I> | |
unsigned | stride () const |
unsigned | dimension (const unsigned i) const |
unsigned | stride (const unsigned i) const |
unsigned | size () const |
bool | operator== (const SelfType &a) const |
template<typename T > | |
bool | operator== (const FArray< T, Dimension > &a) const |
bool | operator!= (const SelfType &a) const |
template<typename T > | |
bool | operator!= (const FArray< T, Dimension > &a) const |
value_type & | operator() (const Index &index) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5, const unsigned i6, const unsigned i7) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5, const unsigned i6) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3) |
value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2) |
value_type & | operator() (const unsigned i0, const unsigned i1) |
value_type & | operator() (const unsigned i0) |
value_type * | ptr () |
value_type & | operator[] (unsigned i) |
const value_type & | operator() (const Index &index) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5, const unsigned i6, const unsigned i7) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5, const unsigned i6) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4, const unsigned i5) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3, const unsigned i4) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2, const unsigned i3) const |
const value_type & | operator() (const unsigned i0, const unsigned i1, const unsigned i2) const |
const value_type & | operator() (const unsigned i0, const unsigned i1) const |
const value_type & | operator() (const unsigned i0) const |
value_type * | ptr () const |
const value_type & | operator[] (unsigned i) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) const |
bool | verify_dimension (const unsigned n0, const unsigned n1, const unsigned n2) const |
bool | verify_dimension (const unsigned n0, const unsigned n1) const |
bool | verify_dimension (const unsigned n0) const |
unsigned | set_dim (const unsigned d[]) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) |
unsigned | set_dim (const unsigned n0, const unsigned n1, const unsigned n2) |
unsigned | set_dim (const unsigned n0, const unsigned n1) |
unsigned | set_dim (const unsigned n0) |
unsigned | set_dim (const SelfType &a) |
FArray (const SelfType &a) | |
SelfType & | operator= (SelfType const &a) |
template<typename T > | |
FArray (const FArray< T, Dimension > &a) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2) | |
FArray (value_type *const l_ptr, const unsigned n0, const unsigned n1) | |
FArray (value_type *const l_ptr, const unsigned n0) | |
FArray (value_type *const l_ptr, const unsigned n[NumDim]) | |
void | set (const SelfType &a) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6, const unsigned n7) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5, const unsigned n6) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4, const unsigned n5) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3, const unsigned n4) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2, const unsigned n3) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1, const unsigned n2) |
void | set (value_type *const l_ptr, const unsigned n0, const unsigned n1) |
void | set (value_type *const l_ptr, const unsigned n0) |
void | set (value_type *const l_ptr, const unsigned n[NumDim]) |
Trunc | dive (int i) |
const Trunc | dive (int i) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | dimensions (const_iterator it, Index &index) const |
template<typename T > | |
void | copy (const FArray< T, Dimension > &a) |
template<typename T > | |
void | fill (const T &value) |
Additional Inherited Members | |
![]() | |
value_type * | m_ptr |
unsigned | m_dim [NumDim] |
unsigned | m_stride [NumDim+1] |
Extend FArray with deep copy assignment and resize operations.
Definition at line 86 of file FArray.hpp.