Qt 4.8
Public Functions | List of all members
QPatternist::ToDerivedIntegerCasterLocator< type > Class Template Reference

#include <qatomiccasterlocators_p.h>

Inheritance diagram for QPatternist::ToDerivedIntegerCasterLocator< type >:
QPatternist::ToIntegerCasterLocator QPatternist::AtomicCasterLocator QPatternist::AtomicTypeVisitor QSharedData

Public Functions

virtual AtomicTypeVisitorResult::Ptr visit (const BooleanType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const StringType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const AnyURIType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const UntypedAtomicType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const IntegerType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeByte > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeInt > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeLong > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeNegativeInteger > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeNonNegativeInteger > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeNonPositiveInteger > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypePositiveInteger > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeShort > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeUnsignedByte > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeUnsignedInt > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeUnsignedLong > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DerivedIntegerType< TypeUnsignedShort > *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DoubleType *, const SourceLocationReflection *const r) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const FloatType *, const SourceLocationReflection *const r) const
 
- Public Functions inherited from QPatternist::ToIntegerCasterLocator
virtual AtomicTypeVisitorResult::Ptr visit (const DecimalType *, const SourceLocationReflection *const r) const
 
- Public Functions inherited from QPatternist::AtomicCasterLocator
virtual AtomicTypeVisitorResult::Ptr visit (const AnyAtomicType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const Base64BinaryType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DateTimeType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DateType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DayTimeDurationType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const DurationType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const GDayType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const GMonthDayType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const GMonthType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const GYearMonthType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const GYearType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const HexBinaryType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const NOTATIONType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const QNameType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const SchemaTimeType *, const SourceLocationReflection *const reflection) const
 
virtual AtomicTypeVisitorResult::Ptr visit (const YearMonthDurationType *, const SourceLocationReflection *const reflection) const
 
- Public Functions inherited from QPatternist::AtomicTypeVisitor
virtual ~AtomicTypeVisitor ()
 
- 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 Types inherited from QPatternist::AtomicCasterLocator
typedef QExplicitlySharedDataPointer< AtomicCasterLocatorPtr
 
- Public Types inherited from QPatternist::AtomicTypeVisitor
typedef QExplicitlySharedDataPointer< AtomicTypeVisitorPtr
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 

Detailed Description

template<TypeOfDerivedInteger type>
class QPatternist::ToDerivedIntegerCasterLocator< type >

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

Definition at line 565 of file qatomiccasterlocators_p.h.

Functions

◆ visit() [1/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const BooleanType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 570 of file qatomiccasterlocators_p.h.

572  {
573  Q_UNUSED(r);
574  return AtomicTypeVisitorResult::Ptr(new BooleanToDerivedIntegerCaster<type>());
575  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [2/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const StringType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 577 of file qatomiccasterlocators_p.h.

579  {
580  Q_UNUSED(r);
581  return AtomicTypeVisitorResult::Ptr(new StringToDerivedIntegerCaster<type>());
582  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [3/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const AnyURIType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::AtomicCasterLocator.

Definition at line 584 of file qatomiccasterlocators_p.h.

586  {
587  Q_UNUSED(r);
588  return AtomicTypeVisitorResult::Ptr(new StringToDerivedIntegerCaster<type>());
589  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [4/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const UntypedAtomicType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 591 of file qatomiccasterlocators_p.h.

593  {
594  Q_UNUSED(r);
595  return AtomicTypeVisitorResult::Ptr(new StringToDerivedIntegerCaster<type>());
596  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [5/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const IntegerType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 598 of file qatomiccasterlocators_p.h.

600  {
601  Q_UNUSED(r);
602  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
603  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [6/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeByte > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 605 of file qatomiccasterlocators_p.h.

607  {
608  Q_UNUSED(r);
609  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
610  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [7/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeInt > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 612 of file qatomiccasterlocators_p.h.

614  {
615  Q_UNUSED(r);
616  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
617  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [8/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeLong > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 619 of file qatomiccasterlocators_p.h.

621  {
622  Q_UNUSED(r);
623  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
624  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [9/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeNegativeInteger > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 626 of file qatomiccasterlocators_p.h.

628  {
629  Q_UNUSED(r);
630  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
631  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [10/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeNonNegativeInteger > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 633 of file qatomiccasterlocators_p.h.

635  {
636  Q_UNUSED(r);
637  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
638  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [11/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeNonPositiveInteger > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 640 of file qatomiccasterlocators_p.h.

642  {
643  Q_UNUSED(r);
644  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
645  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [12/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypePositiveInteger > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 647 of file qatomiccasterlocators_p.h.

649  {
650  Q_UNUSED(r);
651  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
652  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [13/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeShort > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 654 of file qatomiccasterlocators_p.h.

656  {
657  Q_UNUSED(r);
658  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
659  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [14/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeUnsignedByte > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 661 of file qatomiccasterlocators_p.h.

663  {
664  Q_UNUSED(r);
665  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
666  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [15/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeUnsignedInt > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 668 of file qatomiccasterlocators_p.h.

670  {
671  Q_UNUSED(r);
672  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
673  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [16/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeUnsignedLong > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 675 of file qatomiccasterlocators_p.h.

677  {
678  Q_UNUSED(r);
679  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
680  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [17/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DerivedIntegerType< TypeUnsignedShort > *  ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Definition at line 682 of file qatomiccasterlocators_p.h.

684  {
685  Q_UNUSED(r);
686  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
687  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [18/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const DoubleType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 689 of file qatomiccasterlocators_p.h.

691  {
692  Q_UNUSED(r);
693  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
694  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ visit() [19/19]

template<TypeOfDerivedInteger type>
virtual AtomicTypeVisitorResult::Ptr QPatternist::ToDerivedIntegerCasterLocator< type >::visit ( const FloatType ,
const SourceLocationReflection *const  r 
) const
inlinevirtual

Reimplemented from QPatternist::ToIntegerCasterLocator.

Definition at line 696 of file qatomiccasterlocators_p.h.

698  {
699  Q_UNUSED(r);
700  return AtomicTypeVisitorResult::Ptr(new NumericToDerivedIntegerCaster<type>());
701  }
QExplicitlySharedDataPointer< AtomicTypeVisitorResult > Ptr
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

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