Qt 4.8
Public Functions | Properties | List of all members
QPatternist::XsdSchemaSourceLocationReflection Class Reference

An implementation of SourceLocationReflection that takes a QSourceLocation. More...

#include <qxsdtypechecker_p.h>

Inheritance diagram for QPatternist::XsdSchemaSourceLocationReflection:
QPatternist::SourceLocationReflection

Public Functions

virtual const SourceLocationReflectionactualReflection () const
 
virtual QSourceLocation sourceLocation () const
 
 XsdSchemaSourceLocationReflection (const QSourceLocation &location)
 
- Public Functions inherited from QPatternist::SourceLocationReflection
virtual QString description () const
 
 SourceLocationReflection ()
 
virtual ~SourceLocationReflection ()
 

Properties

const QSourceLocation m_sourceLocation
 

Detailed Description

An implementation of SourceLocationReflection that takes a QSourceLocation.

This is a convenience class which provides a QSourceLocation with a SourceLocationReflection interface.

Definition at line 75 of file qxsdtypechecker_p.h.

Constructors and Destructors

◆ XsdSchemaSourceLocationReflection()

XsdSchemaSourceLocationReflection::XsdSchemaSourceLocationReflection ( const QSourceLocation location)

Definition at line 68 of file qxsdtypechecker.cpp.

69  : m_sourceLocation(location)
70 {
71 }

Functions

◆ actualReflection()

const SourceLocationReflection * XsdSchemaSourceLocationReflection::actualReflection ( ) const
virtual

Implements QPatternist::SourceLocationReflection.

Definition at line 73 of file qxsdtypechecker.cpp.

74 {
75  return this;
76 }

◆ sourceLocation()

QSourceLocation XsdSchemaSourceLocationReflection::sourceLocation ( ) const
virtual

Reimplemented from QPatternist::SourceLocationReflection.

Definition at line 78 of file qxsdtypechecker.cpp.

79 {
80  return m_sourceLocation;
81 }

Properties

◆ m_sourceLocation

const QSourceLocation QPatternist::XsdSchemaSourceLocationReflection::m_sourceLocation
private

Definition at line 84 of file qxsdtypechecker_p.h.

Referenced by sourceLocation().


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