#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_ |
Definition at line 55 of file tnt_i_refvec.h.
| TNT::i_refvec< T >::i_refvec | ( | ) | [inline] |
Definition at line 92 of file tnt_i_refvec.h.
| TNT::i_refvec< T >::i_refvec | ( | int | n | ) | [inline, explicit] |
In case n is 0 or negative, it does NOT call new.
Definition at line 98 of file tnt_i_refvec.h.
| TNT::i_refvec< T >::i_refvec | ( | T * | data | ) | [inline] |
Definition at line 121 of file tnt_i_refvec.h.
| TNT::i_refvec< T >::i_refvec | ( | const i_refvec< T > & | v | ) | [inline] |
Definition at line 112 of file tnt_i_refvec.h.
| TNT::i_refvec< T >::~i_refvec | ( | ) | [inline] |
Definition at line 223 of file tnt_i_refvec.h.
| const T * TNT::i_refvec< T >::begin | ( | ) | const [inline] |
Definition at line 143 of file tnt_i_refvec.h.
| T * TNT::i_refvec< T >::begin | ( | ) | [inline] |
Definition at line 124 of file tnt_i_refvec.h.
| void TNT::i_refvec< T >::copy_ | ( | T * | p, | |
| const T * | q, | |||
| const T * | e | |||
| ) | [inline] |
Definition at line 85 of file tnt_i_refvec.h.
| void TNT::i_refvec< T >::destroy | ( | ) | [inline] |
Definition at line 174 of file tnt_i_refvec.h.
| int TNT::i_refvec< T >::is_null | ( | ) | const [inline] |
Definition at line 202 of file tnt_i_refvec.h.
| i_refvec< T > & TNT::i_refvec< T >::operator= | ( | const i_refvec< T > & | V | ) | [inline] |
Definition at line 151 of file tnt_i_refvec.h.
| const T & TNT::i_refvec< T >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 130 of file tnt_i_refvec.h.
| T & TNT::i_refvec< T >::operator[] | ( | int | i | ) | [inline] |
Definition at line 136 of file tnt_i_refvec.h.
| int TNT::i_refvec< T >::ref_count | ( | ) | const [inline] |
Definition at line 214 of file tnt_i_refvec.h.
| void TNT::i_refvec< T >::set_ | ( | T * | p, | |
| const T * | b, | |||
| const T * | e | |||
| ) |
T* TNT::i_refvec< T >::data_ [private] |
Definition at line 60 of file tnt_i_refvec.h.
int* TNT::i_refvec< T >::ref_count_ [private] |
Definition at line 61 of file tnt_i_refvec.h.
1.5.8