Back to index

Public Member Functions | Private Attributes | Friends
vector_rep Class Reference

#include <vector.hpp>

Inheritance diagram for vector_rep:
Inheritance graph
Collaboration diagram for vector_rep:
Collaboration graph

List of all members.

Public Member Functions

 vector_rep (T *a2, int n2)
 ~vector_rep ()

Private Attributes

int n
int ref_count


class vector< T >
int N LESSGTR (vector< T > a)
T *A LESSGTR (vector< T > a)

Detailed Description

Definition at line 30 of file vector.hpp.

Constructor & Destructor Documentation

vector_rep::vector_rep ( T a2,
int  n2 
) [inline]

Definition at line 34 of file vector.hpp.

: n(n2), a(a2) {}

Definition at line 35 of file vector.hpp.

{ if (a != NULL) tm_delete_array (a); }

Here is the call graph for this function:

Friends And Related Function Documentation

int N LESSGTR ( vector< T a) [friend]
T* A LESSGTR ( vector< T a) [friend]
friend class vector< T > [friend]

Definition at line 36 of file vector.hpp.

Member Data Documentation

T* vector_rep::a [private]

Definition at line 32 of file vector.hpp.

int vector_rep::n [private]

Definition at line 31 of file vector.hpp.

int concrete_struct::ref_count [inherited]

Definition at line 135 of file basic.hpp.

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