lib
SymbolTable Class Reference
#include <symboltable.h>
Detailed Description
The symbol table.It contains all names that are know to the system.
Definition at line 101 of file symboltable.h.
Public Types | |
typedef QMap< QChar, CharTableEntry > | UnicodeTable |
typedef QMap< QChar, QString > | NameTable |
typedef QMap< QString, QChar > | EntryTable |
typedef QValueVector< QFont > | FontTable |
Public Member Functions | |
SymbolTable () | |
void | init (ContextStyle *context) |
bool | contains (QString name) const |
QChar | unicode (QString name) const |
QString | name (QChar symbol) const |
const CharTableEntry & | entry (QChar symbol, CharStyle style=normalChar) const |
QFont | font (QChar symbol, CharStyle style=normalChar) const |
QChar | character (QChar symbol, CharStyle style=normalChar) const |
CharClass | charClass (QChar symbol, CharStyle style=normalChar) const |
QChar | unicodeFromSymbolFont (QChar pos) const |
QString | greekLetters () const |
QStringList | allNames () const |
bool | inTable (QChar ch, CharStyle style=anyChar) const |
void | initFont (const InternFontTable *table, const char *fontname, const NameTable &tempNames) |
Member Function Documentation
QStringList SymbolTable::allNames | ( | ) | const |
QString SymbolTable::greekLetters | ( | ) | const |
void SymbolTable::init | ( | ContextStyle * | context | ) |
QChar SymbolTable::unicode | ( | QString | name | ) | const |
- Returns:
- the char in the symbol font that belongs to the given name.
Definition at line 100 of file symboltable.cc.
QChar SymbolTable::unicodeFromSymbolFont | ( | QChar | pos | ) | const |
The documentation for this class was generated from the following files: