LinguisticDefinition::LingDef::Tree::Node Class Reference

#include <LingDef.h>

List of all members.

Public Member Functions

 ~Node ()
NodecreateChildNode (const std::string &name)
TreegetParentTree () const
 Returns a reference to the tree in which this node is defined.
const std::string & getName () const
bool isAncestorOf (const Node &) const
 Returns whether a this node is an ancestor (parent or parent of parent) to a certain node.

Friends

class Tree


Detailed Description

Definition at line 203 of file LingDef.h.


Constructor & Destructor Documentation

LingDef::Tree::Node::~Node (  ) 

Definition at line 851 of file LingDef.cc.


Member Function Documentation

Node& LinguisticDefinition::LingDef::Tree::Node::createChildNode ( const std::string &  name  ) 

const string & LingDef::Tree::Node::getName (  )  const

Definition at line 901 of file LingDef.cc.

Referenced by LinguisticDefinition::LingDef::Tree::Tree().

LingDef::Tree & LingDef::Tree::Node::getParentTree (  )  const

Returns a reference to the tree in which this node is defined.

Definition at line 894 of file LingDef.cc.

bool LingDef::Tree::Node::isAncestorOf ( const Node  )  const

Returns whether a this node is an ancestor (parent or parent of parent) to a certain node.

If this node is concrete, and the passed node is human, then true will be returned.

Definition at line 926 of file LingDef.cc.

References LinguisticDefinition::LingDef::Tree::d_grandChildAncestorPairSet.


Friends And Related Function Documentation

friend class Tree [friend]

Definition at line 204 of file LingDef.h.


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 14:03:15 2006 for LinguisticDefinition by  doxygen 1.4.7