title
Graph Drawing Toolkit

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

gdt::gdtstack< E > Class Template Reference

#include <gdtstack.h>

Inheritance diagram for gdt::gdtstack< E >:

Inheritance graph
[legend]
Collaboration diagram for gdt::gdtstack< E >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gdtstack ()
 gdtstack (const gdtstack< E > &s)
 ~gdtstack ()
gdtstack< E > & operator= (const gdtstack< E > &s)
const Etop () const
void push (const E &x)
const Epop ()
int size () const
bool empty () const
void clear ()


Detailed Description

template<class E>
class gdt::gdtstack< E >

Definition at line 11 of file gdtstack.h.


Constructor & Destructor Documentation

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

Definition at line 19 of file gdtstack.h.

template<class E>
gdt::gdtstack< E >::gdtstack ( const gdtstack< E > &  s  )  [inline]

Definition at line 21 of file gdtstack.h.

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

Definition at line 23 of file gdtstack.h.

References gdt::gdtstack< E >::clear().

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 25 of file gdtstack.h.

References gdt::gdtlist< E >::operator=().

Here is the call graph for this function:

template<class E>
const E& gdt::gdtstack< E >::top (  )  const [inline]

Definition at line 28 of file gdtstack.h.

References gdt::gdtlist< E >::head().

Here is the call graph for this function:

template<class E>
void gdt::gdtstack< E >::push ( const E x  )  [inline]

Reimplemented from gdt::gdtlist< E >.

Definition at line 30 of file gdtstack.h.

References gdt::gdtlist< E >::push().

Here is the call graph for this function:

template<class E>
const E& gdt::gdtstack< E >::pop (  )  [inline]

Reimplemented from gdt::gdtlist< E >.

Definition at line 32 of file gdtstack.h.

References gdt::gdtlist< E >::pop().

Here is the call graph for this function:

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

Reimplemented from gdt::gdtlist< E >.

Definition at line 34 of file gdtstack.h.

References gdt::gdtlist< E >::length().

Here is the call graph for this function:

template<class E>
bool gdt::gdtstack< E >::empty (  )  const [inline]

Reimplemented from gdt::gdtlist< E >.

Definition at line 36 of file gdtstack.h.

References gdt::gdtlist< E >::empty().

Here is the call graph for this function:

template<class E>
void gdt::gdtstack< E >::clear (  )  [inline]

Reimplemented from gdt::gdtlist< E >.

Definition at line 38 of file gdtstack.h.

References gdt::gdtlist< E >::clear().

Referenced by gdt::gdtstack< E >::~gdtstack().

Here is the call graph for this function:

Here is the caller graph for this function:


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