47 static inline SP::GPM_Node
New() {
55 static inline SP::GPM_Node
New(
const int&
id) {
62 static inline SP::GPM_Node
New(
const tString& groupName,
const int&
id) {
63 SP::GPM_Node p=
New(
id);
64 p->setGroupName(groupName);
virtual SP::GPM_GraphElement NewInstance() const
create a new instance
Definition: GPM_Node.h:69
static SP::GPM_Node New(const tString &groupName, const int &id)
create a node
Definition: GPM_Node.h:62
static SP::GPM_Node New(const int &id)
create a node
Definition: GPM_Node.h:55
virtual void clearVariables()
clear the variables
Definition: GPM_Node.h:90
static SP::GPM_Node New()
create a node
Definition: GPM_Node.h:47
This class describes a node.
Definition: GPM_Vertex.h:16
GPM_Node(void)
create an object
Definition: GPM_Node.cpp:8
virtual tString getGroupTypeName() const
get the default group type name
Definition: GPM_Node.h:99
virtual tString toString() const
to string
Definition: GPM_Node.cpp:25
virtual SP::GPM_Node NewCopyInstance() const
create a new instance
Definition: GPM_Node.h:74
#define tString
Definition: types.h:36
virtual void clearVariables()
clear the variables
Definition: GPM_GraphElement.h:210
virtual void copy(const GPM_GraphElement &node)
copy
Definition: GPM_Node.cpp:19
virtual ~GPM_Node(void)
destroy an object.
Definition: GPM_Node.cpp:16
This class describes an element of a graph.
Definition: GPM_GraphElement.h:17
This class describes a node.
Definition: GPM_Node.h:14
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106