Represents a vector template class. More...
#include <Vector.h>
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 > |
Represents a vector template class.
This class provides a template for vectors.
| puma2::Vector< T >::Vector | ( | int | s = 0 | ) | [explicit] |
| puma2::Vector< T >::Vector | ( | const Vector< T > & | v | ) |
| puma2::Vector< T >::~Vector | ( | ) | [virtual] |
| puma2::Vector< T >::Vector | ( | T * | m, |
| int | s | ||
| ) | [private] |
| void puma2::Vector< T >::copy | ( | const T & | f, |
| T & | t | ||
| ) | [inline, static] |
| void puma2::Vector< RGBa8::B4 >::copy | ( | const RGBa8::B4 & | f, |
| RGBa8::B4 & | t | ||
| ) | [inline] |
Definition at line 31 of file ColorImageRGBa8.h.
| void puma2::Vector< RGBa8 >::copy | ( | const RGBa8 & | f, |
| RGBa8 & | t | ||
| ) | [inline] |
Definition at line 36 of file ColorImageRGBa8.h.
| void puma2::Vector< ColorImageRGB8::B3 >::copy | ( | const ColorImageRGB8::B3 & | f, |
| ColorImageRGB8::B3 & | t | ||
| ) | [inline] |
Definition at line 73 of file ColorImageRGB8.h.
| int puma2::Vector< T >::length | ( | ) | const [inline] |
| puma2::Vector< T >::operator const T * | ( | ) | const [inline] |
| puma2::Vector< T >::operator T * | ( | ) | [inline] |
| void puma2::Vector< T >::operator= | ( | const Vector< T > & | v | ) |
| void puma2::Vector< T >::operator= | ( | T | v | ) |
| T & puma2::Vector< T >::operator[] | ( | int | i | ) | [inline] |
| const T & puma2::Vector< T >::operator[] | ( | int | i | ) | const [inline] |
bool puma2::Vector< T >::allocated [private] |
int puma2::Vector< T >::size [private] |
T* puma2::Vector< T >::vec [private] |