Qt 4.8
Public Functions | Static Public Functions | Private Types | Private Functions | Static Private Functions | Properties | Static Private Attributes | Related Functions | List of all members
QPatternist::DerivedInteger< DerivedType > Class Template Reference

Represents instances of derived xs:integer types, such as xs:byte. More...

#include <qderivedinteger_p.h>

Inheritance diagram for QPatternist::DerivedInteger< DerivedType >:
QPatternist::Numeric QPatternist::AtomicValue QSharedData QPatternist::CppCastingHelper< AtomicValue >

Public Functions

virtual Numeric::Ptr abs () const
 
virtual Numeric::Ptr ceiling () const
 
bool evaluateEBV (const QExplicitlySharedDataPointer< DynamicContext > &) const
 
virtual Numeric::Ptr floor () const
 
virtual bool isInf () const
 
virtual bool isNaN () const
 
virtual bool isSigned () const
 Returns true if this value is signed. If false is returned, the value is unsigned. More...
 
virtual Numeric::Ptr round () const
 
virtual Numeric::Ptr roundHalfToEven (const xsInteger) const
 
StorageType storedValue () const
 
virtual QString stringValue () const
 
virtual xsDecimal toDecimal () const
 
virtual xsDouble toDouble () const
 
virtual xsFloat toFloat () const
 
virtual xsInteger toInteger () const
 
virtual Item toNegated () const
 
virtual qulonglong toUnsignedInteger () const
 
virtual ItemType::Ptr type () const
 
- Public Functions inherited from QPatternist::AtomicValue
virtual bool hasError () const
 
virtual ~AtomicValue ()
 
- 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...
 
- Public Functions inherited from QPatternist::CppCastingHelper< AtomicValue >
const TCastTarget * as () const
 
TCastTarget * as ()
 

Static Public Functions

static AtomicValue::Ptr fromLexical (const NamePool::Ptr &np, const QString &strNumeric)
 
static AtomicValue::Ptr fromValue (const NamePool::Ptr &np, const TemporaryStorageType num)
 
static AtomicValue::Ptr fromValueUnchecked (const TemporaryStorageType num)
 
static ItemType::Ptr itemType ()
 
- Static Public Functions inherited from QPatternist::Numeric
static AtomicValue::Ptr fromLexical (const QString &number)
 
- Static Public Functions inherited from QPatternist::AtomicValue
static ItemType::Ptr qtToXDMType (const QXmlItem &item)
 
static QVariant toQt (const AtomicValue *const value)
 
static QVariant toQt (const AtomicValue::Ptr &value)
 
static Item toXDM (const QVariant &value)
 

Private Types

typedef DerivedIntegerDetails< DerivedType >::StorageType StorageType
 
typedef DerivedIntegerDetails< DerivedType >::TemporaryStorageType TemporaryStorageType
 

Private Functions

 DerivedInteger (const StorageType num)
 

Static Private Functions

template<typename A , typename B >
static bool largerOrEqual (const A &a, const B &b)
 
template<typename A , typename B >
static bool lessThan (const A &a, const B &b)
 

Properties

const StorageType m_value
 

Static Private Attributes

static const DerivedIntegerLimitsUsage limitsUsage = DerivedIntegerDetails<DerivedType>::limitsUsage
 
static const StorageType maxInclusive = DerivedIntegerDetails<DerivedType>::maxInclusive
 
static const StorageType minInclusive = DerivedIntegerDetails<DerivedType>::minInclusive
 

Related Functions

(Note that these are not member functions.)

enum  DerivedIntegerLimitsUsage
 

Additional Inherited Members

- Public Types inherited from QPatternist::Numeric
typedef QExplicitlySharedDataPointer< NumericPtr
 
- Public Types inherited from QPatternist::AtomicValue
typedef QList< AtomicValue::PtrList
 
typedef QExplicitlySharedDataPointer< AtomicValuePtr
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 
- Protected Functions inherited from QPatternist::AtomicValue
 AtomicValue ()
 
- Protected Functions inherited from QPatternist::CppCastingHelper< AtomicValue >
 CppCastingHelper ()
 
- Static Protected Functions inherited from QPatternist::Numeric
static xsDouble roundFloat (const xsDouble val)
 Implements fn:round() for types implemented with floating point. More...
 

Detailed Description

