|
Essentia
2.1-beta6-dev
|
#include <tnt_i_refvec.h>
Public Member Functions | |
| i_refvec () | |
| i_refvec (int n) | |
| i_refvec (T *data) | |
| i_refvec (const i_refvec &v) | |
| T * | begin () |
| const T * | begin () const |
| T & | operator[] (int i) |
| const T & | operator[] (int i) const |
| i_refvec< T > & | operator= (const i_refvec< T > &V) |
| void | copy_ (T *p, const T *q, const T *e) |
| void | set_ (T *p, const T *b, const T *e) |
| int | ref_count () const |
| int | is_null () const |
| void | destroy () |
| ~i_refvec () | |
Private Attributes | |
| T * | data_ |
| int * | ref_count_ |
|
explicit |
In case n is 0 or negative, it does NOT call new.
References i_refvec< T >::data_, and i_refvec< T >::ref_count_.
|
inline |
|
inline |
|
inline |
| void copy_ | ( | T * | p, |
| const T * | q, | ||
| const T * | e | ||
| ) |
|
inline |
References NULL.
|
inline |
References NULL.
References i_refvec< T >::data_, NULL, and i_refvec< T >::ref_count_.
|
inline |
|
inline |
|
inline |
References NULL.
| void set_ | ( | T * | p, |
| const T * | b, | ||
| const T * | e | ||
| ) |
|
private |
Referenced by i_refvec< T >::i_refvec(), and i_refvec< T >::operator=().
|
private |
Referenced by i_refvec< T >::i_refvec(), and i_refvec< T >::operator=().