class os_field_member_variable : public os_member_variableThis class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents a bit-field member. This class is derived from os_member_variable.
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_int8 is defined as an unsigned 8-bit integer type.
Programs using this class must include <ostore/ostore.hh>, followed by <ostore/coll.hh> (if used), followed by <ostore/mop.hh>.
static os_field_member_variable& create( const char* name, os_type* type, os_unsigned_int8 size_in_bits );Creates an os_field_member_variable of the specified name, type, and size_in_bits.
void get_offset( os_unsigned_int32 &bytes, os_unsigned_int8 &bits ) const;Returns the offset in bytes and bits to the specified bit field.
os_unsigned_int8 get_size() const;Returns the size in bits of the specified bit field.
void set_size(os_unsigned_int8 size_in_bits);Sets the size in bits of the specified bit field.
Updated: 03/31/98 17:25:09