1 #ifndef GPM_ModelParentNode_H
2 #define GPM_ModelParentNode_H
35 SV::GPM_ModelChildNode mChildren;
109 return mChildren.getSize();
114 virtual void getLeaves(SV::GPM_ModelChildNode& nodes);
DEFINE_SPTR(GPM_ModelChildNode)
void addToChildren(SP::GPM_ModelChildNode child)
add to children
Definition: GPM_ModelParentNode.cpp:14
This class describes a model parent node for tree.
Definition: GPM_ModelParentNode.h:20
void setName(const tString &name)
set name
Definition: GPM_ModelParentNode.h:64
#define tBoolean
Definition: types.h:35
virtual void getLeaves(SV::GPM_ModelChildNode &nodes)
get the leaves
Definition: GPM_ModelParentNode.cpp:49
virtual ~GPM_ModelParentNode(void)
destroy
Definition: GPM_ModelParentNode.cpp:11
tBoolean isBuild() const
return true if the node is build
Definition: GPM_ModelParentNode.h:103
GPM_ModelParentNode(void)
create
Definition: GPM_ModelParentNode.cpp:6
int getIndex() const
get the index
Definition: GPM_ModelParentNode.h:98
tString getName() const
set name
Definition: GPM_ModelParentNode.h:93
This class describes a model parent node for tree.
Definition: GPM_ModelChildNode.h:18
int getChildrenNumber() const
get the children number
Definition: GPM_ModelParentNode.h:108
#define tString
Definition: types.h:36
void removeFromChildren(SP::GPM_ModelChildNode child)
remove the child
Definition: GPM_ModelParentNode.cpp:32
void setIsBuild(const tBoolean &v)
set if the node is build
Definition: GPM_ModelParentNode.h:74
DEFINE_SVPTR(GPM_ModelChildNode)
void clear()
clear
Definition: GPM_ModelParentNode.cpp:45
void setIndex(const int &i)
set the index
Definition: GPM_ModelParentNode.h:69
This class is the base class of all graph classes.
Definition: GPM_Object.h:17