Array< T > Class Template Reference
Container class like std::vector<T> but with hidden implementation.
More...
#include <Array.h>
List of all members.
Detailed Description
template<class T>
class SimTK::Array< T >
Container class like std::vector<T> but with hidden implementation.
This container provides functionality like STL's vector<T> but with an opaque implementation suitable for passing across a binary interface.
Like std::vector<T>, Array<T> stores items in consecutive memory locations (subject to ordinary C++ packing rules).
Constructor & Destructor Documentation
Array |
( |
int |
n |
) |
[inline, explicit] |
Array |
( |
int |
n, |
|
|
const T & |
ival | |
|
) |
| | [inline] |
Array |
( |
int |
n, |
|
|
const T * |
ivals | |
|
) |
| | [inline] |
Array |
( |
const Array< T > & |
a, |
|
|
int |
offset, |
|
|
int |
length | |
|
) |
| | [inline] |
Array |
( |
Array< T > & |
a, |
|
|
int |
offset, |
|
|
int |
length | |
|
) |
| | [inline] |
Member Function Documentation
operator const ArrayView< T > & |
( |
|
) |
const [inline] |
ArrayView<T> operator() |
( |
int |
offset, |
|
|
int |
length | |
|
) |
| | [inline] |
const ArrayView<T> operator() |
( |
int |
offset, |
|
|
int |
length | |
|
) |
| | const [inline] |
Array& operator+= |
( |
const T & |
x |
) |
[inline] |
Array& operator= |
( |
const T & |
x |
) |
[inline] |
Array& operator= |
( |
const Array< T > & |
src |
) |
[inline] |
The documentation for this class was generated from the following file: