ObjectStore C++ API Reference

os_anonymous_indirect_type

class os_anonymous_indirect_type : public os_type
This class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents a const or volatile type. This class is derived from os_type.

os_anonymous_indirect_type::create()

static os_anonymous_indirect_type &create(
      os_type *target_type,
);
Creates an anonymous indirect type with the specified target_type and name.

os_anonymous_indirect_type::get_target_type()

const os_type &get_target_type() const;
Returns the type to which the const or volatile specifier applies. For example, the type const int is represented as an instance of os_anonymous_indirect_type whose target type is an instance of os_integral_type.

os_anonymous_indirect_type::is_const()

os_boolean is_const() const;
Sets the name of an os_anonymous_indirect_type of type const.

os_anonymous_indirect_type::is_volatile()

os_boolean is_volatile() const;
Sets the name of an os_anonymous_indirect_type of type volatile.

os_anonymous_indirect_type::set_is_const()

void set_is_const(os_boolean);
Sets the name of an os_anonymous_indirect_type of type const.

os_anonymous_indirect_type::set_is_volatile()

void set_is_volatile(os_boolean);
Sets the name of an os_anonymous_indirect_type of type volatile.



[previous] [next]

Copyright © 1997 Object Design, Inc. All rights reserved.

Updated: 03/31/98 17:25:09