Blender V2.61 - r43446

TNT::Vector_Adaptor< BBVec > Class Template Reference

#include <vecadaptor.h>

List of all members.

Public Types

typedef BBVec::value_type T
typedef T value_type
typedef T element_type
typedef Tpointer
typedef Titerator
typedef Treference
typedef const Tconst_iterator
typedef const Tconst_reference

Public Member Functions

Subscript lbound () const
Subscript size () const
BBVec & getVector ()
Subscript dim () const
Subscript dim (Subscript i)
 Vector_Adaptor ()
 Vector_Adaptor (const Vector_Adaptor< BBVec > &A)
 Vector_Adaptor (Subscript N, const T &value=T())
 Vector_Adaptor (Subscript N, const T *values)
 Vector_Adaptor (const BBVec &A)
Vector_Adaptor< BBVec > & free ()
Vector_Adaptor< BBVec > & operator= (const Vector_Adaptor< BBVec > &A)
Vector_Adaptor< BBVec > & newsize (Subscript N)
Vector_Adaptor< BBVec > & operator= (const T &a)
Vector_Adaptor< BBVec > & resize (Subscript N)
reference operator() (Subscript i)
const_reference operator() (Subscript i) const
reference operator[] (Subscript i)
const_reference operator[] (Subscript i) const

Protected Attributes

BBVec v_
Tvm1_

Detailed Description

template<class BBVec>
class TNT::Vector_Adaptor< BBVec >

Definition at line 63 of file vecadaptor.h.


Member Typedef Documentation

template<class BBVec>
typedef const T* TNT::Vector_Adaptor< BBVec >::const_iterator

Definition at line 73 of file vecadaptor.h.

template<class BBVec>
typedef const T& TNT::Vector_Adaptor< BBVec >::const_reference

Definition at line 74 of file vecadaptor.h.

template<class BBVec>
typedef T TNT::Vector_Adaptor< BBVec >::element_type

Definition at line 69 of file vecadaptor.h.

template<class BBVec>
typedef T* TNT::Vector_Adaptor< BBVec >::iterator

Definition at line 71 of file vecadaptor.h.

template<class BBVec>
typedef T* TNT::Vector_Adaptor< BBVec >::pointer

Definition at line 70 of file vecadaptor.h.

template<class BBVec>
typedef T& TNT::Vector_Adaptor< BBVec >::reference

Definition at line 72 of file vecadaptor.h.

template<class BBVec>
typedef BBVec::value_type TNT::Vector_Adaptor< BBVec >::T

Definition at line 67 of file vecadaptor.h.

template<class BBVec>
typedef T TNT::Vector_Adaptor< BBVec >::value_type

Definition at line 68 of file vecadaptor.h.


Constructor & Destructor Documentation

template<class BBVec>
TNT::Vector_Adaptor< BBVec >::Vector_Adaptor ( ) [inline]

Definition at line 111 of file vecadaptor.h.

template<class BBVec>
TNT::Vector_Adaptor< BBVec >::Vector_Adaptor ( const Vector_Adaptor< BBVec > &  A) [inline]
template<class BBVec>
TNT::Vector_Adaptor< BBVec >::Vector_Adaptor ( Subscript  N,
const T value = T() 
) [inline]
template<class BBVec>
TNT::Vector_Adaptor< BBVec >::Vector_Adaptor ( Subscript  N,
const T values 
) [inline]
template<class BBVec>
TNT::Vector_Adaptor< BBVec >::Vector_Adaptor ( const BBVec &  A) [inline]

Member Function Documentation

template<class BBVec>
Subscript TNT::Vector_Adaptor< BBVec >::dim ( ) const [inline]
template<class BBVec>
Subscript TNT::Vector_Adaptor< BBVec >::dim ( Subscript  i) [inline]

Definition at line 104 of file vecadaptor.h.

References assert, TNT_BASE_OFFSET, and TNT::Vector_Adaptor< BBVec >::v_.

template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::free ( ) [inline]

Definition at line 142 of file vecadaptor.h.

template<class BBVec>
BBVec& TNT::Vector_Adaptor< BBVec >::getVector ( ) [inline]

Definition at line 102 of file vecadaptor.h.

References TNT::Vector_Adaptor< BBVec >::v_.

template<class BBVec>
Subscript TNT::Vector_Adaptor< BBVec >::lbound ( ) const [inline]

Definition at line 76 of file vecadaptor.h.

template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::newsize ( Subscript  N) [inline]

Definition at line 154 of file vecadaptor.h.

References N.

template<class BBVec>
reference TNT::Vector_Adaptor< BBVec >::operator() ( Subscript  i) [inline]
template<class BBVec>
const_reference TNT::Vector_Adaptor< BBVec >::operator() ( Subscript  i) const [inline]
template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::operator= ( const T a) [inline]

Definition at line 165 of file vecadaptor.h.

References i, N, and TNT::Vector_Adaptor< BBVec >::v_.

template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::operator= ( const Vector_Adaptor< BBVec > &  A) [inline]
template<class BBVec>
reference TNT::Vector_Adaptor< BBVec >::operator[] ( Subscript  i) [inline]
template<class BBVec>
const_reference TNT::Vector_Adaptor< BBVec >::operator[] ( Subscript  i) const [inline]
template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::resize ( Subscript  N) [inline]

Definition at line 175 of file vecadaptor.h.

References i, TNT::Vector_Adaptor< BBVec >::size(), and TNT::Vector_Adaptor< BBVec >::v_.

Referenced by TNT::operator>>().

template<class BBVec>
Subscript TNT::Vector_Adaptor< BBVec >::size ( ) const [inline]

Definition at line 84 of file vecadaptor.h.

References TNT::Vector_Adaptor< BBVec >::v_.

Referenced by TNT::Vector_Adaptor< BBVec >::resize().


Member Data Documentation


The documentation for this class was generated from the following file: