PIGALE 1.3.9 Documentation (original) (raw)
P.I.G.A.L.E.
1.3.9
Public Implementation of a Graph Algorithm
Library and Editor
H. de Fraysseix P. Ossona de Mendez
TSArray Class Template Reference
Inheritance diagram for TSArray:

[legend]
Collaboration diagram for TSArray:

[legend]
Detailed Description
template
class TSArray< T >
TGF uses a very primitive dynamic array:.
Public Member Functions
- TSArray (T _init, int _size=0)
- ~TSArray ()
- T & operator[] (int idx)
- const T & operator[] (int idx) const
- T & operator() (int idx)
Private Member Functions
- void extend (int idx)
Private Attributes
Constructor & Destructor Documentation
| TSArray | ( | T | _init, |
|---|---|---|---|
| int | _size = 0 | ||
| ) | [inline] |
| ~TSArray | ( | | ) | [inline] | | ------------------------------ | - | | - | ---------- |
Member Function Documentation
| void extend | ( | int | idx | ) | [inline, private] |
|---|
| T& operator[] | ( | int | idx | ) | [inline] |
|---|
| const T& operator[] | ( | int | idx | ) | const [inline] |
|---|
| T& operator() | ( | int | idx | ) | [inline] |
|---|
Member Data Documentation
T* ary [private]
int size [private]
T init [private]
