97 for (
int i = 0; i <
m_fields.count(); ++i)
106 for (
int i = 0; i <
m_fields.count(); ++i) {
119 for (
int i = 0; i <
m_fields.count(); ++i) {
120 if (!
m_fields.at(i).isEqualTo(other.
m_fields.at(i), namePool, context, reflection))
A helper class for validating identity constraints.
#define QT_END_NAMESPACE
This macro expands to.
bool fieldsAreEqual(const TargetNode &other, const NamePool::Ptr &namePool, const ReportContext::Ptr &context, const SourceLocationReflection *const reflection) const
The QXmlItem class contains either an XML node or an atomic value.
void addField(const QXmlItem &item, const QString &data, const SchemaType::Ptr &type)
TargetNode(const QXmlItem &item)
The QString class provides a Unicode character string.
static bool constructAndCompare(const DerivedString< TypeString >::Ptr &operand1, const AtomicComparator::Operator op, const DerivedString< TypeString >::Ptr &operand2, const SchemaType::Ptr &type, const ReportContext::Ptr &context, const SourceLocationReflection *const sourceLocationReflection)
The QVector class is a template class that provides a dynamic array.
A helper class for validating identity constraints.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
void append(const T &t)
Inserts value at the end of the vector.
static const char * data(const QByteArray &arr)
bool isEqualTo(const FieldNode &other, const NamePool::Ptr &namePool, const ReportContext::Ptr &context, const SourceLocationReflection *const reflection) const
int emptyFieldsCount() const
bool operator==(const TargetNode &other) const
QVector< FieldNode > m_fields
QVector< QXmlItem > fieldItems() const
QXmlNodeModelIndex toNodeModelIndex() const
If this QXmlItem represents a node, it returns the item as a QXmlNodeModelIndex.
static AtomicValue::Ptr fromLexical(const NamePool::Ptr &np, const QString &lexical)
bool isNull() const
Returns true if this QXmlItem is neither a node nor an atomic value.
Base class for all instances that represents something at a certain location.