Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

YadaWordgraph Class Reference
[YadaConfiguration - managing configurations]

Collaboration diagram for YadaWordgraph:

Collaboration graph
[legend]
List of all members.

Detailed Description

YadaWordgraph - bundled information about a wordgraph. This class represents a wordgraph in a YadaGrammar. Scanning a YadaGrammar (see YadaGrammar::scan()) results in bunch of YadaWordgraph s being constructed.

Author:
Michael Daum
Id
YadaWordgraph.tcl,v 1.10 2004/02/26 14:23:37 ddreyer Exp

Definition at line 21 of file YadaWordgraph.tcl.

Public Member Functions

 clone (TclList args)
 fromDOM (domNode rootNode)
 getWords ()
 readXmlAnno (DomNode annoNode)
 readXmlNode (DomNode latticeNode)
 toDOM ()
 writeXmlNode (FileHandle file)
 YadaWordgraph (TclList args)

Public Attributes

TclList arcs = {}
TclString file = ""
TclNumber isSelected = 0
TclRef isTrivial = false
TclNumber lineNo = 0
TclString name = ""
TclNumber noAnnoEdges = 0
TclNumber noAnnoWords = 0


Constructor & Destructor Documentation

YadaWordgraph::YadaWordgraph TclList  args  ) 
 

constructor

Definition at line 65 of file YadaWordgraph.tcl.


Member Function Documentation

YadaWordgraph::clone TclList  args  ) 
 

clone

Definition at line 242 of file YadaWordgraph.tcl.

YadaWordgraph::fromDOM domNode  rootNode  ) 
 

Initialize wordgraph with DOM node (that saves the object state)

Parameters:
rootNode root DOM-Node (Tag <yadawordgraph>)
Definition at line 110 of file YadaWordgraph.tcl.

YadaWordgraph::getWords  ) 
 

getWords

Definition at line 230 of file YadaWordgraph.tcl.

YadaWordgraph::readXmlAnno DomNode  annoNode  ) 
 

readXmlAnno

Definition at line 164 of file YadaWordgraph.tcl.

YadaWordgraph::readXmlNode DomNode  latticeNode  ) 
 

readXmlNode

Definition at line 176 of file YadaWordgraph.tcl.

YadaWordgraph::toDOM  ) 
 

Serializes Object into a DOM-XML-Node

Returns:
root DOM node representing the wordgraph
Definition at line 73 of file YadaWordgraph.tcl.

YadaWordgraph::writeXmlNode FileHandle  file  ) 
 

writeXmlNode

Definition at line 216 of file YadaWordgraph.tcl.


Member Data Documentation

TclList YadaWordgraph::arcs = {}
 

list of word arcs making up the wordgraph

Definition at line 42 of file YadaWordgraph.tcl.

TclString YadaWordgraph::file = ""
 

filename which this wordgraph has been extracted from

Definition at line 30 of file YadaWordgraph.tcl.

TclNumber YadaWordgraph::isSelected = 0
 

flag indicating whether wordgraph has been selected

Definition at line 39 of file YadaWordgraph.tcl.

TclRef YadaWordgraph::isTrivial = false
 

flag indicating whether the wordgraph is trivial (linear) or not

Definition at line 36 of file YadaWordgraph.tcl.

TclNumber YadaWordgraph::lineNo = 0
 

linenumber in the file where this wordgraph has been defined

Definition at line 33 of file YadaWordgraph.tcl.

TclString YadaWordgraph::name = ""
 

name of the wordgraph

Definition at line 27 of file YadaWordgraph.tcl.

TclNumber YadaWordgraph::noAnnoEdges = 0
 

number of edges in the related annotation

Definition at line 45 of file YadaWordgraph.tcl.

TclNumber YadaWordgraph::noAnnoWords = 0
 

number of words in the related annotation

Definition at line 48 of file YadaWordgraph.tcl.


The documentation for this class was generated from the following file:
YADA 2.0-alpha (20 Oct 2004)