![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <linguisticProcessing/core/Dictionary/DictionaryEntry.h>
Public Member Functions | |
| DictionaryEntry () | |
| creates DictionaryEntry | |
| DictionaryEntry (const DictionaryEntry &) | |
| copy constructor. | |
| DictionaryEntry (const Lima::LimaString &key, unsigned char *stringStartAddr, unsigned char *lingPropertiesStartAddr, unsigned char *startAddr) | |
| virtual | ~DictionaryEntry () |
| destroys DictionaryEntry | |
| DictionaryEntry & | operator= (const DictionaryEntry &) |
| Assignment operator. | |
| DictionaryEntry & | reset () |
| Reset internal iteration pointers of self. | |
| bool | isEmpty () const |
| Returns true if self is empty. | |
| LingInfoEntry | nextLingInfo () |
| Gets the next LingInfoEntry if exists This call "increments" the internal LingInfoEntry pointer. | |
| Lima::LimaString | nextAccented () |
| Gets the next accented entry if exists This call "increments" the internal accented entry pointer. | |
| uint64_t | nextIdiomatic () |
| Gets the next idiomatic entry if exists This call "increments" the internal idiomatic entry pointer. | |
| LingInfoEntry | nextHyphenLingInfo () |
| Gets the next hyphen LingInfoEntry if exists This call "increments" the internal hyphen LingInfoEntry pointer. | |
| ConcatenatedEntry | nextConcatenated () |
| Gets the next ConcatenatedEntry if exists This call "increments" the internal ConcatenatedEntry pointer. | |
| LingPropertyEntry | nextLingProperty () |
| Gets the next LingPropertyEntry if exists This call "increments" the internal LingPropertyEntry pointer. | |
| bool | hasLingInfo () const |
| bool | hasAccented () const |
| bool | hasIdiomatic () const |
| bool | hasHyphenLingInfo () const |
| bool | hasConcatenated () const |
| bool | hasDefaultProperty () const |
| bool | hasAnyLingInfoEntry () const |
| unsigned char * | lingPropertiesStartAddr () |
| const unsigned char * | lingPropertiesStartAddr () const |
| unsigned char * | stringStartAddr () |
| const unsigned char * | stringStartAddr () const |
Public Member Functions inherited from Lima::LinguisticProcessing::Dictionary::BinaryEntry | |
| BinaryEntry () | |
| BinaryEntry (const BinaryEntry &) | |
| virtual | ~BinaryEntry () |
| BinaryEntry & | operator= (const BinaryEntry &entry) |
| uint64_t | getEncodedNumber (unsigned char *&ptr) const |
| uint64_t | getEncodedNumberNoMove (unsigned char *ptr) const |
| uint64_t | getNumber (unsigned char *&ptr, const uint64_t count) const |
| uint64_t | getNumberNoMove (unsigned char *ptr, const uint64_t count) const |
| Lima::LimaString | getString (unsigned char *&ptr) const |
| Lima::LimaString | getStringNoMove (unsigned char *ptr) const |
| Lima::LimaString | getUtf8String (unsigned char *&ptr) const |
| Lima::LimaString | getUtf8StringNoMove (unsigned char *ptr) const |
| unsigned char * | nextField (unsigned char *&ptr) const |
Definition at line 30 of file DictionaryEntry.h.
| Lima::LinguisticProcessing::Dictionary::DictionaryEntry::DictionaryEntry | ( | ) |
creates DictionaryEntry
Definition at line 47 of file DictionaryEntry.cpp.
| Lima::LinguisticProcessing::Dictionary::DictionaryEntry::DictionaryEntry | ( | const DictionaryEntry & | entry | ) |
copy constructor.
Copies the specified DictionaryEntry into self. Internal iteration pointers of self are reset
Definition at line 78 of file DictionaryEntry.cpp.
| Lima::LinguisticProcessing::Dictionary::DictionaryEntry::DictionaryEntry | ( | const Lima::LimaString & | key, |
| unsigned char * | stringStartAddr, | ||
| unsigned char * | lingPropertiesStartAddr, | ||
| unsigned char * | startAddr | ||
| ) |
|
virtual |
destroys DictionaryEntry
Definition at line 154 of file DictionaryEntry.cpp.
|
inline |
Definition at line 134 of file DictionaryEntry.h.
|
inline |
Definition at line 139 of file DictionaryEntry.h.
|
inline |
Definition at line 137 of file DictionaryEntry.h.
|
inline |
Definition at line 138 of file DictionaryEntry.h.
|
inline |
Definition at line 136 of file DictionaryEntry.h.
|
inline |
Definition at line 135 of file DictionaryEntry.h.
|
inline |
Definition at line 133 of file DictionaryEntry.h.
| bool Lima::LinguisticProcessing::Dictionary::DictionaryEntry::isEmpty | ( | ) | const |
Returns true if self is empty.
Definition at line 265 of file DictionaryEntry.cpp.
|
inline |
Definition at line 99 of file DictionaryEntry.h.
|
inline |
Definition at line 100 of file DictionaryEntry.h.
| Lima::LimaString Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextAccented | ( | ) |
Gets the next accented entry if exists This call "increments" the internal accented entry pointer.
If there is no accented entry anymore, an empty LimaString is returned
Definition at line 288 of file DictionaryEntry.cpp.
| ConcatenatedEntry Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextConcatenated | ( | ) |
Gets the next ConcatenatedEntry if exists This call "increments" the internal ConcatenatedEntry pointer.
If there is no Concatenated anymore, an empty ConcatenatedEntry is returned
Definition at line 328 of file DictionaryEntry.cpp.
| LingInfoEntry Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextHyphenLingInfo | ( | ) |
Gets the next hyphen LingInfoEntry if exists This call "increments" the internal hyphen LingInfoEntry pointer.
If there is no hyphen LingInfo anymore, an empty LingInfoEntry is returned
Definition at line 313 of file DictionaryEntry.cpp.
| uint64_t Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextIdiomatic | ( | ) |
Gets the next idiomatic entry if exists This call "increments" the internal idiomatic entry pointer.
If there is no idiomatic entry anymore, a null integer is returned
Definition at line 301 of file DictionaryEntry.cpp.
| LingInfoEntry Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextLingInfo | ( | ) |
Gets the next LingInfoEntry if exists This call "increments" the internal LingInfoEntry pointer.
If there is no LingInfo anymore, an empty LingInfoEntry is returned
Definition at line 273 of file DictionaryEntry.cpp.
| LingPropertyEntry Lima::LinguisticProcessing::Dictionary::DictionaryEntry::nextLingProperty | ( | ) |
Gets the next LingPropertyEntry if exists This call "increments" the internal LingPropertyEntry pointer.
If there is no LingPropertyEntry anymore, an empty LingPropertyEntry is returned
Definition at line 346 of file DictionaryEntry.cpp.
| DictionaryEntry & Lima::LinguisticProcessing::Dictionary::DictionaryEntry::operator= | ( | const DictionaryEntry & | dictionaryEntry | ) |
Assignment operator.
Copies the specified DictionaryEntry into self. Returns a reference to self. After assignment, internal iteration pointers of self are reset
Definition at line 163 of file DictionaryEntry.cpp.
| DictionaryEntry & Lima::LinguisticProcessing::Dictionary::DictionaryEntry::reset | ( | ) |
Reset internal iteration pointers of self.
After this call, self is in its creation state Returns a reference to self.
Definition at line 184 of file DictionaryEntry.cpp.
|
inline |
Definition at line 101 of file DictionaryEntry.h.
|
inline |
Definition at line 102 of file DictionaryEntry.h.