LinguisticDefinition::SentencePattern Class Reference

#include <SentencePattern.h>

List of all members.

Public Types

typedef std::vector< const
Element * > 
ElementList
typedef ElementList::const_iterator ElementIterator

Public Member Functions

 SentencePattern ()
 ~SentencePattern ()
 SentencePattern (const SentencePattern &)
bool hasEndOperator () const
bool hasBeginningOperator () const
void setEndOperator (bool=true)
void setBeginningOperator (bool=true)
ElementcreateElement ()
ElementIterator elementsBegin () const
ElementIterator elementsEnd () const
const ElementgetElementAtPosition (int) const
 First is 1.

Classes

class  Element


Detailed Description

Definition at line 20 of file SentencePattern.h.


Member Typedef Documentation

typedef ElementList::const_iterator LinguisticDefinition::SentencePattern::ElementIterator

Definition at line 171 of file SentencePattern.h.

typedef std::vector<const Element *> LinguisticDefinition::SentencePattern::ElementList

Definition at line 170 of file SentencePattern.h.


Constructor & Destructor Documentation

SentencePattern::SentencePattern (  ) 

Definition at line 9 of file SentencePattern.cc.

SentencePattern::~SentencePattern (  ) 

Definition at line 17 of file SentencePattern.cc.

References elementsBegin(), and elementsEnd().

SentencePattern::SentencePattern ( const SentencePattern  ) 

Definition at line 26 of file SentencePattern.cc.

References elementsBegin(), and elementsEnd().


Member Function Documentation

SentencePattern::Element & SentencePattern::createElement (  ) 

Definition at line 81 of file SentencePattern.cc.

Referenced by main().

SentencePattern::ElementIterator SentencePattern::elementsBegin (  )  const

Definition at line 67 of file SentencePattern.cc.

Referenced by SentencePattern(), and ~SentencePattern().

SentencePattern::ElementIterator SentencePattern::elementsEnd (  )  const

Definition at line 74 of file SentencePattern.cc.

Referenced by SentencePattern(), and ~SentencePattern().

const SentencePattern::Element * SentencePattern::getElementAtPosition ( int   )  const

First is 1.

Definition at line 91 of file SentencePattern.cc.

Referenced by LinguisticDefinition::SentencePattern::Element::getNext(), and LinguisticDefinition::SentencePattern::Element::getPrevious().

bool SentencePattern::hasBeginningOperator (  )  const

Definition at line 46 of file SentencePattern.cc.

bool SentencePattern::hasEndOperator (  )  const

Definition at line 39 of file SentencePattern.cc.

void SentencePattern::setBeginningOperator ( bool  = true  ) 

Definition at line 60 of file SentencePattern.cc.

void SentencePattern::setEndOperator ( bool  = true  ) 

Definition at line 53 of file SentencePattern.cc.


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