ObjectStore C++ API Reference

os_named_indirect_type

class os_named_indirect_type : public os_anonymous_indirect_
type
This class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents a C++ typedef. This class is derived from os_anonymous_indirect_type. Performing os_anonymous_indirect_type::get_target_type() on an os_named_indirect_type results in the type named by the typedef.

os_named_indirect_type::create()

static os_named_indirect_type& create(
      os_type* target, 
      const char*
);
Creates an os_named_indirect_type.

os_named_indirect_type::get_name()

const char *get_name() const;
Returns the name of the specified typedef.

os_named_indirect_type::get_source_position()

void get_source_position(
      const char* &file, 
      os_unsigned_int32 &line
) const;
Returns the source position associated with the specified typedef.

os_named_indirect_type::set_name()

const char *set_name() const;
Sets the name of the specified typedef.

os_named_indirect_type::set_source_position()

void set_source_position(
      const char* file, 
      os_unsigned_int32 line
);
Sets the source position associated with the specified typedef.



[previous] [next]

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

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