#include <jem/xml/AttributeParser.h>
|
static bool | parseBoolean (ParserState &state, const String &name, const String &value) |
|
static lint | parseInteger (ParserState &state, const String &name, const String &value) |
|
static lint | parseInteger (ParserState &state, const String &name, const String &value, lint min, lint max) |
|
static double | parseFloat (ParserState &state, const String &name, const String &value) |
|
static double | parseFloat (ParserState &state, const String &name, const String &value, double min, double max) |
|
Enumerator |
---|
OPTIONAL |
|
REQUIRED |
|
jem::xml::AttributeParser::AttributeParser |
( |
| ) |
|
jem::xml::AttributeParser::AttributeParser |
( |
const String & |
attribs | ) |
|
|
explicit |
virtual jem::xml::AttributeParser::~AttributeParser |
( |
| ) |
|
|
virtual |
void jem::xml::AttributeParser::clear |
( |
| ) |
|
idx_t jem::xml::AttributeParser::declareAttribute |
( |
const String & |
name, |
|
|
Kind |
kind |
|
) |
| |
idx_t jem::xml::AttributeParser::declareAttributes |
( |
const String & |
attribs | ) |
|
int jem::xml::AttributeParser::parseAttributes |
( |
ParserState & |
state, |
|
|
bool |
lenient = false |
|
) |
| |
virtual void jem::xml::AttributeParser::handleAttribute |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value, |
|
|
idx_t |
index |
|
) |
| |
|
pure virtual |
static bool jem::xml::AttributeParser::parseBoolean |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
|
static |
static lint jem::xml::AttributeParser::parseInteger |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
|
static |
static lint jem::xml::AttributeParser::parseInteger |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value, |
|
|
lint |
min, |
|
|
lint |
max |
|
) |
| |
|
static |
static double jem::xml::AttributeParser::parseFloat |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value |
|
) |
| |
|
static |
static double jem::xml::AttributeParser::parseFloat |
( |
ParserState & |
state, |
|
|
const String & |
name, |
|
|
const String & |
value, |
|
|
double |
min, |
|
|
double |
max |
|
) |
| |
|
static |