#include <Flexform.h>
Public Member Functions | |
JVerbalFlexion () | |
default constructor | |
JVerbalFlexion (const string *, const int) | |
more realistic constructor | |
JVerbalFlexion (const string *vform, const int stufe, vflexform vflex, string &name, string &flxart, string &rqflxart) | |
complete constructor | |
~JVerbalFlexion () | |
default destructor | |
void | SetName (string &nm) |
sets value of member variable m_name | |
void | SetReqForm (vflexform af) |
sets value of member variable m_reqform | |
void | AddReqFlex (string &af) |
adds required flexform to vector m_reqflexart | |
void | SetFlex (string &f) |
sets value of member variable m_flexart | |
void | GetName (string &name) |
returns name | |
string | GetName () |
returns member m_name | |
int | GetStufe () |
returns level | |
void | GetStufe (int &stufe) |
returns returns level | |
void | GetReqForm (vflexform &reqform) |
returns required flexform | |
vflexform | GetReqForm () |
returns required flexform | |
string & | GetFlexArt () |
returns required kind of flexation | |
vector< string > | GetReqFlexArt () |
returns required flexform | |
void | Print () |
prints the loaded flexation to stdout | |
void | PrintName () |
prints the name flexation to stdout (obsolete) | |
vflexform | GetFormOfString (string &str) |
lookup in the map of strings and forms | |
string | GetStringOfForm (vflexform) |
lookup in the map of strings and forms | |
bool | IsStringOfForm (string &str, vflexform vf) |
checks string and form in specification | |
Private Types | |
typedef vector< string >::const_iterator | VIT |
typedef map< vflexform, string >::const_iterator | IT |
Private Attributes | |
int | m_level |
string | m_name |
vflexform | m_reqform |
string | m_flexart |
vector< string > | m_reqflexart |
map< vflexform, string > | m_vflexform |
|
iterator for m_vflexform member variable |
|
|
|
default constructor sets member variables to default values |
|
more realistic constructor sets the value pair for the flexation
|
|
complete constructor sets values of all the member variables
|
|
default destructor
|
|
adds required flexform to vector m_reqflexart
|
|
returns required kind of flexation
|
|
lookup in the map of strings and forms
|
|
returns member m_name
|
|
returns name
|
|
returns required flexform
|
|
returns required flexform
|
|
returns required flexform
|
|
lookup in the map of strings and forms
|
|
returns returns level
|
|
returns level
|
|
checks string and form in specification
|
|
prints the loaded flexation to stdout
|
|
prints the name flexation to stdout (obsolete)
|
|
sets value of member variable m_flexart
|
|
sets value of member variable m_name
|
|
sets value of member variable m_reqform
|
|
kind of flexation (corresponds to 'verbflex form' attribut in XML grammar file) |
|
level (corresponds to 'Position' in XML grammar file) |
|
name (corresponds to 'name'in XML grammar file) |
|
requires kind of flexation (corresponds to 'reqform' in XML grammar file) |
|
required flexform in next lower level (corresponds to 'req_form'in XML grammar file) |
|
a map to store the flexform and corresponding string |