The ITConversions interface

The ITConversions interface is exposed by objects that can be converted to and from C++ host variable type instances.

The conversion methods are of the form ITBool ITConversions::ConvertTo(base_type). The cnvex.cpp example attempts to determine whether the value object that has exposed an ITConversions interface through an interface pointer is convertible to int, double, and other types.

For details about converting the columns of a row to C++ built-in types, see The ITContainerIter class.

The application can use ITConversions::ConvertFrom(base_type) to set the value object to a C++ base type value.