Qt 4.8
Public Functions | Properties | Friends | Related Functions | List of all members
QXmlStreamNotationDeclaration Class Reference

The QXmlStreamNotationDeclaration class represents a DTD notation declaration. More...

#include <qxmlstream.h>

Public Functions

QStringRef name () const
 Returns the notation name. More...
 
bool operator!= (const QXmlStreamNotationDeclaration &other) const
 Compares this notation declaration with other and returns true if they are not equal; otherwise returns false. More...
 
QXmlStreamNotationDeclarationoperator= (const QXmlStreamNotationDeclaration &)
 Assigns other to this notation declaration. More...
 
bool operator== (const QXmlStreamNotationDeclaration &other) const
 Compares this notation declaration with other and returns true if they are equal; otherwise returns false. More...
 
QStringRef publicId () const
 Returns the public identifier. More...
 
 QXmlStreamNotationDeclaration ()
 Creates an empty notation declaration. More...
 
 QXmlStreamNotationDeclaration (const QXmlStreamNotationDeclaration &)
 Creates a copy of other. More...
 
QStringRef systemId () const
 Returns the system identifier. More...
 
 ~QXmlStreamNotationDeclaration ()
 Destructs this notation declaration. More...
 

Properties

QXmlStreamStringRef m_name
 
QXmlStreamStringRef m_publicId
 
QXmlStreamStringRef m_systemId
 
void * reserved
 

Friends

class QXmlStreamReaderPrivate
 

Related Functions

(Note that these are not member functions.)

 QXmlStreamNotationDeclarations
 Synonym for QVector<QXmlStreamNotationDeclaration>. More...
 

Detailed Description

The QXmlStreamNotationDeclaration class represents a DTD notation declaration.

Since
4.3
Note
This class or function is reentrant.

An notation declaration consists of a name(), a systemId(), and a publicId().

Definition at line 227 of file qxmlstream.h.

Constructors and Destructors

◆ QXmlStreamNotationDeclaration() [1/2]

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration ( )

Creates an empty notation declaration.

Definition at line 2541 of file qxmlstream.cpp.

2542 {
2543 }

◆ ~QXmlStreamNotationDeclaration()

QXmlStreamNotationDeclaration::~QXmlStreamNotationDeclaration ( )

Destructs this notation declaration.

Definition at line 2566 of file qxmlstream.cpp.

2567 {
2568 }

◆ QXmlStreamNotationDeclaration() [2/2]

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration ( const QXmlStreamNotationDeclaration other)

Creates a copy of other.

Definition at line 2547 of file qxmlstream.cpp.

2548 {
2549  *this = other;
2550 }

Functions

◆ name()

QStringRef QXmlStreamNotationDeclaration::name ( ) const
inline

Returns the notation name.

Definition at line 237 of file qxmlstream.h.

Referenced by operator==().

237 { return m_name; }
QXmlStreamStringRef m_name
Definition: qxmlstream.h:228

◆ operator!=()

bool QXmlStreamNotationDeclaration::operator!= ( const QXmlStreamNotationDeclaration other) const
inline

Compares this notation declaration with other and returns true if they are not equal; otherwise returns false.

Definition at line 244 of file qxmlstream.h.

245  { return !operator==(other); }
bool operator==(const QXmlStreamNotationDeclaration &other) const
Compares this notation declaration with other and returns true if they are equal; otherwise returns f...
Definition: qxmlstream.h:240

◆ operator=()

QXmlStreamNotationDeclaration & QXmlStreamNotationDeclaration::operator= ( const QXmlStreamNotationDeclaration other)

Assigns other to this notation declaration.

Definition at line 2555 of file qxmlstream.cpp.

2556 {
2557  m_name = other.m_name;
2558  m_systemId = other.m_systemId;
2559  m_publicId = other.m_publicId;
2560  return *this;
2561 }
QXmlStreamStringRef m_name
Definition: qxmlstream.h:228
QXmlStreamStringRef m_publicId
Definition: qxmlstream.h:228
QXmlStreamStringRef m_systemId
Definition: qxmlstream.h:228

◆ operator==()

bool QXmlStreamNotationDeclaration::operator== ( const QXmlStreamNotationDeclaration other) const
inline

Compares this notation declaration with other and returns true if they are equal; otherwise returns false.

Definition at line 240 of file qxmlstream.h.

240  {
241  return (name() == other.name() && systemId() == other.systemId()
242  && publicId() == other.publicId());
243  }
QStringRef publicId() const
Returns the public identifier.
Definition: qxmlstream.h:239
QStringRef systemId() const
Returns the system identifier.
Definition: qxmlstream.h:238
QStringRef name() const
Returns the notation name.
Definition: qxmlstream.h:237

◆ publicId()

QStringRef QXmlStreamNotationDeclaration::publicId ( ) const
inline

Returns the public identifier.

Definition at line 239 of file qxmlstream.h.

Referenced by operator==().

239 { return m_publicId; }
QXmlStreamStringRef m_publicId
Definition: qxmlstream.h:228

◆ systemId()

QStringRef QXmlStreamNotationDeclaration::systemId ( ) const
inline

Returns the system identifier.

Definition at line 238 of file qxmlstream.h.

Referenced by operator==().

238 { return m_systemId; }
QXmlStreamStringRef m_systemId
Definition: qxmlstream.h:228

Friends and Related Functions

◆ QXmlStreamNotationDeclarations()

◆ QXmlStreamReaderPrivate

Definition at line 231 of file qxmlstream.h.

Properties

◆ m_name

QXmlStreamStringRef QXmlStreamNotationDeclaration::m_name
private

Definition at line 228 of file qxmlstream.h.

Referenced by operator=(), and QXmlStreamReaderPrivate::resolveDtd().

◆ m_publicId

QXmlStreamStringRef QXmlStreamNotationDeclaration::m_publicId
private

Definition at line 228 of file qxmlstream.h.

Referenced by operator=(), and QXmlStreamReaderPrivate::resolveDtd().

◆ m_systemId

QXmlStreamStringRef QXmlStreamNotationDeclaration::m_systemId
private

Definition at line 228 of file qxmlstream.h.

Referenced by operator=(), and QXmlStreamReaderPrivate::resolveDtd().

◆ reserved

void* QXmlStreamNotationDeclaration::reserved
private

Definition at line 229 of file qxmlstream.h.


The documentation for this class was generated from the following files: