Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Static Private Attributes | Friends | List of all members
Nektar::LibUtilities::GraphVertexObject Class Reference

#include <Graph.h>

Inheritance diagram for Nektar::LibUtilities::GraphVertexObject:
Inheritance graph
[legend]

Public Member Functions

 GraphVertexObject ()
 GraphVertexObject (const GraphVertexID id)
int getid ()
void setid (const GraphVertexID id)
virtual ~GraphVertexObject ()

Protected Attributes

GraphVertexID m_id

Static Private Attributes

static GraphVertexID m_nextid = 0

Friends

bool operator== (const GraphVertexObject &x, const GraphVertexObject &y)
bool operator!= (const GraphVertexObject &x, const GraphVertexObject &y)

Detailed Description

Definition at line 47 of file Graph.h.

Constructor & Destructor Documentation

Nektar::LibUtilities::GraphVertexObject::GraphVertexObject ( )
inline

Definition at line 51 of file Graph.h.

References m_id, and m_nextid.

{
}
Nektar::LibUtilities::GraphVertexObject::GraphVertexObject ( const GraphVertexID  id)
inline

Definition at line 58 of file Graph.h.

References m_id.

{
m_id = id;
}
Nektar::LibUtilities::GraphVertexObject::~GraphVertexObject ( )
virtual

Definition at line 46 of file Graph.cpp.

{
}

Member Function Documentation

int Nektar::LibUtilities::GraphVertexObject::getid ( )
inline

Definition at line 63 of file Graph.h.

References m_id.

{
return m_id;
}
void Nektar::LibUtilities::GraphVertexObject::setid ( const GraphVertexID  id)
inline

Definition at line 68 of file Graph.h.

References m_id.

{
m_id = id;
}

Friends And Related Function Documentation

bool operator!= ( const GraphVertexObject x,
const GraphVertexObject y 
)
friend

Definition at line 76 of file Graph.cpp.

{
return (x.m_id != y.m_id);
}
bool operator== ( const GraphVertexObject x,
const GraphVertexObject y 
)
friend

Definition at line 71 of file Graph.cpp.

{
return (x.m_id == y.m_id);
}

Member Data Documentation

GraphVertexID Nektar::LibUtilities::GraphVertexObject::m_id
protected
int Nektar::LibUtilities::GraphVertexObject::m_nextid = 0
staticprivate

Definition at line 84 of file Graph.h.

Referenced by GraphVertexObject().