#include <SentencePattern.h>
Public Member Functions | |
| Element (const SentencePattern &, int listPosition) | |
| const SentencePattern & | getSentencePattern () const |
| const WordPattern & | getWordPattern () const |
| const WordPattern & | getHeadPattern () const |
| WordPattern & | getModifiableWordPattern () |
| WordPattern & | getModifiableHeadPattern () |
| bool | hasHeadPattern () const |
| int | getMinimumLoopCount () const |
| int | getMaximumLoopCount () const |
| bool | hasOnlyOperator () const |
| bool | isWildcard () const |
| void | setMinimumLoopCount (int) |
| void | setMaximumLoopCount (int) |
| void | setOnlyOperator (bool=true) |
| const Element * | getNext () const |
| const Element * | getPrevious () const |
| int | getPatternPosition () const |
| First is 1. | |
Friends | |
| class | SentencePattern |
Definition at line 61 of file SentencePattern.h.
| SentencePattern::Element::Element | ( | const SentencePattern & | , | |
| int | listPosition | |||
| ) |
Definition at line 101 of file SentencePattern.cc.
| const WordPattern & SentencePattern::Element::getHeadPattern | ( | ) | const |
Definition at line 127 of file SentencePattern.cc.
| int SentencePattern::Element::getMaximumLoopCount | ( | ) | const |
Definition at line 164 of file SentencePattern.cc.
| int SentencePattern::Element::getMinimumLoopCount | ( | ) | const |
Definition at line 157 of file SentencePattern.cc.
| WordPattern & SentencePattern::Element::getModifiableHeadPattern | ( | ) |
Definition at line 141 of file SentencePattern.cc.
| WordPattern & SentencePattern::Element::getModifiableWordPattern | ( | ) |
Definition at line 134 of file SentencePattern.cc.
| const SentencePattern::Element * SentencePattern::Element::getNext | ( | ) | const |
Definition at line 209 of file SentencePattern.cc.
References LinguisticDefinition::SentencePattern::getElementAtPosition().
| int SentencePattern::Element::getPatternPosition | ( | ) | const |
| const SentencePattern::Element * SentencePattern::Element::getPrevious | ( | ) | const |
Definition at line 216 of file SentencePattern.cc.
References LinguisticDefinition::SentencePattern::getElementAtPosition().
| const SentencePattern & SentencePattern::Element::getSentencePattern | ( | ) | const |
Definition at line 113 of file SentencePattern.cc.
| const WordPattern & SentencePattern::Element::getWordPattern | ( | ) | const |
Definition at line 120 of file SentencePattern.cc.
| bool SentencePattern::Element::hasHeadPattern | ( | ) | const |
Definition at line 148 of file SentencePattern.cc.
References LinguisticDefinition::WordPattern::getRootElement().
| bool SentencePattern::Element::hasOnlyOperator | ( | ) | const |
Definition at line 171 of file SentencePattern.cc.
| bool SentencePattern::Element::isWildcard | ( | ) | const |
Definition at line 178 of file SentencePattern.cc.
References LinguisticDefinition::WordPattern::GroupElement::elementsBegin(), LinguisticDefinition::WordPattern::GroupElement::elementsEnd(), and LinguisticDefinition::WordPattern::getRootElement().
| void SentencePattern::Element::setMaximumLoopCount | ( | int | ) |
Definition at line 195 of file SentencePattern.cc.
| void SentencePattern::Element::setMinimumLoopCount | ( | int | ) |
Definition at line 188 of file SentencePattern.cc.
| void SentencePattern::Element::setOnlyOperator | ( | bool | = true |
) |
Definition at line 202 of file SentencePattern.cc.
friend class SentencePattern [friend] |
Definition at line 62 of file SentencePattern.h.
1.4.7