Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

base::vectorrange< T > Class Template Reference

Collaboration diagram for base::vectorrange< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T value_type
typedef vector< T >::size_type size_type

Public Member Functions

 vectorrange (vector< T > &v, const range< size_type > &r)
 vectorrange (const vectorrange &vr)
 ~vectorrange ()
value_typeoperator[] (size_type i)
const value_typeoperator[] (size_type i) const
vectorrangeoperator= (const vectorrange &vr)
vectorrangeoperator= (const vector< T > &sv)
vectorrangeoperator+= (const vector< T > &v2)
vectorrangeoperator-= (const vector< T > &v2)
vectorrangeoperator *= (const value_type &t)
vectorrangeoperator/= (const value_type &t)
vectorrangenegate ()
size_type size () const
 operator const_vectorrange () const
 operator vector ()

Protected Member Functions

 vectorrange ()
value_type_v (size_type i)
const value_type_v (size_type i) const

Protected Attributes

vector< T > & v
range< size_typer

template<typename T>
class base::vectorrange< T >


Member Typedef Documentation

template<typename T>
typedef vector<T>::size_type base::vectorrange< T >::size_type
 

Definition at line 491 of file Vector.

template<typename T>
typedef T base::vectorrange< T >::value_type
 

Definition at line 490 of file Vector.


Constructor & Destructor Documentation

template<typename T>
base::vectorrange< T >::vectorrange vector< T > &  v,
const range< size_type > &  r
[inline]
 

Definition at line 493 of file Vector.

template<typename T>
base::vectorrange< T >::vectorrange const vectorrange< T > &  vr  )  [inline]
 

Definition at line 494 of file Vector.

template<typename T>
base::vectorrange< T >::~vectorrange  )  [inline]
 

Definition at line 495 of file Vector.

template<typename T>
base::vectorrange< T >::vectorrange  )  [inline, protected]
 

Definition at line 530 of file Vector.


Member Function Documentation

template<typename T>
const value_type& base::vectorrange< T >::_v size_type  i  )  const [inline, protected]
 

Definition at line 533 of file Vector.

template<typename T>
value_type& base::vectorrange< T >::_v size_type  i  )  [inline, protected]
 

Definition at line 532 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::negate  )  [inline]
 

Definition at line 516 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::operator *= const value_type t  )  [inline]
 

Definition at line 514 of file Vector.

template<typename T>
base::vectorrange< T >::operator const_vectorrange  )  const [inline]
 

Definition at line 521 of file Vector.

template<typename T>
base::vectorrange< T >::operator vector  )  [inline]
 

Definition at line 523 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::operator+= const vector< T > &  v2  )  [inline]
 

Definition at line 512 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::operator-= const vector< T > &  v2  )  [inline]
 

Definition at line 513 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::operator/= const value_type t  )  [inline]
 

Definition at line 515 of file Vector.

template<typename T>
vectorrange& base::vectorrange< T >::operator= const vector< T > &  sv  )  [inline]
 

Definition at line 506 of file Vector.

References base::Int.

template<typename T>
vectorrange& base::vectorrange< T >::operator= const vectorrange< T > &  vr  )  [inline]
 

Definition at line 500 of file Vector.

References base::Int, and base::Real.

template<typename T>
const value_type& base::vectorrange< T >::operator[] size_type  i  )  const [inline]
 

Definition at line 498 of file Vector.

template<typename T>
value_type& base::vectorrange< T >::operator[] size_type  i  )  [inline]
 

Definition at line 497 of file Vector.

template<typename T>
size_type base::vectorrange< T >::size  )  const [inline]
 

Definition at line 519 of file Vector.

References base::Int.


Member Data Documentation

template<typename T>
range<size_type> base::vectorrange< T >::r [protected]
 

Definition at line 536 of file Vector.

template<typename T>
vector<T>& base::vectorrange< T >::v [protected]
 

Definition at line 535 of file Vector.


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:39:33 2004 for OpenSim by doxygen 1.3.6