Unregisters conversion functions for string identifiers that represent type values.
UnregisterIntegerConsts, which can only be called in Delphi, unregisters conversion functions that were previously registered by a call to RegisterIntegerConsts. Call UnregisterIntegerConsts from the finalization section of the unit that defines the constants and registers the conversion functions in its initialization section. Once the conversion functions are unregistered, string identifiers can't be used to represent type values.
AIntegerType is a pointer to the type information for the integer-based type whose values are represented as strings. Its value can be obtained from the base type using the TypeInfo function.
AIdentToInt is the conversion function that converts strings that are symbolic representations of values to the corresponding integers.
AIntToIdent is the conversion function that converts values that are instances of the base type to the corresponding string representation.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!