#include <CTBcarray.hxx>
Collaboration diagram for CTBcarray:
Public Methods | |
CTBcarray () | |
CTBcarray (T rhs) | |
CTBcarray (const CTBcarray< T, DIM > &rhs) | |
T & | operator[] (CTBint i_ind) |
const T & | operator[] (CTBint i_ind) const |
T & | operator() (CTBint i_ind) |
const T & | operator() (CTBint i_ind) const |
operator T * () | |
operator const T * () const | |
operator CTBvectorDsc () | |
operator CTBvectorCDsc () const | |
bool | operator== (T rhs) |
bool | operator== (const CTBcarray< T, DIM > &rhs) |
CTBcarray< T, DIM > & | operator= (T rhs) |
CTBcarray< T, DIM > & | operator= (const CTBcarray< T, DIM > &rhs) |
Protected Attributes | |
T | m_data [DIM] |
Related Functions | |
(Note that these are not member functions.) | |
ostream & | operator<< (ostream &os, const CTBcarray< T, DIM > &obj) |
Definition at line 19 of file CTBcarray.hxx.
|
Default constructor.
An array of type Note, that the default constructor for elementary data types is simply a no-op. Use in these cases the constructor CTBcarray(T) to get arrays with a well defined initialization Definition at line 33 of file CTBcarray.icc. |
|
Construct with scalar initialization.
Definition at line 40 of file CTBcarray.icc. |
|
Copy constructor.
Definition at line 49 of file CTBcarray.icc. |
|
Access element (index checked if CTB__IndexCheck defined).
Definition at line 58 of file CTBcarray.icc. |
|
Constant access element (index checked if CTB__IndexCheck defined).
Definition at line 70 of file CTBcarray.icc. |
|
Access element (index checked if CTB__IndexCheck defined).
Definition at line 82 of file CTBcarray.icc. |
|
Constant access element (index checked if CTB__IndexCheck defined).
Definition at line 94 of file CTBcarray.icc. |
|
Convert to pointer.
Definition at line 106 of file CTBcarray.icc. |
|
Constant convert to pointer.
Definition at line 115 of file CTBcarray.icc. |
|
Convert to vector descriptor.
Definition at line 124 of file CTBcarray.icc. |
|
Convert to constant vector descriptor.
Definition at line 133 of file CTBcarray.icc. |
|
Returns
Definition at line 142 of file CTBcarray.icc. |
|
Returns
Definition at line 152 of file CTBcarray.icc. |
|
Set all elements to the scalar value rhs.
Definition at line 163 of file CTBcarray.icc. Referenced by CTBcarray().
|
|
Copy values of array rhs.
Definition at line 173 of file CTBcarray.icc. |
|
ostream insertion.
Definition at line 186 of file CTBcarray.icc. |
|
Definition at line 47 of file CTBcarray.hxx. |