GvRealNodeMasterData Class Reference

#include <gv_nodemaster.h>

Inheritance diagram for GvRealNodeMasterData:

Public Member Functions

 GvRealNodeMasterData ()
 
virtual ~GvRealNodeMasterData ()
 
virtual Bool Init ()
 
virtual Bool CopyToX (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trn)
 
virtual Bool Read (HyperFile *hf, Int32 id, Int32 level)
 
virtual Bool Write (HyperFile *hf)
 
virtual Int32 GetChunkLevel ()
 
GvRealNodeGetRoot () const
 
- Public Member Functions inherited from NodeData
virtual Bool IsInstanceOf (melange::Int32 id) const
 
 NodeData ()
 
BaseList2DGetNode ()
 
void SetNode (BaseList2D *ptr)
 
BaseTagGetTag (Int32 id)
 
BaseTagMakeTag (Int32 id)
 
- Public Member Functions inherited from PrivateChunk
 PrivateChunk ()
 
Bool ReadChunk (HyperFile *hf, Bool keepin=false, Bool noheader=false)
 
virtual Bool IsListHead ()
 
virtual Int32 GetType () const
 
virtual Int32 GetInstanceType () const
 
Bool ReadObject (HyperFile *hf, Bool readheader)
 
Bool WriteObject (HyperFile *hf, Int32 type)
 
Bool CopyTo (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trans)
 
virtual Bool GetDParameter (const DescID &id, GeData &data)
 
virtual Bool SetDParameter (const DescID &id, const GeData &data)
 
Bool GetParameter (Int32 id, GeData &data)
 
Bool SetParameter (Int32 id, const GeData &data)
 
Bool GetParameter (const DescID &id, GeData &data)
 
Bool SetParameter (const DescID &id, const GeData &data)
 
- Public Member Functions inherited from GeTempPublicNode2D< PrivateChunk >
PrivateChunkGetNext () const
 
PrivateChunkGetPrev () const
 
void InsertBefore (PrivateChunk *n)
 
void InsertAfter (PrivateChunk *n)
 
void Remove ()
 

Static Public Member Functions

static NodeDataAlloc ()
 

Public Attributes

RootPluginNodehead
 

Private Member Functions

void CountConnections (GvRealNode *node, Int32 &count)
 
void WriteConnections (GvRealNode *node, BaseContainer *bc, Int32 &id)
 
Bool ReadConnections (GvRealNode *node, BaseContainer *bc, BaseDocument *doc)
 
void SetNodeIDs (GvRealNode *node, Int32 &id)
 
Bool CopyAllConnections (GvRealNode *sroot, GvRealNode *droot, GvRealNode *snode, GvRealNode *dnode)
 
Int32 GetPort (GvRealNode *node, GvRealPort *port, Int32 &io)
 
Bool CopyNodeConnections (GvRealNode *snode, GvRealNode *dnode, GvGetNode get_node, void *root, Int32 offset=0)
 

Static Private Member Functions

static GvRealNodeGetNode (void *root, Int32 id)
 

Friends

class GvRealNodeMaster
 

Additional Inherited Members

- Public Types inherited from NodeData
typedef PrivateChunk SUPER
 
- Protected Member Functions inherited from NodeData
virtual void Free ()
 
virtual Bool Execute ()
 
virtual Int32 GetDiskType () const
 
virtual Bool TranslateDescID (GeListNode *node, const DescID &id, DescID &res_id, GeListNode *&res_at)
 
- Protected Member Functions inherited from PrivateChunk
virtual Bool HandleSubChunk (HyperFile *hf, Int32 id, Int32 level)
 

Detailed Description

Since
R20

Constructor & Destructor Documentation

◆ GvRealNodeMasterData()

◆ ~GvRealNodeMasterData()

virtual ~GvRealNodeMasterData ( )
virtual

Member Function Documentation

◆ Init()

virtual Bool Init ( )
virtual

Called when an instance of a derived node data class needs to be initialized.

Returns
true if successful, otherwise false.

Reimplemented from NodeData.

◆ CopyToX()

virtual Bool CopyToX ( PrivateChunk dst,
COPYFLAGS  flags,
AliasTrans trans 
)
virtual

Private.

Reimplemented from NodeData.

◆ Read()

virtual Bool Read ( HyperFile hf,
Int32  id,
Int32  level 
)
virtual

Reads the node from a hyper file.

Parameters
[in]hfThe hyper file to read from. Melange owns the pointed hyper file.
[in]idThe ID of the node to read.
[in]levelThe disklevel of the node to read.
Returns
true if successful, otherwise false.

Reimplemented from NodeData.

◆ Write()

virtual Bool Write ( HyperFile hf)
virtual

Reimplemented from PrivateChunk.

◆ GetChunkLevel()

virtual Int32 GetChunkLevel ( )
virtual

Reimplemented from PrivateChunk.

◆ Alloc()

static NodeData* Alloc ( )
static

◆ GetRoot()

GvRealNode* GetRoot ( ) const

◆ CountConnections()

void CountConnections ( GvRealNode node,
Int32 count 
)
private

◆ WriteConnections()

void WriteConnections ( GvRealNode node,
BaseContainer bc,
Int32 id 
)
private

◆ ReadConnections()

Bool ReadConnections ( GvRealNode node,
BaseContainer bc,
BaseDocument doc 
)
private

◆ SetNodeIDs()

void SetNodeIDs ( GvRealNode node,
Int32 id 
)
private

◆ CopyAllConnections()

Bool CopyAllConnections ( GvRealNode sroot,
GvRealNode droot,
GvRealNode snode,
GvRealNode dnode 
)
private

◆ GetPort()

Int32 GetPort ( GvRealNode node,
GvRealPort port,
Int32 io 
)
private

◆ CopyNodeConnections()

Bool CopyNodeConnections ( GvRealNode snode,
GvRealNode dnode,
GvGetNode  get_node,
void *  root,
Int32  offset = 0 
)
private

◆ GetNode()

static GvRealNode* GetNode ( void *  root,
Int32  id 
)
staticprivate

Friends And Related Function Documentation

◆ GvRealNodeMaster

friend class GvRealNodeMaster
friend

Member Data Documentation

◆ head