DeltaQt  Version 0.2.0 End user documentation
A C++/Qt library for parsing DELTA (DEscription Language for TAxonomy) files
Classes | Public Types | Public Member Functions | Static Public Member Functions
DeltaCharacterType Class Reference

#include <deltacharactertype.h>

List of all members.

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 DefdeltaCharType (TypeId id)
static const DefdeltaCharType (QString abbrev)
static QString name (TypeId id)
static unsigned charTypesCount (void)
static void debugOutputCharTypes (void)

Member Enumeration Documentation

Enumerator:
DCT_UnorderedMultistate 
DCT_OrderedMultistate 
DCT_IntegerNumeric 
DCT_RealNumeric 
DCT_Text 
DCT_PT_Variable 

DELTA "Pseudo Type".

DCT_PT_Unknown 

DELTA "Pseudo Type".

DCT_PT_NotApplicable 

DELTA "Pseudo Type".

DCT_PT_ERROR 

Not DELTA type (used internally)

DCT_PT_NOTSET 

Not DELTA type (used internally)


Constructor & Destructor Documentation

DeltaCharacterType::DeltaCharacterType ( )

Member Function Documentation

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.

See also:
DeltaCharacterType::Def
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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines