IRISLIB database
SmallInt Class Reference

The SmallInt represents a small integer value. More...

Inheritance diagram for SmallInt:
Collaboration diagram for SmallInt:

Static Public Member Functions

_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is an integer value, is valid. More...
 
_.Library.Integer Normalize (_, _.Library.RawString val)
 Converts val to a normalized value.
 
_.Library.SmallInt XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded input decimal value into a SmallInt value. More...
 
- Static Public Member Functions inherited from Integer
_.Library.Integer DisplayToLogical (_, _.Library.String val)
 Converts the input value val, which is a string representing an integer,. More...
 
_.Library.String LogicalToDisplay (_, _.Library.Integer val)
 Converts the value of val, which is in logical integer format, into a display string. More...
 

Static Public Attributes

 MAXVAL = None
 The SmallInt represents a small integer value. More...
 
 MINVAL = None
 The minimum allowed logical value for the data type.
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from Integer
 DISPLAYLIST = None
 The Integer data type class represents an integer value. More...
 
 FORMAT = None
 The format specification for the data type's display value. More...
 
 MAXVAL = None
 The maximum allowed logical value for the data type.
 
 MINVAL = None
 The minimum allowed logical value for the data type.
 
 STRICT = None
 If '1' then <method>IsValid</method> will return false for numbers that are not integers e.g. More...
 
 VALUELIST = None
 Used for enumerated (multiple-choice) attributes. More...
 
 XMLTotalDigits = None
 The total number of digits for XML verification as defined by http://www.w3.org/TR/xmlschema-2/#rf-totalDigits.
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 INDEXNULLMARKER = None
 Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More...
 

Detailed Description

The SmallInt represents a small integer value.

This implements the SmallInt ODBC datatype

Member Function Documentation

◆ IsValid()

_.Library.Status IsValid (   _,
_.Library.RawString  val 
)
static

Tests if the logical value val, which is an integer value, is valid.

The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MAXVAL and MINVAL.

Reimplemented from Integer.

◆ XSDToLogical()

_.Library.SmallInt XSDToLogical (   _,
_.Library.String  val 
)
static

Converts the SOAP encoded input decimal value into a SmallInt value.

Returns "" for error.

Reimplemented from Integer.

Member Data Documentation

◆ MAXVAL

MAXVAL = None
static

The SmallInt represents a small integer value.

This implements the SmallInt ODBC datatype

The maximum allowed logical value for the data type.