template<TypeOfDerivedInteger DerivedType>
class QPatternist::DerivedInteger< DerivedType >

Represents instances of derived xs:integer types, such as xs:byte.

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

Definition at line 83 of file qderivedinteger_p.h.

Typedefs

◆ StorageType

template<TypeOfDerivedInteger DerivedType>
typedef DerivedIntegerDetails<DerivedType>::StorageType QPatternist::DerivedInteger< DerivedType >::StorageType
private

Definition at line 332 of file qderivedinteger_p.h.

◆ TemporaryStorageType

template<TypeOfDerivedInteger DerivedType>
typedef DerivedIntegerDetails<DerivedType>::TemporaryStorageType QPatternist::DerivedInteger< DerivedType >::TemporaryStorageType
private

Definition at line 333 of file qderivedinteger_p.h.

Constructors and Destructors

◆ DerivedInteger()

template<TypeOfDerivedInteger DerivedType>
QPatternist::DerivedInteger< DerivedType >::DerivedInteger ( const StorageType  num)
inlineprivate

Definition at line 341 of file qderivedinteger_p.h.

341  : m_value(num)
342  {
343  }

Functions

◆ abs()

template<TypeOfDerivedInteger DerivedType>
virtual Numeric::Ptr QPatternist::DerivedInteger< DerivedType >::abs ( ) const
inlinevirtual

Performs the algorithm specified for the function fn:abs on this Numeric, and whose result is returned.

See also
XQuery 1.0 and XPath 2.0 Functions and Operators, 6.4.1 fn:abs

Implements QPatternist::Numeric.

Definition at line 533 of file qderivedinteger_p.h.

534  {
535  /* We unconditionally create an Integer even if we're a positive
536  * value, because one part of this is the type change to
537  * xs:integer.
538  *
539  * We've manually inlined qAbs() and invoke xsInteger's
540  * constructor. The reason being that we other gets truncation down
541  * to StorageType. See for instance XQTS test case absint1args-1. */
542  return Numeric::Ptr(static_cast<Numeric *>(const_cast<AtomicValue *>(Integer::fromValue(largerOrEqual(m_value, 0) ? xsInteger(m_value) : -xsInteger(m_value)).asAtomicValue())));
543  }
qint64 xsInteger
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52
static bool largerOrEqual(const A &a, const B &b)
QExplicitlySharedDataPointer< Numeric > Ptr

◆ ceiling()

template<TypeOfDerivedInteger DerivedType>
virtual Numeric::Ptr QPatternist::DerivedInteger< DerivedType >::ceiling ( ) const
inlinevirtual

Performs the algorithm specified for the function fn:ceiling on this Numeric, and whose result is returned.

See also
XQuery 1.0 and XPath 2.0 Functions and Operators, 6.4.2 fn:ceiling

Implements QPatternist::Numeric.

Definition at line 528 of file qderivedinteger_p.h.

529  {
530  return Numeric::Ptr(static_cast<Numeric *>(const_cast<AtomicValue *>(Integer::fromValue(m_value).asAtomicValue())));
531  }
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52
QExplicitlySharedDataPointer< Numeric > Ptr

◆ evaluateEBV()

template<TypeOfDerivedInteger DerivedType>
bool QPatternist::DerivedInteger< DerivedType >::evaluateEBV ( const QExplicitlySharedDataPointer< DynamicContext > &  ) const
inlinevirtual

Determines the Effective Boolean Value of this number.

Returns
false if the number is 0, otherwise true.

Reimplemented from QPatternist::AtomicValue.

Definition at line 477 of file qderivedinteger_p.h.

478  {
479  return m_value != 0;
480  }

◆ floor()

template<TypeOfDerivedInteger DerivedType>
virtual Numeric::Ptr QPatternist::DerivedInteger< DerivedType >::floor ( ) const
inlinevirtual

Performs the algorithm specified for the function fn:floor on this Numeric, and whose result is returned.

See also
XQuery 1.0 and XPath 2.0 Functions and Operators, 6.4.3 fn:floor

Implements QPatternist::Numeric.

Definition at line 523 of file qderivedinteger_p.h.

524  {
525  return Numeric::Ptr(static_cast<Numeric *>(const_cast<AtomicValue *>(Integer::fromValue(m_value).asAtomicValue())));
526  }
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52
QExplicitlySharedDataPointer< Numeric > Ptr

