Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
TNT::Vector_Adaptor< BBVec > Class Template Reference

#include <Base/Math/tnt/vecadaptor.h>

Public Types

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

Public Member Functions

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

Protected Attributes

BBVec v_
 
Tvm1_
 

Detailed Description

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

Definition at line 68 of file vecadaptor.h.

Member Typedef Documentation

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

Definition at line 78 of file vecadaptor.h.

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

Definition at line 79 of file vecadaptor.h.

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

Definition at line 74 of file vecadaptor.h.

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

Definition at line 76 of file vecadaptor.h.

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

Definition at line 75 of file vecadaptor.h.

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

Definition at line 77 of file vecadaptor.h.

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

Definition at line 72 of file vecadaptor.h.

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

Definition at line 73 of file vecadaptor.h.

Constructor & Destructor Documentation

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

Definition at line 116 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,
char *  s 
)
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 109 of file vecadaptor.h.

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

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

Definition at line 156 of file vecadaptor.h.

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

Definition at line 107 of file vecadaptor.h.

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

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

Definition at line 81 of file vecadaptor.h.

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

Definition at line 168 of file vecadaptor.h.

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 Vector_Adaptor< BBVec > &  A)
inline
template<class BBVec>
Vector_Adaptor<BBVec>& TNT::Vector_Adaptor< BBVec >::operator= ( const T a)
inline

Definition at line 179 of file vecadaptor.h.

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

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
template<class BBVec>
Subscript TNT::Vector_Adaptor< BBVec >::size ( ) const
inline

Definition at line 89 of file vecadaptor.h.

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

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

Member Data Documentation

template<class BBVec>
BBVec TNT::Vector_Adaptor< BBVec >::v_
protected
template<class BBVec>
T* TNT::Vector_Adaptor< BBVec >::vm1_
protected

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