_XDXFWordsTransData Struct Reference
[Dictionary Engine - XDXF format]

Structure to help parse xdxf file for searching word's translation. More...


Data Fields

gchar * last_word
 last found word in dictionary
gchar * word
 word to search translation for
guint word_len
 length of word
guint last_word_length
 length of last found word
gchar * translation
 found translation or NULL if such was not found
guint one_word
 1 while engine is parsing whole particular word (k tag), 0 otherwise
gboolean cont
 do we need to continue searching
gulong last_start
 keeps offset in file of last found article (word plus translation)
XML_Parser * parser
 pointer to expat XML parser
gboolean found
 telling if translation was found
GnomeVFSHandle * xdxf
 pointer to dictionary file


Detailed Description

Structure to help parse xdxf file for searching word's translation.

Definition at line 142 of file engine_xdxf.h.


Field Documentation

gchar* _XDXFWordsTransData::last_word

last found word in dictionary

Definition at line 144 of file engine_xdxf.h.

Referenced by search_word_trans_end(), search_word_trans_start(), and search_word_trans_text().

gchar* _XDXFWordsTransData::word

word to search translation for

Definition at line 146 of file engine_xdxf.h.

Referenced by search_word_trans_end().

guint _XDXFWordsTransData::word_len

length of word

Definition at line 148 of file engine_xdxf.h.

Referenced by search_word_trans_end().

guint _XDXFWordsTransData::last_word_length

length of last found word

Definition at line 150 of file engine_xdxf.h.

Referenced by search_word_trans_end(), search_word_trans_start(), and search_word_trans_text().

gchar* _XDXFWordsTransData::translation

found translation or NULL if such was not found

Definition at line 152 of file engine_xdxf.h.

Referenced by search_word_trans_end(), search_word_trans_start(), search_word_trans_text(), and word_translation_xdxf().

guint _XDXFWordsTransData::one_word

1 while engine is parsing whole particular word (k tag), 0 otherwise

Definition at line 154 of file engine_xdxf.h.

Referenced by search_word_trans_end(), search_word_trans_start(), and search_word_trans_text().

gboolean _XDXFWordsTransData::cont

do we need to continue searching

Definition at line 157 of file engine_xdxf.h.

Referenced by search_word_trans_end(), search_word_trans_start(), search_word_trans_text(), and word_translation_xdxf().

gulong _XDXFWordsTransData::last_start

keeps offset in file of last found article (word plus translation)

Definition at line 159 of file engine_xdxf.h.

Referenced by search_word_trans_end(), and search_word_trans_start().

XML_Parser* _XDXFWordsTransData::parser

pointer to expat XML parser

Definition at line 162 of file engine_xdxf.h.

Referenced by search_word_trans_end(), and search_word_trans_start().

gboolean _XDXFWordsTransData::found

telling if translation was found

Definition at line 164 of file engine_xdxf.h.

Referenced by search_word_trans_end().

GnomeVFSHandle* _XDXFWordsTransData::xdxf

pointer to dictionary file

Definition at line 166 of file engine_xdxf.h.

Referenced by search_word_trans_end().


The documentation for this struct was generated from the following file:
Generated on Fri Jan 11 14:30:18 2008 for mDictionary Project by  doxygen 1.5.1