returns article for word by index
| 840 | |
| 841 | /// returns article for word by index |
| 842 | const char * TinyDictWordList::getArticle( int index ) |
| 843 | { |
| 844 | if ( !dict ) |
| 845 | return NULL; |
| 846 | if ( index<0 || index>=count ) |
| 847 | return NULL; |
| 848 | return dict->getData()->read( list[index] ); |
| 849 | } |
| 850 | |
| 851 | /// searches dictionary for specified word, caller is responsible for deleting of returned object |
| 852 | TinyDictWordList * TinyDictionary::find( const char * prefix, int options ) |