class os_integral_type : public os_typeThis class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents a C++ integer type. This class is derived from os_type. Performing os_type::kind() on an os_integral_type returns one of the following enumerators: os_type::Signed_char, os_type::Unsigned_char, os_type::Signed_short, os_type::Unsigned_short, os_type::Integer, os_type::Unsigned_integer, os_type::Signed_long, or os_type::Unsigned_long.
The types os_int32 and os_boolean, used throughout this manual, are each defined as a signed 32-bit integer type. The type os_unsigned_int32 is defined as an unsigned 32-bit integer type.
static os_integral_type &create(const char*);Creates an os_integral_type representing the type with the specified name.
static os_integral_type &create_defaulted_char(os_boolean signed);Creates an os_integral_type representing the type char.
static os_integral_type &create_int(os_boolean signed);Creates an os_integral_type representing the type int or unsigned int.
static os_integral_type &create_long(os_boolean signed);Creates an os_integral_type representing the type long or unsigned long.
static os_integral_type &create_short(os_boolean signed);Creates an os_integral_type representing the type short or unsigned short.
static os_integral_type &create_signed_char();Creates an os_integral_type representing the type signed char.
static os_integral_type &create_unsigned_char();Creates an os_integral_type representing the type unsigned char.
os_boolean is_signed() const;Returns 1 if and only if the specified object represents a signed type.
Updated: 03/31/98 17:25:09