Simbody  3.7
Array.h File Reference

This file defines the Array_<T,X> class and related support classes including base classes ArrayViewConst_<T,X> and ArrayView_<T,X>, and helper class ArrayIndexTraits<X>. More...

Go to the source code of this file.

Classes

struct  SimTK::ArrayIndexTraits< X >
 This templatized type is used by the Array_<T,X> classes to obtain the information they need to use the class X as an index class for the array. More...
 
class  SimTK::ArrayViewConst_< T, X >
 This Array_ helper class is the base class for ArrayView_ which is the base class for Array_; here we provide only the minimal read-only "const" functionality required by any Array_ object, and shallow copy semantics. More...
 
class  SimTK::ArrayView_< T, X >
 This Array_ helper class is the base class for Array_, extending ArrayViewConst_ to add the ability to modify elements, but not the ability to change size or reallocate. More...
 
class  SimTK::Array_< T, X >
 The Array_<T> container class is a plug-compatible replacement for the C++ standard template library (STL) std::vector<T> class, but with some important advantages in performance, and functionality, and binary compatibility. More...
 
struct  SimTK::ArrayIndexTraits< X >
 This templatized type is used by the Array_<T,X> classes to obtain the information they need to use the class X as an index class for the array. More...
 
struct  SimTK::ArrayIndexTraits< unsigned >
 Specialization of ArrayIndexTraits for unsigned (that is, unsigned int) used as an index. More...
 
struct  SimTK::ArrayIndexTraits< int >
 Specialization of ArrayIndexTraits for (signed) int used as an index. More...
 
struct  SimTK::ArrayIndexTraits< unsigned long >
 Specialization of ArrayIndexTraits for unsigned long used as an index. More...
 
struct  SimTK::ArrayIndexTraits< long >
 Specialization of ArrayIndexTraits for (signed) long used as an index. More...
 
struct  SimTK::ArrayIndexTraits< unsigned short >
 Specialization of ArrayIndexTraits for unsigned short used as an index. More...
 
struct  SimTK::ArrayIndexTraits< short >
 Specialization of ArrayIndexTraits for (signed) short used as an index. More...
 
struct  SimTK::ArrayIndexTraits< unsigned char >
 Specialization of ArrayIndexTraits for unsigned char used as an index. More...
 
struct  SimTK::ArrayIndexTraits< signed char >
 Specialization of ArrayIndexTraits for signed char used as an index. More...
 
struct  SimTK::ArrayIndexTraits< char >
 Specialization of ArrayIndexTraits for char used as an index. More...
 
struct  SimTK::ArrayIndexTraits< bool >
 Specialization of ArrayIndexTraits for bool used as an index. More...
 
struct  SimTK::ArrayIndexTraits< unsigned long long >
 Specialization of ArrayIndexTraits for unsigned long long used as an index. More...
 
struct  SimTK::ArrayIndexTraits< long long >
 Specialization of ArrayIndexTraits for long long used as an index. More...
 
class  SimTK::ArrayViewConst_< T, X >
 This Array_ helper class is the base class for ArrayView_ which is the base class for Array_; here we provide only the minimal read-only "const" functionality required by any Array_ object, and shallow copy semantics. More...
 
class  SimTK::ArrayView_< T, X >
 This Array_ helper class is the base class for Array_, extending ArrayViewConst_ to add the ability to modify elements, but not the ability to change size or reallocate. More...
 
class  SimTK::Array_< T, X >
 The Array_<T> container class is a plug-compatible replacement for the C++ standard template library (STL) std::vector<T> class, but with some important advantages in performance, and functionality, and binary compatibility. More...
 

Namespaces

 SimTK
 This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with other symbols.
 
 SimTK::Xml
 This namespace contains Xml::Document and all the related XML classes.
 

Functions

template<class T , class X >
static std::istream & SimTK::readArrayFromStreamHelper (std::istream &in, bool isFixedSize, Array_< T, X > &out)
 

Detailed Description

This file defines the Array_<T,X> class and related support classes including base classes ArrayViewConst_<T,X> and ArrayView_<T,X>, and helper class ArrayIndexTraits<X>.