Class TXSNumericType

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXSNumericType = class(TXSSimpleType)

Description

XML Schema numeric type, derived from xs:decimal, xs:float or xs:double.

Hierarchy

Overview

Fields

Public subType: TXSNumericSubType;

Methods

Public function tryCreateValueInternal(const v: IXQValue; outv: PXQValue = nil): TXSCastingError; override;
Public function tryCreateValueInternal(const v: string; outv: PXQValue): TXSCastingError; override;
Public function tryCreateValue(const v: Int64; outv: PXQValue = nil): TXSCastingError; override; overload;
Public function tryCreateValue(const v: xqfloat; outv: PXQValue = nil): TXSCastingError; override; overload;
Public function tryCreateValue(const v: BigDecimal; outv: PXQValue = nil): TXSCastingError; override; overload;
Public function constraintsSatisfied(const v: int64): boolean;
Public function constraintsSatisfied(const v: BigDecimal): boolean;
Public constructor create(const aname: string; aparent: TXSType; asubtype: TXSNumericSubType);
Public constructor create(const aname: string; aparent: TXSNumericType);

Description

Fields

Public subType: TXSNumericSubType;
 

Methods

Public function tryCreateValueInternal(const v: IXQValue; outv: PXQValue = nil): TXSCastingError; override;
 
Public function tryCreateValueInternal(const v: string; outv: PXQValue): TXSCastingError; override;
 
Public function tryCreateValue(const v: Int64; outv: PXQValue = nil): TXSCastingError; override; overload;
 
Public function tryCreateValue(const v: xqfloat; outv: PXQValue = nil): TXSCastingError; override; overload;
 
Public function tryCreateValue(const v: BigDecimal; outv: PXQValue = nil): TXSCastingError; override; overload;
 
Public function constraintsSatisfied(const v: int64): boolean;
 
Public function constraintsSatisfied(const v: BigDecimal): boolean;
 
Public constructor create(const aname: string; aparent: TXSType; asubtype: TXSNumericSubType);
 
Public constructor create(const aname: string; aparent: TXSNumericType);
 

Generated by PasDoc 0.14.0.