Nektar++
Public Member Functions | Protected Attributes | List of all members
Nektar::LibUtilities::Graph Class Reference

#include <Graph.h>

Collaboration diagram for Nektar::LibUtilities::Graph:
Collaboration graph
[legend]

Public Member Functions

 Graph ()
 
 ~Graph ()
 

Protected Attributes

int m_curmaxvid
 
std::list< GraphVertexObject * > m_vertset
 
std::list< GraphEdgeObject * > m_edgeset
 

Detailed Description

Definition at line 100 of file Graph.h.

Constructor & Destructor Documentation

Nektar::LibUtilities::Graph::Graph ( )

Definition at line 50 of file Graph.cpp.

51  {
52  }
Nektar::LibUtilities::Graph::~Graph ( )

Definition at line 54 of file Graph.cpp.

References m_vertset.

55  {
56 #if 0
57  std::list<GraphVertexObject *>::const_iterator def;
58  for(def = m_vertset.begin(); def != m_vertset.end(); ++def)
59  {
60  delete *def;
61  }
62 
63  std::list<GraphEdgeObject *>::const_iterator def1;
64  for(def1 = _Edgeset.begin(); def1 != _Edgeset.end(); ++def1)
65  {
66  delete *def1;
67  }
68 #endif
69  }
std::list< GraphVertexObject * > m_vertset
Definition: Graph.h:109

Member Data Documentation

int Nektar::LibUtilities::Graph::m_curmaxvid
protected

Definition at line 108 of file Graph.h.

std::list<GraphEdgeObject*> Nektar::LibUtilities::Graph::m_edgeset
protected

Definition at line 110 of file Graph.h.

std::list<GraphVertexObject*> Nektar::LibUtilities::Graph::m_vertset
protected

Definition at line 109 of file Graph.h.

Referenced by ~Graph().