title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

gdt::gdtarray< E > Class Template Reference

#include <gdtarray.h>

Collaboration diagram for gdt::gdtarray< E >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef void * item

Public Member Functions

 gdtarray (int l, int h)
 gdtarray (int n)
 gdtarray ()
 gdtarray (const gdtarray< E > &a)
 ~gdtarray ()
gdtarray< E > & operator= (const gdtarray< E > &a)
void init (int l, int h)
const Eoperator[] (int x) const
Eoperator[] (int x)
void resize (int a, int b)
void resize (int n)
int low () const
int high () const
int size () const
void swap (int i, int j)
const Einf (item it) const


Detailed Description

template<class E>
class gdt::gdtarray< E >

Definition at line 21 of file gdtarray.h.


Member Typedef Documentation

template<class E>
typedef void* gdt::gdtarray< E >::item

Definition at line 50 of file gdtarray.h.


Constructor & Destructor Documentation

template<class E>
gdt::gdtarray< E >::gdtarray ( int  l,
int  h 
) [inline]

Definition at line 56 of file gdtarray.h.

References gdt::gdtarray< E >::init().

Here is the call graph for this function:

template<class E>
gdt::gdtarray< E >::gdtarray ( int  n  )  [inline]

Definition at line 57 of file gdtarray.h.

References gdt::gdtarray< E >::init().

Here is the call graph for this function:

template<class E>
gdt::gdtarray< E >::gdtarray (  )  [inline]

Definition at line 58 of file gdtarray.h.

template<class E>
gdt::gdtarray< E >::gdtarray ( const gdtarray< E > &  a  )  [inline]

Definition at line 60 of file gdtarray.h.

template<class E>
gdt::gdtarray< E >::~gdtarray (  )  [inline]

Definition at line 62 of file gdtarray.h.


Member Function Documentation

template<class E>
gdtarray<E>& gdt::gdtarray< E >::operator= ( const gdtarray< E > &  a  )  [inline]

Definition at line 64 of file gdtarray.h.

template<class E>
void gdt::gdtarray< E >::init ( int  l,
int  h 
) [inline]

Definition at line 70 of file gdtarray.h.

References NULL.

Referenced by gdt::gdtarray< E >::gdtarray().

Here is the caller graph for this function:

template<class E>
const E& gdt::gdtarray< E >::operator[] ( int  x  )  const [inline]

Definition at line 77 of file gdtarray.h.

References gdt::gdtarray< E >::high(), and gdt::gdtarray< E >::low().

Here is the call graph for this function:

template<class E>
E& gdt::gdtarray< E >::operator[] ( int  x  )  [inline]

Definition at line 82 of file gdtarray.h.

References gdt::gdtarray< E >::high(), and gdt::gdtarray< E >::low().

Here is the call graph for this function:

template<class E>
void gdt::gdtarray< E >::resize ( int  a,
int  b 
) [inline]

Definition at line 87 of file gdtarray.h.

References gdt::gdtarray< E >::high(), gdt::gdtarray< E >::low(), MAX, MIN, and gdt::gdtarray< E >::size().

Referenced by gdt::gdtarray< E >::resize().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class E>
void gdt::gdtarray< E >::resize ( int  n  )  [inline]

Definition at line 103 of file gdtarray.h.

References gdt::gdtarray< E >::resize().

Here is the call graph for this function:

template<class E>
int gdt::gdtarray< E >::low (  )  const [inline]

Definition at line 107 of file gdtarray.h.

Referenced by gdt::gdtarray< E >::operator[](), gdt::gdtarray< E >::resize(), and gdt::gdtarray< E >::swap().

Here is the caller graph for this function:

template<class E>
int gdt::gdtarray< E >::high (  )  const [inline]

Definition at line 108 of file gdtarray.h.

Referenced by gdt::gdtarray< E >::operator[](), and gdt::gdtarray< E >::resize().

Here is the caller graph for this function:

template<class E>
int gdt::gdtarray< E >::size (  )  const [inline]

Definition at line 109 of file gdtarray.h.

Referenced by gdt::gdtarray< E >::resize().

Here is the caller graph for this function:

template<class E>
void gdt::gdtarray< E >::swap ( int  i,
int  j 
) [inline]

Definition at line 111 of file gdtarray.h.

References gdt::gdtarray< E >::low().

Here is the call graph for this function:

template<class E>
const E& gdt::gdtarray< E >::inf ( item  it  )  const [inline]

Definition at line 122 of file gdtarray.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:49:47 2008 for GDToolkit GAPI by  doxygen 1.5.3