Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
puma2::Vector< T > Class Template Reference

Represents a vector template class. More...

#include <Vector.h>

List of all members.

Public Member Functions

template<>
void copy (const RGBa8::B4 &f, RGBa8::B4 &t)
template<>
void copy (const RGBa8 &f, RGBa8 &t)
template<>
void copy (const ColorImageRGB8::B3 &f, ColorImageRGB8::B3 &t)
int length () const
 operator const T * () const
 operator T * ()
void operator= (const Vector &)
void operator= (T v)
T & operator[] (int i)
const T & operator[] (int i) const
 Vector (int=0)
 Vector (const Vector &)
virtual ~Vector ()

Static Public Member Functions

static void copy (const T &, T &)

Private Member Functions

 Vector (T *, int)

Private Attributes

bool allocated
int size
T * vec

Friends

class Matrix< T >

Detailed Description

template<class T>
class puma2::Vector< T >

Represents a vector template class.

This class provides a template for vectors.

Definition at line 19 of file Vector.h.


Constructor & Destructor Documentation

template<class T >
puma2::Vector< T >::Vector ( int  s = 0) [explicit]

Definition at line 60 of file Vector.h.

template<class T >
puma2::Vector< T >::Vector ( const Vector< T > &  v)

Definition at line 44 of file Vector.h.

template<class T >
puma2::Vector< T >::~Vector ( ) [virtual]

Definition at line 53 of file Vector.h.

template<class T>
puma2::Vector< T >::Vector ( T *  m,
int  s 
) [private]

Definition at line 66 of file Vector.h.


Member Function Documentation

template<class T>
void puma2::Vector< T >::copy ( const T &  f,
T &  t 
) [inline, static]

Definition at line 41 of file Vector.h.

template<>
void puma2::Vector< RGBa8::B4 >::copy ( const RGBa8::B4 f,
RGBa8::B4 t 
) [inline]

Definition at line 31 of file ColorImageRGBa8.h.

template<>
void puma2::Vector< RGBa8 >::copy ( const RGBa8 f,
RGBa8 t 
) [inline]

Definition at line 36 of file ColorImageRGBa8.h.

template<>
void puma2::Vector< ColorImageRGB8::B3 >::copy ( const ColorImageRGB8::B3 f,
ColorImageRGB8::B3 t 
) [inline]

Definition at line 73 of file ColorImageRGB8.h.

template<class T>
int puma2::Vector< T >::length ( ) const [inline]

Definition at line 24 of file Vector.h.

template<class T>
puma2::Vector< T >::operator const T * ( ) const [inline]

Definition at line 30 of file Vector.h.

template<class T>
puma2::Vector< T >::operator T * ( ) [inline]

Definition at line 29 of file Vector.h.

template<class T >
void puma2::Vector< T >::operator= ( const Vector< T > &  v)

Definition at line 73 of file Vector.h.

template<class T>
void puma2::Vector< T >::operator= ( v)
template<class T >
T & puma2::Vector< T >::operator[] ( int  i) [inline]

Definition at line 87 of file Vector.h.

template<class T >
const T & puma2::Vector< T >::operator[] ( int  i) const [inline]

Definition at line 81 of file Vector.h.


Friends And Related Function Documentation

template<class T>
friend class Matrix< T > [friend]

Definition at line 36 of file Vector.h.


Member Data Documentation

template<class T>
bool puma2::Vector< T >::allocated [private]

Definition at line 35 of file Vector.h.

template<class T>
int puma2::Vector< T >::size [private]

Definition at line 33 of file Vector.h.

template<class T>
T* puma2::Vector< T >::vec [private]

Definition at line 34 of file Vector.h.


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


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:44