ULAPI
8.0
|
A ULDictionaryDescriptor describes a particular type of dictionary data source without uniquely specifying the file or database from which it comes. For example, if there are two English-French Ultralingua dictionary data source modules, either or both of them could be identified by specifying the same ULDictionaryDescriptor. More...
#include <uldictionarydescriptor.h>
Public Member Functions | |
ULDictionaryDescriptor () | |
ULDictionaryDescriptor (const ULLanguage &first, const ULLanguage &second) | |
ULDictionaryDescriptor (const ULDictionaryDescriptor &other) | |
virtual | ~ULDictionaryDescriptor () |
void | clear () |
ULDictionaryDescriptor & | operator= (const ULDictionaryDescriptor &other) |
bool | operator== (const ULDictionaryDescriptor &other) const |
bool | operator< (const ULDictionaryDescriptor &other) const |
void | setLanguages (const ULLanguage &first, const ULLanguage &second) |
void | getLanguages (ULLanguage &first, ULLanguage &second) const |
const ULLanguage & | getFirstLanguage () const |
const ULLanguage & | getSecondLanguage () const |
A ULDictionaryDescriptor describes a particular type of dictionary data source without uniquely specifying the file or database from which it comes. For example, if there are two English-French Ultralingua dictionary data source modules, either or both of them could be identified by specifying the same ULDictionaryDescriptor.
TODO: Decide what this is other than a language pair.
ULDictionaryDescriptor::ULDictionaryDescriptor | ( | ) |
Default constructor.
ULDictionaryDescriptor::ULDictionaryDescriptor | ( | const ULLanguage & | first, |
const ULLanguage & | second | ||
) |
Constructor.
ULDictionaryDescriptor::ULDictionaryDescriptor | ( | const ULDictionaryDescriptor & | other | ) |
Copy constructor.
|
virtual |
Destructor.
void ULDictionaryDescriptor::clear | ( | ) |
Sets this descriptor to its default state.
const ULLanguage & ULDictionaryDescriptor::getFirstLanguage | ( | ) | const |
void ULDictionaryDescriptor::getLanguages | ( | ULLanguage & | first, |
ULLanguage & | second | ||
) | const |
Gets the languages stored in this descriptor.
const ULLanguage & ULDictionaryDescriptor::getSecondLanguage | ( | ) | const |
bool ULDictionaryDescriptor::operator< | ( | const ULDictionaryDescriptor & | other | ) | const |
Less than operator.
ULDictionaryDescriptor & ULDictionaryDescriptor::operator= | ( | const ULDictionaryDescriptor & | other | ) |
Assignment operator.
bool ULDictionaryDescriptor::operator== | ( | const ULDictionaryDescriptor & | other | ) | const |
Equality operator.
void ULDictionaryDescriptor::setLanguages | ( | const ULLanguage & | first, |
const ULLanguage & | second | ||
) |
Assigns new values to this descriptor's languages.