The ITConversions interface

Base class: ITEssential

Interface to convert value objects to C++ base classes, strings, or value objects.

This interface provides the following methods.
Method Description
ITBool ConvertTo(base_type &) Converts to the variable of the specified type. Valid types for the base_type parameter are as follows:
  • short
  • int
  • double
  • long
  • float
  • long double
  • const char *
  • bool (if the C++ compiler supports it)
  • ITString
  • ITInt8
ITBool ConvertFrom(const type) Sets the object from the value of the C++ type given as type.