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

#include <qsourcelocationreflection_p.h>

Inheritance diagram for QPatternist::DelegatingSourceLocationReflection:
QPatternist::SourceLocationReflection QPatternist::AbstractFloatMathematician< isDouble > QPatternist::DateTimeDurationMathematician QPatternist::DecimalMathematician QPatternist::DurationNumericMathematician QPatternist::IntegerMathematician QPatternist::OutputValidator

Public Functions

virtual const SourceLocationReflectionactualReflection () const
 
 DelegatingSourceLocationReflection (const SourceLocationReflection *const r)
 
virtual QString description () const
 
- Public Functions inherited from QPatternist::SourceLocationReflection
virtual QSourceLocation sourceLocation () const
 
 SourceLocationReflection ()
 
virtual ~SourceLocationReflection ()
 

Properties

const SourceLocationReflection *const m_r
 

Detailed Description

Definition at line 110 of file qsourcelocationreflection_p.h.

Constructors and Destructors

◆ DelegatingSourceLocationReflection()

QPatternist::DelegatingSourceLocationReflection::DelegatingSourceLocationReflection ( const SourceLocationReflection *const  r)
inline

Definition at line 113 of file qsourcelocationreflection_p.h.

113  : m_r(r)
114  {
115  Q_ASSERT(r);
116  }
#define Q_ASSERT(cond)
Definition: qglobal.h:1823

Functions

◆ actualReflection()

const SourceLocationReflection * DelegatingSourceLocationReflection::actualReflection ( ) const
virtual

Implements QPatternist::SourceLocationReflection.

Definition at line 55 of file qsourcelocationreflection.cpp.

56 {
57  return m_r->actualReflection();
58 }
virtual const SourceLocationReflection * actualReflection() const =0

◆ description()

QString DelegatingSourceLocationReflection::description ( ) const
virtual

A description of what represents the source code location, for human consumption. Must be translated, as appropriate.

Reimplemented from QPatternist::SourceLocationReflection.

Definition at line 60 of file qsourcelocationreflection.cpp.

61 {
62  return m_r->description();
63 }

Properties

◆ m_r

const SourceLocationReflection* const QPatternist::DelegatingSourceLocationReflection::m_r
private

Definition at line 122 of file qsourcelocationreflection_p.h.


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