#include "SimTKcommon/internal/common.h"
#include <cstddef>
#include <cassert>
#include <ostream>
Go to the source code of this file.
Namespaces | |
namespace | SimTKimpl |
namespace | SimTK |
Classes | |
class | ArrayHelper |
Non-templatized helper class for ArrayBase<T>. More... | |
class | ArrayBase |
class | ArrayView |
This class is a duplicate of Array and can be cast to an Array with no harm. More... | |
class | Array |
Container class like std::vector<T> but with hidden implementation. More... | |
Functions | |
template<class T> | |
int | findFirstOf (const Array< T > &a, const T &test) |
If the type T supports an "==" operator, you can instantiate this method to find the first element of an Array<T> which matches the supplied test element. | |
template<class T> | |
int | findFirstOf (const ArrayView< T > &a, const T &test) |
template<class T> | |
Array< int > | findAllOf (const Array< T > &a, const T &test) |
If the type T supports an "==" operator, you can instantiate this method to find the indices of all elements of an Array<T> at which the elements match the supplied test element. | |
template<class T> | |
Array< int > | findAllOf (const ArrayView< T > &a, const T &test) |
template<class T> | |
bool | contains (const Array< T > &a, const T &test) |
If the type T supports an "==" operator, you can instantiate this method to find out if an Array<T> contains a particular test element. | |
template<class T> | |
bool | contains (const ArrayView< T > &a, const T &test) |
template<class T> | |
std::ostream & | operator<< (std::ostream &s, const Array< T > &a) |
template<class T> | |
std::ostream & | operator<< (std::ostream &s, const ArrayView< T > &a) |