◆ fromLexical()

template<TypeOfDerivedInteger DerivedType>
static AtomicValue::Ptr QPatternist::DerivedInteger< DerivedType >::fromLexical ( const NamePool::Ptr np,
const QString strNumeric 
)
inlinestatic

Constructs an instance from the lexical representation strNumeric.

Definition at line 430 of file qderivedinteger_p.h.

Referenced by QPatternist::StringToDerivedIntegerCaster< type >::castFrom(), QPatternist::XsdSchemaParser::parseFractionDigitsFacet(), QPatternist::XsdSchemaParser::parseLengthFacet(), QPatternist::XsdSchemaParser::parseMaxLengthFacet(), QPatternist::XsdSchemaParser::parseMinLengthFacet(), QPatternist::XsdSchemaParser::parseMinMaxConstraint(), and QPatternist::XsdSchemaParser::parseTotalDigitsFacet().

431  {
432  bool conversionOk = false;
434 
435  /* Depending on the type, we need to call different conversion
436  * functions on QString. */
437  switch(DerivedType)
438  {
439  case TypeUnsignedLong:
440  {
441  /* Qt decides to flag '-' as invalid, so remove it before. */
442  if(strNumeric.contains(QLatin1Char('-')))
443  {
444  num = QString(strNumeric).remove(QLatin1Char('-')).toULongLong(&conversionOk);
445 
446  if(num != 0)
447  conversionOk = false;
448  }
449  else
450  num = strNumeric.toULongLong(&conversionOk);
451 
452  break;
453  }
454  default:
455  {
456  num = strNumeric.toLongLong(&conversionOk);
457  break;
458  }
459  }
460 
461  if(conversionOk)
462  return fromValue(np, num);
463  else
465  }
QBool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Definition: qstring.h:904
DerivedIntegerDetails< DerivedType >::TemporaryStorageType TemporaryStorageType
qlonglong toLongLong(bool *ok=0, int base=10) const
Returns the string converted to a long long using base base, which is 10 by default and must be betwe...
Definition: qstring.cpp:5943
static AtomicValue::Ptr fromValue(const NamePool::Ptr &np, const TemporaryStorageType num)
qulonglong toULongLong(bool *ok=0, int base=10) const
Returns the string converted to an unsigned long long using base base, which is 10 by default and mus...
Definition: qstring.cpp:5984
static AtomicValue::Ptr createError(const QString &description=QString(), const ReportContext::ErrorCode=ReportContext::FORG0001)
The QString class provides a Unicode character string.
Definition: qstring.h:83
QString & remove(int i, int len)
Removes n characters from the string, starting at the given position index, and returns a reference t...
Definition: qstring.cpp:1867
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
Definition: qchar.h:55

◆ fromValue()

template<TypeOfDerivedInteger DerivedType>
static AtomicValue::Ptr QPatternist::DerivedInteger< DerivedType >::fromValue ( const NamePool::Ptr np,
const TemporaryStorageType  num 
)
inlinestatic

Definition at line 392 of file qderivedinteger_p.h.

Referenced by QPatternist::BooleanToDerivedIntegerCaster< type >::castFrom().

393  {
394  /* If we use minInclusive when calling lessThan(), we for some
395  * reason get a linker error with GCC. Using this temporary
396  * variable solves it. */
397  const StorageType minimum = minInclusive;
398 
399  if((limitsUsage & LimitUpwards) &&
400  num > maxInclusive)
401  {
402  return ValidationError::createError(QtXmlPatterns::tr(
403  "Value %1 of type %2 exceeds maximum (%3).")
404  .arg(QPatternist::formatData(static_cast<xsInteger>(num)))
405  .arg(formatType(np, itemType()))
406  .arg(QPatternist::formatData(static_cast<xsInteger>(maxInclusive))));
407  }
408  else if((limitsUsage & LimitDownwards) &&
409  lessThan(num, minimum))
410  {
411  return ValidationError::createError(QtXmlPatterns::tr(
412  "Value %1 of type %2 is below minimum (%3).")
413  .arg(QPatternist::formatData(static_cast<xsInteger>(num)))
414  .arg(formatType(np, itemType()))
415  .arg(QPatternist::formatData(static_cast<xsInteger>(minInclusive))));
416  }
417  else
418  return AtomicValue::Ptr(new DerivedInteger(num));
419  }
static const StorageType minInclusive
QExplicitlySharedDataPointer< AtomicValue > Ptr
Definition: qitem_p.h:127
QString formatType(const NamePool::Ptr &np, const T &type)
Formats ItemType and SequenceType.
static AtomicValue::Ptr createError(const QString &description=QString(), const ReportContext::ErrorCode=ReportContext::FORG0001)
DerivedIntegerDetails< DerivedType >::StorageType StorageType
static const StorageType maxInclusive
static const DerivedIntegerLimitsUsage limitsUsage
static QString formatData(const QString &data)
DerivedInteger(const StorageType num)
static ItemType::Ptr itemType()
static bool lessThan(const A &a, const B &b)

