RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ConvUtils Namespace

This is namespace ConvUtils.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists functions in this documentation. 
The following table lists types in this documentation. 
The following table lists variables in this documentation. 
The following table lists constants in this documentation. 
 
Name 
Description 
 
EConversionError is the exception class for measurement conversion errors. 
 
TConvTypeFactor describes a single registered conversion type (measurement unit) that differs from its family's base units by a simple conversion factor. 
 
TConvTypeInfo describes a single registered conversion type (measurement unit). 
 
TConvTypeProcs describes a single registered conversion type (measurement unit) that is registered by supplying conversion methods. 
Name 
Description 
This is constant ConvUtils.CIllegalConvFamily. 
This is constant ConvUtils.CIllegalConvType. 
 
Name 
Description 
 
Indicates whether a specified conversion type is registered with a specified conversion family. 
 
Indicates whether the Convert function can convert between two specified conversion types. 
 
Converts a measurement from one set of units to another. 
 
Converts a measurement from one set of units to another. 
 
Converts a measurement from the specified units to the base units of its conversion family. 
 
Converts a measurement from the base units of a conversion family into a specified conversion type. 
 
Returns the string description of what a conversion family measures. 
 
Returns the string description of a conversion type (measurement unit). 
 
Returns the identifier for the conversion family with which a conversion type or pair of types is registered. 
 
Returns the identifier for the conversion family with which a conversion type or pair of types is registered. 
 
Adds two measurements and returns the result using a specified unit of measurement. 
 
Indicates the relationship between two measurements. 
 
Decrements a specified measurement by a specified amount. 
 
Decrements a specified measurement by a specified amount. 
 
Subtracts one measurement from another and returns the result using a specified unit of measurement. 
 
Increments a specified measurement by a specified amount. 
 
Increments a specified measurement by a specified amount. 
 
Indicates whether two measurements are equivalent. 
 
Formats a measurement and its conversion unit into a human-readable string. 
 
Indicates whether a specified measurement exceeds another measurement by at most a specified amount. 
 
Indicates whether a specified measurement is at most a specified amount less than another measurement. 
 
Retrieves the identifier for a conversion family given its name. 
 
Retrieves the identifier for a conversion type given its name and family. 
 
Retrieves the identifier for a conversion type given its name and family. 
 
Returns a list of all registered conversion families. 
 
Returns a list of all registered conversion types in a specified conversion family. 
 
Raises an EConversionError exception. 
 
Raises an EConversionError exception. 
 
This is function ConvUtils.RaiseConversionRegError. 
 
Registers a new conversion family and returns its identifier. 
 
Registers a new conversion type and returns its identifier. 
 
Registers a new conversion type and returns its identifier. 
 
Registers a new conversion type and returns its identifier. 
 
Parses a string into a value and conversion type. 
 
Retrieves the identifier for the conversion family with which a conversion type or pair of types is registered. 
 
Retrieves the identifier for the conversion family with which a conversion type or pair of types is registered. 
 
Parses a string into a value and conversion type. 
 
Unregisters a conversion family previously registered using RegisterConversionFamily
 
Unregisters a conversion type previously registered using RegisterConversionType
Name 
Description 
This is type ConvUtils.TConversionProc. 
This is type ConvUtils.TConvFamily. 
TConvFamilyArray represents a dynamic array of conversion families. 
This is type ConvUtils.TConvType. 
TConvTypeArray represents a dynamic array of conversion types (measurement units) 
This is type ConvUtils.TConvTypeList. 
Name 
Description 
This is variable ConvUtils.GConvUnitToStrFmt. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!