ObjectStore C++ API Reference

os_template_value_formal

class os_template_value_formal : public os_template_formal_arg
This class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. Instances of this class represent formal template parameters whose actuals are values. The class os_template_value_formal is derived from os_template_formal_arg.

os_template_value_formal::create()

static os_template_value_formal& create(
      const char *name, 
      os_type *type
);
Creates an os_template_value_formal with the specified name. The actuals for the created formal are instances of the specified type.

os_template_value_formal::get_type()

const os_type& get_type() const;
Returns a const reference to an os_type representing the type of the actuals for the specified formal.

os_type& get_type();
Returns a non-const reference to an os_type representing the type of the actuals for the specified formal.

os_template_value_formal::set_type()

void set_type(os_type&);
Sets the type of the actuals for the specified formal.



[previous] [next]

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

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