Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

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

Definition at line 54 of file Graph.cpp.

References m_vertset.

{
#if 0
std::list<GraphVertexObject *>::const_iterator def;
for(def = m_vertset.begin(); def != m_vertset.end(); ++def)
{
delete *def;
}
std::list<GraphEdgeObject *>::const_iterator def1;
for(def1 = _Edgeset.begin(); def1 != _Edgeset.end(); ++def1)
{
delete *def1;
}
#endif
}

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().