Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

StrucNode Class Reference

A StrucNode represents an entire feature structure. More...

Inheritance diagram for StrucNode:

GenericNode List of all members.

Public Member Functions

virtual void hideUnhideChildNodes (Canvas *canvas, NodeAddress &na, bool hide)
 Sets or clears the NODEFLAG_SHOWHIDDEN flag on all nodes in the feature structure.

virtual void unhideChildNode (Canvas *canvas, NodeAddress &addr, int index)
 Sets the NODEFLAG_SHOWHIDDEN flag on one child node.


Public Attributes

TypeNodetype
 The type of the feature structure.

Listfeatvals
 The list of features and their values.


Detailed Description

A StrucNode represents an entire feature structure.


Member Function Documentation

void StrucNode::hideUnhideChildNodes Canvas canvas,
NodeAddress na,
bool  hide
[virtual]
 

Sets or clears the NODEFLAG_SHOWHIDDEN flag on all nodes in the feature structure.

If the flag is set, and the node is hidden, the node is drawn grayed out even if the global "show hidden" option is not set.

Reimplemented from GenericNode.

void StrucNode::unhideChildNode Canvas canvas,
NodeAddress addr,
int  index
[virtual]
 

Sets the NODEFLAG_SHOWHIDDEN flag on one child node.

Parameters:
canvas the Canvas object that displays the node.
addr the node's address
index the index of the child node. Only nodes count with NODEFLAG_HIDDEN set and NODEFLAG_SHOWHIDDEN not set.

Reimplemented from GenericNode.


Member Data Documentation

List* StrucNode::featvals
 

The list of features and their values.

TypeNode* StrucNode::type
 

The type of the feature structure.


Generated on Sun Apr 27 18:26:58 2003 for Grisu by doxygen1.3