#include <LingDef.h>
Public Member Functions | |
~Node () | |
Node & | createChildNode (const std::string &name) |
Tree & | getParentTree () 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 |
Definition at line 203 of file LingDef.h.
LingDef::Tree::Node::~Node | ( | ) |
Definition at line 851 of file LingDef.cc.
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.