Qt 4.8
Public Types | Public Functions | Protected Functions | List of all members
QPatternist::XsdTerm Class Reference

A base class for all particles of a model group. More...

#include <qxsdterm_p.h>

Inheritance diagram for QPatternist::XsdTerm:
QPatternist::NamedSchemaComponent QPatternist::XsdAnnotated QPatternist::SchemaComponent QSharedData QPatternist::XsdElement QPatternist::XsdModelGroup QPatternist::XsdReference QPatternist::XsdWildcard

Public Types

typedef QExplicitlySharedDataPointer< XsdTermPtr
 
- Public Types inherited from QPatternist::NamedSchemaComponent
enum  BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 }
 
typedef QExplicitlySharedDataPointer< NamedSchemaComponentPtr
 

Public Functions

virtual bool isElement () const
 
virtual bool isModelGroup () const
 
virtual bool isReference () const
 
virtual bool isWildcard () const
 
- Public Functions inherited from QPatternist::NamedSchemaComponent
virtual QString displayName (const NamePool::Ptr &namePool) const
 
virtual QXmlName name (const NamePool::Ptr &namePool) const
 
 NamedSchemaComponent ()
 
void setName (const QXmlName &name)
 
virtual ~NamedSchemaComponent ()
 
- Public Functions inherited from QPatternist::SchemaComponent
 SchemaComponent ()
 
virtual ~SchemaComponent ()
 
- 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...
 
- Public Functions inherited from QPatternist::XsdAnnotated
void addAnnotation (const XsdAnnotation::Ptr &annotation)
 
void addAnnotations (const XsdAnnotation::List &annotations)
 
XsdAnnotation::List annotations () const
 

Protected Functions

 XsdTerm ()
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

A base class for all particles of a model group.

This class is the base class for all particles of a model group as the element, group or any tag, it is not supposed to be instantiated directly.

See also
XML Schema API reference
Author
Tobias Koenig tobia.nosp@m.s.ko.nosp@m.enig@.nosp@m.noki.nosp@m.a.com

Definition at line 75 of file qxsdterm_p.h.

Typedefs

◆ Ptr

Definition at line 78 of file qxsdterm_p.h.

Constructors and Destructors

◆ XsdTerm()

QPatternist::XsdTerm::XsdTerm ( )
inlineprotected

This constructor only exists to ensure this class is subclassed.

Definition at line 106 of file qxsdterm_p.h.

106 {};

Functions

◆ isElement()

bool XsdTerm::isElement ( ) const
virtual

◆ isModelGroup()

bool XsdTerm::isModelGroup ( ) const
virtual

◆ isReference()

bool XsdTerm::isReference ( ) const
virtual

Returns true if the term is a reference, false otherwise.

Note
The reference term is only used internally as helper during type resolving.

Reimplemented in QPatternist::XsdReference.

Definition at line 63 of file qxsdterm.cpp.

Referenced by collectGroupRef(), and QPatternist::XsdSchemaResolver::resolveTermReference().

64 {
65  return false;
66 }

◆ isWildcard()

bool XsdTerm::isWildcard ( ) const
virtual

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