GvRealNodeData Class Reference

#include <gv_node.h>

Inheritance diagram for GvRealNodeData:

Public Member Functions

 GvRealNodeData ()
 
virtual ~GvRealNodeData ()
 
virtual Bool Init ()
 
virtual Bool Read (HyperFile *hf, Int32 id, Int32 level)
 
virtual Bool Write (HyperFile *hf)
 
virtual Bool CopyToX (PrivateChunk *dest, COPYFLAGS flags, AliasTrans *trn)
 
virtual Bool IsInstanceOf (const GeListNode *node, Int32 type) const
 
virtual Int32 GetChunkLevel ()
 
virtual Int32 GetType () const
 
Bool CopyData (GvRealNodeData *dest, AliasTrans *trn=nullptr)
 
Int32 GetGvNodeIndex () const
 
GvPortArrayGetInPorts ()
 
GvPortArrayGetOutPorts ()
 
Int32 GetInPortCount () const
 
Int32 GetOutPortCount () const
 
GvRealPortGetInPort (Int32 n) const
 
GvRealPortGetOutPort (Int32 n) const
 
GvRealPortGetInPortSubID (Int32 id) const
 
GvRealPortGetOutPortSubID (Int32 id) const
 
GvRealPortGetPortSubID (Int32 id) const
 
GvRealPortAddPortIntern (GvPortIO io, Int32 id, GvPortFlags flags, Int32 sub_id, Int32 data_id)
 
Int32 GetUniquePortID ()
 
void SetGvNodeIndex (Int32 t_index)
 
- 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 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

Int32 init_pos_x
 
Int32 init_pos_y
 
Bool old_coords
 

Protected Attributes

GvPortArray in_ports
 
GvPortArray out_ports
 
Int32 _index
 
Int32 owner
 
UInt32 _flags
 
UInt32 state
 
UInt32 busymask
 
UInt32 recursion
 
Vector color
 
Bool changedColor
 

Friends

class GvRealNode
 
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

◆ GvRealNodeData()

◆ ~GvRealNodeData()

virtual ~GvRealNodeData ( )
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.

◆ 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.

◆ CopyToX()

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

Private.

Reimplemented from NodeData.

◆ IsInstanceOf()

virtual Bool IsInstanceOf ( const GeListNode node,
Int32  type 
) const
virtual

◆ GetChunkLevel()

virtual Int32 GetChunkLevel ( )
virtual

Reimplemented from PrivateChunk.

◆ Alloc()

static NodeData* Alloc ( )
static

◆ GetType()

virtual Int32 GetType ( ) const
virtual

Reimplemented from PrivateChunk.

Reimplemented in GvRealGroupData.

◆ CopyData()

Bool CopyData ( GvRealNodeData dest,
AliasTrans trn = nullptr 
)

◆ GetGvNodeIndex()

Int32 GetGvNodeIndex ( ) const

◆ GetInPorts()

GvPortArray& GetInPorts ( )

◆ GetOutPorts()

GvPortArray& GetOutPorts ( )

◆ GetInPortCount()

Int32 GetInPortCount ( ) const

◆ GetOutPortCount()

Int32 GetOutPortCount ( ) const

◆ GetInPort()

GvRealPort* GetInPort ( Int32  n) const

◆ GetOutPort()

GvRealPort* GetOutPort ( Int32  n) const

◆ GetInPortSubID()

GvRealPort* GetInPortSubID ( Int32  id) const

◆ GetOutPortSubID()

GvRealPort* GetOutPortSubID ( Int32  id) const

◆ GetPortSubID()

GvRealPort* GetPortSubID ( Int32  id) const

◆ AddPortIntern()

GvRealPort* AddPortIntern ( GvPortIO  io,
Int32  id,
GvPortFlags  flags,
Int32  sub_id,
Int32  data_id 
)

◆ GetUniquePortID()

Int32 GetUniquePortID ( )

◆ SetGvNodeIndex()

void SetGvNodeIndex ( Int32  t_index)

Friends And Related Function Documentation

◆ GvRealNode

friend class GvRealNode
friend

◆ GvRealNodeMaster

friend class GvRealNodeMaster
friend

Member Data Documentation

◆ in_ports

GvPortArray in_ports
protected

◆ out_ports

GvPortArray out_ports
protected

◆ _index

Int32 _index
protected

◆ owner

Int32 owner
protected

◆ _flags

UInt32 _flags
protected

◆ state

UInt32 state
protected

◆ busymask

UInt32 busymask
protected

◆ recursion

UInt32 recursion
protected

◆ color

Vector color
protected

◆ changedColor

Bool changedColor
protected

◆ init_pos_x

Int32 init_pos_x

◆ init_pos_y

Int32 init_pos_y

◆ old_coords

Bool old_coords