![]() |
NeoPZ
|
#include <tinyvec.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| TinyVector () | |
| TinyVector (const T &val) | |
| TinyVector (const TinyVector< T, Num > &a) | |
| ~TinyVector () | |
| T & | operator[] (int i) |
| const T & | operator[] (int i) const |
| T & | operator() (int i) |
| const T & | operator() (int i) const |
| TinyVector< T, Num > & | operator= (const T &val) |
| TinyVector< T, Num > & | operator= (const TinyVector< T, Num > &a) |
| int | size () const |
| int | capacity () const |
| T * | begin () const |
| int | no (const T *ptr) const |
| TinyVector< T, Num > & | operator+= (const TinyVector< T, Num > &v) |
| TinyVector< T, Num > & | operator-= (const TinyVector< T, Num > &v) |
Private Member Functions | |
| void | CheckSize (int i) const |
| void | copy (const TinyVector< T, Num > &a) |
| void | copy (const T &val) |
Private Attributes | |
| T | ptr_to_data [Num] |
| typedef T TinyVector< T, Num >::value_type |
|
inline |
Definition at line 35 of file tinyvec.h.
References TinyVector< T, Num >::copy().
|
inline |
Definition at line 36 of file tinyvec.h.
References TinyVector< T, Num >::copy().
|
inline |
Definition at line 37 of file tinyvec.h.
References TinyVector< T, Num >::copy().
|
inline |
|
inline |
Definition at line 62 of file tinyvec.h.
References TinyVector< T, Num >::ptr_to_data.
Referenced by TinyVector< T, Num >::no().
|
inline |
Definition at line 61 of file tinyvec.h.
Referenced by TinyVector< T, Num >::size().
|
inlineprivate |
Definition at line 69 of file tinyvec.h.
References error().
Referenced by TinyVector< T, Num >::operator()(), and TinyVector< T, Num >::operator[]().
|
inlineprivate |
Definition at line 77 of file tinyvec.h.
References Copy().
Referenced by TinyVector< T, Num >::operator=(), and TinyVector< T, Num >::TinyVector().
|
inlineprivate |
|
inline |
Definition at line 63 of file tinyvec.h.
References TinyVector< T, Num >::begin(), TinyVector< T, Num >::operator+=(), and TinyVector< T, Num >::operator-=().
|
inline |
Definition at line 49 of file tinyvec.h.
References TinyVector< T, Num >::CheckSize(), and TinyVector< T, Num >::ptr_to_data.
|
inline |
Definition at line 52 of file tinyvec.h.
References TinyVector< T, Num >::CheckSize(), and TinyVector< T, Num >::ptr_to_data.
|
inline |
Definition at line 103 of file tinyvec.h.
References TinyVector< T, Num >::ptr_to_data.
Referenced by TinyVector< T, Num >::no().
|
inline |
Definition at line 114 of file tinyvec.h.
References TinyVector< T, Num >::ptr_to_data.
Referenced by TinyVector< T, Num >::no().
|
inline |
Definition at line 56 of file tinyvec.h.
References TinyVector< T, Num >::copy().
|
inline |
Definition at line 57 of file tinyvec.h.
References TinyVector< T, Num >::copy().
|
inline |
Definition at line 43 of file tinyvec.h.
References TinyVector< T, Num >::CheckSize(), and TinyVector< T, Num >::ptr_to_data.
|
inline |
Definition at line 46 of file tinyvec.h.
References TinyVector< T, Num >::CheckSize(), and TinyVector< T, Num >::ptr_to_data.
|
inline |
Definition at line 60 of file tinyvec.h.
References TinyVector< T, Num >::capacity().
|
private |
Definition at line 84 of file tinyvec.h.
Referenced by TinyVector< T, Num >::begin(), TinyVector< T, Num >::operator()(), TinyVector< T, Num >::operator+=(), TinyVector< T, Num >::operator-=(), and TinyVector< T, Num >::operator[]().
1.8.13