◆ fromValueUnchecked()

template<TypeOfDerivedInteger DerivedType>
static AtomicValue::Ptr QPatternist::DerivedInteger< DerivedType >::fromValueUnchecked ( const TemporaryStorageType  num)
inlinestatic

Definition at line 421 of file qderivedinteger_p.h.

Referenced by QPatternist::AtomicValue::toXDM().

422  {
423  return AtomicValue::Ptr(new DerivedInteger(num));
424  }
QExplicitlySharedDataPointer< AtomicValue > Ptr
Definition: qitem_p.h:127
DerivedInteger(const StorageType num)

◆ isInf()

template<TypeOfDerivedInteger DerivedType>
virtual bool QPatternist::DerivedInteger< DerivedType >::isInf ( ) const
inlinevirtual
Returns
always false, xs:DerivedInteger doesn't have infinity in its value space.

Implements QPatternist::Numeric.

Definition at line 558 of file qderivedinteger_p.h.

559  {
560  return false;
561  }

◆ isNaN()

template<TypeOfDerivedInteger DerivedType>
virtual bool QPatternist::DerivedInteger< DerivedType >::isNaN ( ) const
inlinevirtual
Returns
always false, xs:DerivedInteger doesn't have not-a-number in its value space.

Implements QPatternist::Numeric.

Definition at line 549 of file qderivedinteger_p.h.

550  {
551  return false;
552  }

◆ isSigned()

template<TypeOfDerivedInteger DerivedType>
virtual bool QPatternist::DerivedInteger< DerivedType >::isSigned ( ) const
inlinevirtual

Returns true if this value is signed. If false is returned, the value is unsigned.

For float and decimal values, xs:double, xs:float and xs:decimal, the code asserts and behavior is undefined.

Implements QPatternist::Numeric.

Definition at line 568 of file qderivedinteger_p.h.

◆ itemType()

template<TypeOfDerivedInteger DerivedType>
static ItemType::Ptr QPatternist::DerivedInteger< DerivedType >::itemType ( )
inlinestatic

Definition at line 370 of file qderivedinteger_p.h.

Referenced by QPatternist::NumericToDerivedIntegerCaster< type >::castFrom().

371  {
372  switch(DerivedType)
373  {
374  case TypeByte: return BuiltinTypes::xsByte;
375  case TypeInt: return BuiltinTypes::xsInt;
376  case TypeLong: return BuiltinTypes::xsLong;
381  case TypeShort: return BuiltinTypes::xsShort;
386  }
387 
388  Q_ASSERT(false);
389  return ItemType::Ptr();
390  }
static const AtomicType::Ptr xsInt
static const AtomicType::Ptr xsShort
static const AtomicType::Ptr xsNegativeInteger
static const AtomicType::Ptr xsByte
#define Q_ASSERT(cond)
Definition: qglobal.h:1823
static const AtomicType::Ptr xsUnsignedByte
static const AtomicType::Ptr xsUnsignedInt
static const AtomicType::Ptr xsNonNegativeInteger
QExplicitlySharedDataPointer< ItemType > Ptr
Definition: qitemtype_p.h:88
static const AtomicType::Ptr xsNonPositiveInteger
static const AtomicType::Ptr xsUnsignedShort
static const AtomicType::Ptr xsPositiveInteger
static const AtomicType::Ptr xsLong
static const AtomicType::Ptr xsUnsignedLong

◆ largerOrEqual()

template<TypeOfDerivedInteger DerivedType>
template<typename A , typename B >
static bool QPatternist::DerivedInteger< DerivedType >::largerOrEqual ( const A a,
const B &  b 
)
inlinestaticprivate

