
Public Types | |
| enum | State { AtTop, InUnitConf, InDimensions, InPrefixes, InDimensionGroups, InUnitSystems, InDimension, InPrefix, InGroup, InDimPower, InUnit, InSystem, InStdUnit, Unknown } |
Public Methods | |
| UnitConfParserState () | |
| ~UnitConfParserState () | |
| void | startElement ( const CHAR* name, const CHAR** attrs ) |
| void | endElement ( const CHAR* name ) |
| void | characters ( const CHAR* val, int len ) |
| void | startDocument () |
| void | endDocument () |
| xmlEntityPtr | getEntity ( const CHAR* name ) |
| void | reset () |
Protected Methods | |
| void | terminateBuffer () |
| void | copyBufferTo ( CHAR*& ) |
| void | emptyData ( CHAR*& ) |
Protected Attributes | |
| State | level |
| State | unknownRecover |
| int | unknownDepth |
| DimensionGroup* | curGroup |
| UnitSystem* | curSys |
| vector<DimensionPower> | grpPowers |
| CHAR* | buffer |
| int | buflen |
| int | bufmax |
| bool | rememberString |
| CHAR* | nameData |
| CHAR* | plurData |
| CHAR* | symData |
| CHAR | chrData |
| double | scale |
| double | offset |
| int | power |
| bool | one |
| bool | avoid |
| bool | noPlural |
| bool | noPrefix |
Static Protected Attributes | |
| char* | stateNames [] |
|
|
Initializer: {
"AtTop",
"InUnitConf",
"InDimensions",
"InPrefixes",
"InDimensionGroups",
"InUnitSystems",
"InDimension",
"InPrefix",
"InGroup",
"InDimPower",
"InUnit",
"InSystem",
"InStdUnit",
"Unknown"
} |
| C++ Reference Manual | 20010520 |