Qt 4.8
Typedefs
C++ Primitives for W3C XML Schema Number Types

Typedefs

typedef qint32 QPatternist::VariableSlotID
 
typedef xsDouble QPatternist::xsDecimal
 
typedef qreal QPatternist::xsDouble
 
typedef xsDouble QPatternist::xsFloat
 
typedef qint64 QPatternist::xsInteger
 

Detailed Description

The implementations of W3C XML Schema's(WXS) number types, more specifically their value spaces, must in the end be represented by primitive C++ types. In addition, there is an extensive range of functions and classes that in different ways deals with data that will end up as instances of the WXS types. For this reason, a set of typedefs for these primitives exists, that are used throughout the API. This ensures consistency, reduces the amount of conversions, and potentially precision loss in conversions.

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

Typedef Documentation

◆ VariableSlotID

This is the native C++ scalar type holding the value space for atomic values of type xs:integer. Taking this type, xsInteger, as parameter, is the most efficient way to integrate with xs:integer.

Definition at line 139 of file qprimitives_p.h.

◆ xsDecimal

This is the native C++ scalar type holding the value space for atomic values of type xs:decimal. Taking this type, xsDecimal, as parameter, is the most efficient way to integrate with xs:decimal.

Definition at line 121 of file qprimitives_p.h.

◆ xsDouble

This is the native C++ scalar type holding the value space for atomic values of type xs:double. Taking this type, xsDouble, as parameter, is the most efficient way to integrate with xs:double.

Definition at line 103 of file qprimitives_p.h.

◆ xsFloat

This is the native C++ scalar type holding the value space for atomic values of type xs:float. Taking this type, xsFloat, as parameter, is the most efficient way to integrate with xs:float.

Definition at line 112 of file qprimitives_p.h.

◆ xsInteger

This is the native C++ scalar type holding the value space for atomic values of type xs:integer. Taking this type, xsInteger, as parameter, is the most efficient way to integrate with xs:integer.

Definition at line 130 of file qprimitives_p.h.