This function exists for the same reason that lessThan() do.

Definition at line 363 of file qderivedinteger_p.h.

364  {
365  return qint64(a) >= b;
366  }
long ASN1_INTEGER_get ASN1_INTEGER * a
__int64 qint64
Definition: qglobal.h:942

◆ lessThan()

template<TypeOfDerivedInteger DerivedType>
template<typename A , typename B >
static bool QPatternist::DerivedInteger< DerivedType >::lessThan ( const A a,
const B &  b 
)
inlinestaticprivate

By refactoring out the simple comparison below into a template function, we avoid the warning "warning: comparison of unsigned expression < 0 is always false" with gcc when the class is instantiated with TypeUnsignedLong. The warning is a false positive since we check wehther LimitUpwards is set before instantiating.

This template function exists for no other reason.

Definition at line 354 of file qderivedinteger_p.h.

355  {
356  return a < b;
357  }
long ASN1_INTEGER_get ASN1_INTEGER * a

◆ round()

template<TypeOfDerivedInteger DerivedType>
virtual Numeric::Ptr QPatternist::DerivedInteger< DerivedType >::round ( ) const
inlinevirtual

Performs the algorithm specified for the function fn:round on this Numeric, and whose result is returned.

See also
XQuery 1.0 and XPath 2.0 Functions and Operators, 6.4.4 fn:round

Implements QPatternist::Numeric.

Definition at line 512 of file qderivedinteger_p.h.

513  {
514  /* xs:integerS never have a mantissa. */
515  return Numeric::Ptr(static_cast<Numeric *>(const_cast<AtomicValue *>(Integer::fromValue(m_value).asAtomicValue())));
516  }
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52
QExplicitlySharedDataPointer< Numeric > Ptr

◆ roundHalfToEven()

template<TypeOfDerivedInteger DerivedType>
virtual Numeric::Ptr QPatternist::DerivedInteger< DerivedType >::roundHalfToEven ( const xsInteger  scale) const
inlinevirtual

Performs rounding as defined for the fn:round-half-to-even on this Numeric, and whose result is returned.

See also
XQuery 1.0 and XPath 2.0 Functions and Operators, 6.4.5 fn:round-half-to-even

Implements QPatternist::Numeric.

Definition at line 518 of file qderivedinteger_p.h.

519  {
520  return Numeric::Ptr(static_cast<Numeric *>(const_cast<AtomicValue *>(Integer::fromValue(m_value).asAtomicValue())));
521  }
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52
QExplicitlySharedDataPointer< Numeric > Ptr

◆ storedValue()

template<TypeOfDerivedInteger DerivedType>
StorageType QPatternist::DerivedInteger< DerivedType >::storedValue ( ) const
inline

Definition at line 467 of file qderivedinteger_p.h.

Referenced by QPatternist::XsdSchemaParser::parseMinMaxConstraint(), and QPatternist::AtomicValue::toQt().

468  {
469  return m_value;
470  }

◆ stringValue()

template<TypeOfDerivedInteger DerivedType>
virtual QString QPatternist::DerivedInteger< DerivedType >::stringValue ( ) const
inlinevirtual

Implements QPatternist::AtomicValue.

Definition at line 482 of file qderivedinteger_p.h.

483  {
484  return QString::number(m_value);
485  }
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qstring.cpp:6448

◆ toDecimal()

template<TypeOfDerivedInteger DerivedType>
virtual xsDecimal QPatternist::DerivedInteger< DerivedType >::toDecimal ( ) const
inlinevirtual
Returns
the particular number's value as a native representation of the type xs:decimal. This can be considered that the value is cast to xs:decimal.

Implements QPatternist::Numeric.

Definition at line 507 of file qderivedinteger_p.h.

508  {
509  return static_cast<xsDecimal>(m_value);
510  }
xsDouble xsDecimal

◆ toDouble()

template<TypeOfDerivedInteger DerivedType>
virtual xsDouble QPatternist::DerivedInteger< DerivedType >::toDouble ( ) const
inlinevirtual
Returns
the particular number's value as a native representation of the type xs:double. This can be considered that the value is cast to xs:double.

Implements QPatternist::Numeric.

Definition at line 492 of file qderivedinteger_p.h.

