DeltaQt
Version 0.2.0 End user documentation
A C++/Qt library for parsing DELTA (DEscription Language for TAxonomy) files
|
#include <deltacharactertype.h>
Classes | |
struct | Def |
Public Types | |
enum | TypeId { DCT_UnorderedMultistate, DCT_OrderedMultistate, DCT_IntegerNumeric, DCT_RealNumeric, DCT_Text, DCT_PT_Variable, DCT_PT_Unknown, DCT_PT_NotApplicable, DCT_PT_ERROR, DCT_PT_NOTSET } |
Public Member Functions | |
DeltaCharacterType () | |
Static Public Member Functions | |
static const Def * | deltaCharType (TypeId id) |
static const Def * | deltaCharType (QString abbrev) |
static QString | name (TypeId id) |
static unsigned | charTypesCount (void) |
static void | debugOutputCharTypes (void) |
DeltaCharacterType::DeltaCharacterType | ( | ) |
unsigned DeltaCharacterType::charTypesCount | ( | void | ) | [static] |
Returns the number of character types known by DeltaQt.
void DeltaCharacterType::debugOutputCharTypes | ( | void | ) | [static] |
const DeltaCharacterType::Def * DeltaCharacterType::deltaCharType | ( | TypeId | id | ) | [static] |
Returns the character type definition for the character with a TypeId of id. If no definitions match id then NULL is returned.
const DeltaCharacterType::Def * DeltaCharacterType::deltaCharType | ( | QString | abbrev | ) | [static] |
Returns the character type definition of the character with an abbreviated name of abbrev (which is case-sensitive). If no character has an abbreviation of abbrev NULL is returned.
QString DeltaCharacterType::name | ( | TypeId | id | ) | [static] |
Returns the name of the character with TypeId id. If no character matches id an empty string is returned.