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

A base class for all attribute types. More...

#include <qxsdattributeterm_p.h>

Inheritance diagram for QPatternist::XsdAttributeTerm:
QPatternist::NamedSchemaComponent QPatternist::XsdAnnotated QPatternist::SchemaComponent QSharedData QPatternist::XsdAttributeUse QPatternist::XsdAttributeReference

Public Types

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

Public Functions

virtual bool isAttributeUse () const
 
virtual bool isReference () 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
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

A base class for all attribute types.

For easy resolving of attribute references, we use this as common base class for XsdAttribute and XsdAttributeReference.

Author
Tobias Koenig tobia.nosp@m.s.ko.nosp@m.enig@.nosp@m.noki.nosp@m.a.com

Definition at line 73 of file qxsdattributeterm_p.h.

Typedefs

◆ Ptr

Definition at line 76 of file qxsdattributeterm_p.h.

Functions

◆ isAttributeUse()

bool XsdAttributeTerm::isAttributeUse ( ) const
virtual

Returns true if the term is an attribute use, false otherwise.

Reimplemented in QPatternist::XsdAttributeUse, and QPatternist::XsdAttributeReference.

Definition at line 48 of file qxsdattributeterm.cpp.

49 {
50  return false;
51 }

◆ isReference()

bool XsdAttributeTerm::isReference ( ) const
virtual

Returns true if the term is an attribute use reference, false otherwise.

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

Reimplemented in QPatternist::XsdAttributeReference.

Definition at line 53 of file qxsdattributeterm.cpp.

54 {
55  return false;
56 }

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