Qt 4.8
Public Types | Public Functions | List of all members
QPatternist::SchemaTypeFactory Class Referenceabstract

A factory creating schema types. More...

#include <qschematypefactory_p.h>

Inheritance diagram for QPatternist::SchemaTypeFactory:
QSharedData QPatternist::BasicTypesFactory QPatternist::XsdSchemaTypesFactory

Public Types

typedef QExplicitlySharedDataPointer< SchemaTypeFactoryPtr
 

Public Functions

virtual SchemaType::Ptr createSchemaType (const QXmlName name) const =0
 
 SchemaTypeFactory ()
 
virtual SchemaType::Hash types () const =0
 
virtual ~SchemaTypeFactory ()
 
- 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...
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

A factory creating schema types.

Author
Frans Englich frans.nosp@m..eng.nosp@m.lich@.nosp@m.noki.nosp@m.a.com

Definition at line 73 of file qschematypefactory_p.h.

Typedefs

◆ Ptr

Definition at line 76 of file qschematypefactory_p.h.

Constructors and Destructors

◆ SchemaTypeFactory()

SchemaTypeFactory::SchemaTypeFactory ( )

Definition at line 48 of file qschematypefactory.cpp.

49 {
50 }

◆ ~SchemaTypeFactory()

SchemaTypeFactory::~SchemaTypeFactory ( )
virtual

Definition at line 52 of file qschematypefactory.cpp.

53 {
54 }

Functions

◆ createSchemaType()

virtual SchemaType::Ptr QPatternist::SchemaTypeFactory::createSchemaType ( const QXmlName  name) const
pure virtual

◆ types()

virtual SchemaType::Hash QPatternist::SchemaTypeFactory::types ( ) const
pure virtual
Returns
a dictionary containing the types this factory serves. The key is the type's QName in Clark name syntax.

Implemented in QPatternist::BasicTypesFactory, and QPatternist::XsdSchemaTypesFactory.

Referenced by QPatternist::ConstructorFunctionsFactory::ConstructorFunctionsFactory(), QPatternist::TypeAvailableFN::evaluateSingleton(), and QPatternist::XsdSchemaResolver::XsdSchemaResolver().


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