Package OpenCAGE.GIF.RFG.Nodes.Source

Class RFG_Source_Node_Model

extends OpenCAGE.GIF.RFG.Nodes.RFG_Node_Model

This class represents Entity Nodes. Thus, it knows the specification of RFG entity nodes and has direct access to them.

Operations

public OpenCAGE.GIF.RFG.Nodes.Source.RFG_Source_Node_Model Create( RFGs.Node_Ptr Rfg_Node);

public Boolean Has_Children(void);

Returns true if not Is_Leaf() and Count(Children) > 0, false otherwise. [This description is adopted from 'OpenCAGE.GIF.Node_Model'.]

public OpenCAGE.GIF.Node_Models_Lists.List Get_Children(void);

Returns a list of all children of this node if Is_Leaf() == false, null otherwise. [This description is adopted from 'OpenCAGE.GIF.Node_Model'.]

public OpenCAGE.Actions.Action Get_Action( String Name);

This method returns an Action matching the given name. E.g. if you give "Foo" as the name, you will get a Foo_Action. If this action is not supported by the model behind Node_Model it will throw an Unsupported_Action_Exception. So you either get an Action which is a Foo_Action (i.e. you are allowed to cast and you can be sure the cast works) or an exception is raised. [This description is adopted from 'OpenCAGE.GIF.Node_Model'.]

public Boolean Is_Supported_Action( String Name);

This method returns true if the given action name is supported, i.e. of Get_Action will return an appropriate Action. Otherwise false is returned. [This description is adopted from 'OpenCAGE.GIF.Node_Model'.]

public Add_Child( OpenCAGE.GIF.RFG.Nodes.RFG_Node_Model Child);

Adds a children to the node [This description is adopted from 'OpenCAGE.GIF.RFG.Nodes.RFG_Node_Model'.]

public Remove_Child( OpenCAGE.GIF.RFG.Nodes.RFG_Node_Model Child);

Removes a children from the node [This description is adopted from 'OpenCAGE.GIF.RFG.Nodes.RFG_Node_Model'.]