493  {
494  return static_cast<xsDouble>(m_value);
495  }

◆ toFloat()

template<TypeOfDerivedInteger DerivedType>
virtual xsFloat QPatternist::DerivedInteger< DerivedType >::toFloat ( ) const
inlinevirtual
Returns
the particular number's value as a native representation of the type xs:float. This can be considered that the value is cast to xs:float.

Implements QPatternist::Numeric.

Definition at line 502 of file qderivedinteger_p.h.

503  {
504  return static_cast<xsFloat>(m_value);
505  }
xsDouble xsFloat

◆ toInteger()

template<TypeOfDerivedInteger DerivedType>
virtual xsInteger QPatternist::DerivedInteger< DerivedType >::toInteger ( ) const
inlinevirtual
Returns
the particular number's value as a native representation of the type xs:integer. This can be considered that the value is cast to xs:integer.

Implements QPatternist::Numeric.

Definition at line 497 of file qderivedinteger_p.h.

498  {
499  return m_value;
500  }

◆ toNegated()

template<TypeOfDerivedInteger DerivedType>
virtual Item QPatternist::DerivedInteger< DerivedType >::toNegated ( ) const
inlinevirtual

Unary minus.

Implements QPatternist::Numeric.

Definition at line 563 of file qderivedinteger_p.h.

564  {
566  }
qint64 xsInteger
static Item fromValue(const xsInteger num)
Definition: qinteger.cpp:52

◆ toUnsignedInteger()

template<TypeOfDerivedInteger DerivedType>
virtual qulonglong QPatternist::DerivedInteger< DerivedType >::toUnsignedInteger ( ) const
inlinevirtual
Returns
the number as an unsigned integer. If the value is not unsigned, the code asserts and behavior is undefined.

Implements QPatternist::Numeric.

Definition at line 592 of file qderivedinteger_p.h.

593  {
594  switch(DerivedType)
595  {
596  /* Fallthrough all these. */
597  case TypeByte:
598  case TypeInt:
599  case TypeLong:
600  case TypeNegativeInteger:
603  case TypePositiveInteger:
604  case TypeShort:
605  Q_ASSERT_X(false, Q_FUNC_INFO,
606  "It makes no sense to call this function, see Numeric::toUnsignedInteger().");
607  /* Fallthrough all these. */
608  case TypeUnsignedByte:
609  case TypeUnsignedInt:
610  case TypeUnsignedLong:
611  case TypeUnsignedShort:
612  return m_value;
613  }
614  return 0;
615  }
#define Q_ASSERT_X(cond, where, what)
Definition: qglobal.h:1837
#define Q_FUNC_INFO
Definition: qglobal.h:1871

◆ type()

template<TypeOfDerivedInteger DerivedType>
virtual ItemType::Ptr QPatternist::DerivedInteger< DerivedType >::type ( ) const
inlinevirtual

Implements QPatternist::AtomicValue.

Definition at line 487 of file qderivedinteger_p.h.

488  {
489  return itemType();
490  }
static ItemType::Ptr itemType()

Friends and Related Functions

◆ DerivedIntegerLimitsUsage

template<TypeOfDerivedInteger DerivedType>
enum DerivedIntegerLimitsUsage
related

Properties

◆ limitsUsage

template<TypeOfDerivedInteger DerivedType>
const DerivedIntegerLimitsUsage QPatternist::DerivedInteger< DerivedType >::limitsUsage = DerivedIntegerDetails<DerivedType>::limitsUsage
staticprivate

Definition at line 337 of file qderivedinteger_p.h.

◆ m_value

template<TypeOfDerivedInteger DerivedType>
const StorageType QPatternist::DerivedInteger< DerivedType >::m_value
private

Definition at line 339 of file qderivedinteger_p.h.

◆ maxInclusive

template<TypeOfDerivedInteger DerivedType>
const StorageType QPatternist::DerivedInteger< DerivedType >::maxInclusive = DerivedIntegerDetails<DerivedType>::maxInclusive
staticprivate

Definition at line 335 of file qderivedinteger_p.h.

◆ minInclusive

template<TypeOfDerivedInteger DerivedType>
const StorageType QPatternist::DerivedInteger< DerivedType >::minInclusive = DerivedIntegerDetails<DerivedType>::minInclusive
staticprivate

Definition at line 336 of file qderivedinteger_p.h.


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