Qt 4.8
Public Types | Public Functions | Properties | List of all members
QPatternist::XsdElement::TypeTable Class Reference

#include <qxsdelement_p.h>

Inheritance diagram for QPatternist::XsdElement::TypeTable:
QSharedData

Public Types

typedef QExplicitlySharedDataPointer< TypeTablePtr
 

Public Functions

void addAlternative (const XsdAlternative::Ptr &alternative)
 
XsdAlternative::List alternatives () const
 
XsdAlternative::Ptr defaultTypeDefinition () const
 
void setDefaultTypeDefinition (const XsdAlternative::Ptr &type)
 
- 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

XsdAlternative::List m_alternatives
 
XsdAlternative::Ptr m_defaultTypeDefinition
 

Additional Inherited Members

- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Describes a type table of an element.

See also
Type Table Definition

Definition at line 149 of file qxsdelement_p.h.

Typedefs

◆ Ptr

Definition at line 152 of file qxsdelement_p.h.

Functions

◆ addAlternative()

void XsdElement::TypeTable::addAlternative ( const XsdAlternative::Ptr alternative)

Adds an alternative to the type table.

Definition at line 98 of file qxsdelement.cpp.

99 {
100  m_alternatives.append(alternative);
101 }
void append(const T &t)
Inserts value at the end of the list.
Definition: qlist.h:507
XsdAlternative::List m_alternatives

◆ alternatives()

XsdAlternative::List XsdElement::TypeTable::alternatives ( ) const

Returns the alternatives of the type table.

Definition at line 103 of file qxsdelement.cpp.

104 {
105  return m_alternatives;
106 }
XsdAlternative::List m_alternatives

◆ defaultTypeDefinition()

XsdAlternative::Ptr XsdElement::TypeTable::defaultTypeDefinition ( ) const

Returns the default type definition.

Definition at line 113 of file qxsdelement.cpp.

114 {
116 }
XsdAlternative::Ptr m_defaultTypeDefinition

◆ setDefaultTypeDefinition()

void XsdElement::TypeTable::setDefaultTypeDefinition ( const XsdAlternative::Ptr type)

Sets the default type definition.

Definition at line 108 of file qxsdelement.cpp.

109 {
111 }
XsdAlternative::Ptr m_defaultTypeDefinition
SchemaType::Ptr type() const

Properties

◆ m_alternatives

XsdAlternative::List QPatternist::XsdElement::TypeTable::m_alternatives
private

Definition at line 175 of file qxsdelement_p.h.

◆ m_defaultTypeDefinition

XsdAlternative::Ptr QPatternist::XsdElement::TypeTable::m_defaultTypeDefinition
private

Definition at line 176 of file qxsdelement_p.h.


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