Qt 4.8
Public Types | Public Functions | Properties | List of all members
QPatternist::XsdWildcard::NamespaceConstraint Class Reference

#include <qxsdwildcard_p.h>

Inheritance diagram for QPatternist::XsdWildcard::NamespaceConstraint:
QSharedData

Public Types

typedef QExplicitlySharedDataPointer< NamespaceConstraintPtr
 
enum  Variety { Any, Enumeration, Not }
 

Public Functions

QSet< QStringdisallowedNames () const
 
QSet< QStringnamespaces () const
 
void setDisallowedNames (const QSet< QString > &names)
 
void setNamespaces (const QSet< QString > &namespaces)
 
void setVariety (Variety variety)
 
Variety variety () const
 
- Public Functions inherited from QSharedData
 QSharedData ()
 Constructs a QSharedData object with a reference count of 0. More...
 
 QSharedData (const QSharedData &)
 Constructs a QSharedData object with reference count 0. More...
 

Properties

QSet< QStringm_disallowedNames
 
QSet< QStringm_namespaces
 
Variety m_variety
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Describes the namespace constraint of the wildcard.

Definition at line 90 of file qxsdwildcard_p.h.

Typedefs

◆ Ptr

Definition at line 93 of file qxsdwildcard_p.h.

Enumerations

◆ Variety

Describes the variety of the namespace constraint.

See also
Variety Definition
Enumerator
Any 

Any namespace is allowed.

Enumeration 

Namespaces in the namespaces set are allowed.

Not 

Namespaces in the namespaces set are not allowed.

Definition at line 100 of file qxsdwildcard_p.h.

101  {
102  Any,
103  Enumeration,
104  Not
105  };
Namespaces in the namespaces set are not allowed.
Namespaces in the namespaces set are allowed.

Functions

◆ disallowedNames()

QSet< QString > XsdWildcard::NamespaceConstraint::disallowedNames ( ) const

Returns the set of disallowed names of the namespace constraint.

Definition at line 78 of file qxsdwildcard.cpp.

79 {
80  return m_disallowedNames;
81 }

◆ namespaces()

QSet< QString > XsdWildcard::NamespaceConstraint::namespaces ( ) const

Returns the set of namespaces of the namespace constraint.

Definition at line 68 of file qxsdwildcard.cpp.

69 {
70  return m_namespaces;
71 }

◆ setDisallowedNames()

void XsdWildcard::NamespaceConstraint::setDisallowedNames ( const QSet< QString > &  names)

Sets the set of disallowed names of the namespace constraint.

Definition at line 73 of file qxsdwildcard.cpp.

74 {
75  m_disallowedNames = names;
76 }

◆ setNamespaces()

void XsdWildcard::NamespaceConstraint::setNamespaces ( const QSet< QString > &  namespaces)

Sets the set of namespaces of the namespace constraint.

Definition at line 63 of file qxsdwildcard.cpp.

◆ setVariety()

void XsdWildcard::NamespaceConstraint::setVariety ( Variety  variety)

Sets the variety of the namespace constraint.

See also
Variety Definition

Definition at line 53 of file qxsdwildcard.cpp.

Referenced by QPatternist::XsdWildcard::XsdWildcard().

◆ variety()

XsdWildcard::NamespaceConstraint::Variety XsdWildcard::NamespaceConstraint::variety ( ) const

Returns the variety of the namespace constraint.

Definition at line 58 of file qxsdwildcard.cpp.

Properties

◆ m_disallowedNames

QSet<QString> QPatternist::XsdWildcard::NamespaceConstraint::m_disallowedNames
private

Definition at line 142 of file qxsdwildcard_p.h.

◆ m_namespaces

QSet<QString> QPatternist::XsdWildcard::NamespaceConstraint::m_namespaces
private

Definition at line 141 of file qxsdwildcard_p.h.

◆ m_variety

Variety QPatternist::XsdWildcard::NamespaceConstraint::m_variety
private

Definition at line 140 of file qxsdwildcard_p.h.


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