System.ConvUtils

From Appmethod Libraries
Jump to: navigation, search


Template:UnitInfo

Classes

EConversionErrorEConversionError is the exception class for measurement conversion errors.
TConvTypeFactorTConvTypeFactor describes a single registered conversion type (measurement unit) that differs from its family's base units by a simple conversion factor.
TConvTypeInfoTConvTypeInfo describes a single registered conversion type (measurement unit).
TConvTypeProcsTConvTypeProcs describes a single registered conversion type (measurement unit) that is registered by supplying conversion methods.

Routines

CompatibleConversionTypeIndicates whether a specified conversion type is registered with a specified conversion family.
CompatibleConversionTypesIndicates whether the Convert function can convert between two specified conversion types.
ConvertConverts a measurement from one set of units to another.
ConvertFromConverts a measurement from the specified units to the base units of its conversion family.
ConvertToConverts a measurement from the base units of a conversion family into a specified conversion type.
ConvFamilyToDescriptionReturns the string description of what a conversion family measures.
ConvTypeToDescriptionReturns the string description of a conversion type (measurement unit).
ConvTypeToFamilyReturns the identifier for the conversion family with which a conversion type or pair of types is registered.
ConvUnitAddAdds two measurements and returns the result using a specified unit of measurement.
ConvUnitCompareValueIndicates the relationship between two measurements.
ConvUnitDecDecrements a specified measurement by a specified amount.
ConvUnitDiffSubtracts one measurement from another and returns the result using a specified unit of measurement.
ConvUnitIncIncrements a specified measurement by a specified amount.
ConvUnitSameValueIndicates whether two measurements are equivalent.
ConvUnitToStrFormats a measurement and its conversion unit into a human-readable string.
ConvUnitWithinNextIndicates whether a specified measurement exceeds another measurement by at most a specified amount.
ConvUnitWithinPreviousIndicates whether a specified measurement is at most a specified amount less than another measurement.
DescriptionToConvFamilyRetrieves the identifier for a conversion family given its name.
DescriptionToConvTypeRetrieves the identifier for a conversion type given its name and family.
GetConvFamiliesReturns a list of all registered conversion families.
GetConvTypesReturns a list of all registered conversion types in a specified conversion family.
RaiseConversionErrorRaises an EConversionError exception.
RaiseConversionRegError
RegisterConversionFamilyRegisters a new conversion family and returns its identifier.
RegisterConversionTypeRegisters a new conversion type and returns its identifier.
StrToConvUnitParses a string into a value and conversion type.
TryConvTypeToFamilyRetrieves the identifier for the conversion family with which a conversion type or pair of types is registered.
TryStrToConvUnitParses a string into a value and conversion type.
UnregisterConversionFamilyUnregisters a conversion family previously registered using RegisterConversionFamily.
UnregisterConversionTypeUnregisters a conversion type previously registered using RegisterConversionType.

Types

TConversionProc
TConvFamily
TConvFamilyArrayTConvFamilyArray represents a dynamic array of conversion families.
TConvType
TConvTypeArrayTConvTypeArray represents a dynamic array of conversion types (measurement units).
TConvTypeList

Variables

CIllegalConvFamily
CIllegalConvType
GConvUnitToStrFmt