Main Page | Modules | Namespace List | Compound List | File List | Compound Members | File Members | Related Pages

JXDictionaryEntry Class Reference
[LeJa]

manages information about single dictionary entries More...

#include <JXDictionary.h>

List of all members.

Public Member Functions

 JXDictionaryEntry ()
 default constructor

 ~JXDictionaryEntry ()
 default destructor

bool SetKanji (UMString &umstring)
 sets value of m_kanji member variable

bool SetGram (UMString &umstring)
 sets value of m_gram_array member variable

bool SetLesung (UMString &umstring)
 sets value of m_lesung member variable

bool SetEngl (UMString &umstring)
 sets value of m_engl member variable

bool SetDt (UMString &umstring)
 sets value of m_dt member variable

bool isInGram (string &str)
 searches in the grammar array for string

UMStringgetKanji ()
 returns value of m_kanji member variable

string getKanjiString ()
 returns value of m_kanji member variable in form of a string

UMStringgetLesung ()
 returns value of m_lesung member variable

string getLesungString ()
 returns string storing value of m_lesung member variable

UMStringgetEngl ()
 returns value of m_engl member variable

string getEnglString ()
 returns string storing value of m_engl member variable

int getGramCount ()
 returns number of elements in m_gram_array

string * getGramStringArray ()
 returns pointer to m_gram_array member variable

UMStringgetDt ()
 returns value of m_dt member variable

string getDtString ()
 returns value of m_dt member variable in form of a string


Private Attributes

UMString m_kanji
UMString m_lesung
UMString m_engl
UMString m_dt
string m_gram_array [MAXFLEXART]
int m_gram_count


Detailed Description

manages information about single dictionary entries

Author:
Iris Vogel iris@urz.uni-heidelberg.de
Date:
Aug 2003
Version:
0.8/15
See also:
JXDictionary.h


Constructor & Destructor Documentation

JXDictionaryEntry::JXDictionaryEntry  ) 
 

default constructor

JXDictionaryEntry::~JXDictionaryEntry  ) 
 

default destructor


Member Function Documentation

UMString* JXDictionaryEntry::getDt  )  [inline]
 

returns value of m_dt member variable

Returns:
UMString pointer to German translation

string JXDictionaryEntry::getDtString  )  [inline]
 

returns value of m_dt member variable in form of a string

Returns:
string with the value for the German translation

UMString* JXDictionaryEntry::getEngl  )  [inline]
 

returns value of m_engl member variable

Returns:
UMString pointer English translation

string JXDictionaryEntry::getEnglString  )  [inline]
 

returns string storing value of m_engl member variable

Returns:
string with English translation

int JXDictionaryEntry::getGramCount  )  [inline]
 

returns number of elements in m_gram_array

Returns:
number of elements stored in the grammar arrayy

string* JXDictionaryEntry::getGramStringArray  )  [inline]
 

returns pointer to m_gram_array member variable

Returns:
string pointer to grammar array

UMString* JXDictionaryEntry::getKanji  )  [inline]
 

returns value of m_kanji member variable

Returns:
UMString pointer to m_kanji member variable

string JXDictionaryEntry::getKanjiString  )  [inline]
 

returns value of m_kanji member variable in form of a string

Returns:
string with the value kanji string

UMString* JXDictionaryEntry::getLesung  )  [inline]
 

returns value of m_lesung member variable

Returns:
UMString pointer to reading variable

string JXDictionaryEntry::getLesungString  )  [inline]
 

returns string storing value of m_lesung member variable

Returns:
string with English reading

bool JXDictionaryEntry::isInGram string &  str  ) 
 

searches in the grammar array for string

Parameters:
str string that is being searched
Returns:
true if found

false if not found

bool JXDictionaryEntry::SetDt UMString umstring  )  [inline]
 

sets value of m_dt member variable

Parameters:
umstring carrying German translation
Returns:
true

bool JXDictionaryEntry::SetEngl UMString umstring  )  [inline]
 

sets value of m_engl member variable

Parameters:
umstring carrying English translation
Returns:
true

bool JXDictionaryEntry::SetGram UMString umstring  ) 
 

sets value of m_gram_array member variable

Parameters:
umstring carrying grammar
Returns:
true

bool JXDictionaryEntry::SetKanji UMString umstring  )  [inline]
 

sets value of m_kanji member variable

Parameters:
umstring carrying kanji
Returns:
true

bool JXDictionaryEntry::SetLesung UMString umstring  )  [inline]
 

sets value of m_lesung member variable

Parameters:
umstring carrying reading
Returns:
true


Member Data Documentation

UMString JXDictionaryEntry::m_dt [private]
 

member variable for storing German translation

UMString JXDictionaryEntry::m_engl [private]
 

member variable for storing English translation

string JXDictionaryEntry::m_gram_array[MAXFLEXART] [private]
 

maximal number of kinds of flexation

int JXDictionaryEntry::m_gram_count [private]
 

number of entries in grammar tag

UMString JXDictionaryEntry::m_kanji [private]
 

member variable for storing kanji string

UMString JXDictionaryEntry::m_lesung [private]
 

member variable for storing reading


The documentation for this class was generated from the following files:
Generated on Mon Aug 18 19:27:10 2003 for LeJa by doxygen 1.3.3