ObjectStore C++ API Reference

os_instantiated_class_type

class os_instantiated_class_type : public os_class_type
This class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents an instantiation of a template class. This class is derived from os_class_type.

os_instantiated_class_type::create()

static os_instantiated_class_type& create(const char* name);
Creates an os_instantiated_class_type with the specified name.

static os_instantiated_class_type& create(
      const char* name, 
      os_List<os_base_class*>&, 
      os_List<os_member*>&,
      os_template_instantiation*, 
      os_boolean defines_virtual_functions
);
Creates an os_instantiated_class_type from the specified template instantiation and with the specified name, base classes, and members.

os_instantiated_class_type::get_instantiation()

const os_template_instantiation &get_instantiation() const;
Returns a reference to a const os_template_instantiation that represents the template instantiation resulting in this class.

os_template_instantiation &get_instantiation();
Returns a reference to a non-const os_template_instantiation that represents the template instantiation resulting in this class.

os_instantiated_class_type::set_instantiation()

void set_instantiation(os_template_instantiation&);
Sets the os_template_instantiation for the specified os_instantiated_class_type.



[previous] [next]

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

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