73 const Item second(it->next());
78 context->
error(QtXmlPatterns::tr(
"Effective Boolean Value cannot be calculated for a sequence " 79 "containing two or more atomic values."),
#define QT_END_NAMESPACE
This macro expands to.
virtual ItemType::Ptr type() const
static const AtomicValue::Ptr BooleanTrue
#define it(className, varName)
static AtomicValue::Ptr createError(const QString &description=QString(), const ReportContext::ErrorCode=ReportContext::FORG0001)
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static bool evaluateEBV(const Item::Iterator::Ptr &e, const QExplicitlySharedDataPointer< DynamicContext > &)
The QString class provides a Unicode character string.
bool isNode() const
Determines whether this item is an atomic value, or a node.
The QChar class provides a 16-bit Unicode character.
virtual QString stringValue() const
Boolean(const bool value)
static const AtomicValue::Ptr FalseString
static AtomicValue::Ptr fromLexical(const QString &val)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void error(const QString &message, const ReportContext::ErrorCode errorCode, const QSourceLocation &sourceLocation)
Base class for all classes representing atomic values.
QString trimmed() const Q_REQUIRED_RESULT
Returns a string that has whitespace removed from the start and the end.
The namespace for the internal API of QtXmlPatterns.
The QSourceLocation class identifies a location in a resource by URI, line, and column.
virtual QString stringValue() const =0
static Boolean::Ptr fromValue(const bool value)
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
Represents an item in the XPath 2.0 Data Model.
static const AtomicValue::Ptr TrueString
static const AtomicType::Ptr xsBoolean
static const AtomicValue::Ptr BooleanFalse
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.