![]() |
Qt 4.8
|
Provides fromLexical(), which allows instantiation of atomic values from arbitrary types. More...
#include <qvaluefactory_p.h>
Static Public Functions | |
| static AtomicValue::Ptr | fromLexical (const QString &lexicalValue, const SchemaType::Ptr &type, const ReportContext::Ptr &context, const SourceLocationReflection *const sourceLocationReflection) |
Returns an AtomicValue of type type from the lexical space lexicalValue, and raise an error through context if that's impossible. More... | |
Provides fromLexical(), which allows instantiation of atomic values from arbitrary types.
This class wraps the helper class CastingPlatform with a more specific, high-level API.
Definition at line 75 of file qvaluefactory_p.h.
|
static |
Returns an AtomicValue of type type from the lexical space lexicalValue, and raise an error through context if that's impossible.
ValueFactory does not take ownership of sourceLocationReflection.
Definition at line 91 of file qvaluefactory.cpp.
Referenced by QPatternist::XsdSchemaChecker::checkConstrainingFacets(), QPatternist::XsdTypeChecker::checkConstrainingFacetsBinary(), QPatternist::XsdTypeChecker::checkConstrainingFacetsDateTime(), QPatternist::XsdTypeChecker::checkConstrainingFacetsDouble(), QPatternist::XsdTypeChecker::checkConstrainingFacetsSignedInteger(), QPatternist::XsdTypeChecker::checkConstrainingFacetsUnsignedInteger(), QPatternist::ComparisonFactory::constructAndCompare(), QPatternist::XsdSchemaHelper::constructAndCompare(), and QPatternist::XsdTypeChecker::fromLexical().