ObjectStore C++ API Reference

os_namespace

This class is part of the ObjectStore metaobject protocol.

os_namespace::create()

static os_namespace& create(const char* name);
Creates a namespace typedef for the specified name.

static os_namespace& create(const char* name, os_members&) ;
Creates a namespace typedef for the specified name and members.

os_namespace::get_enclosing_namespace()

const os_namespace* get_enclosing_namespace () const ;
os_namespace* get_enclosing_namespace ();
Returns the enclosing namespace if one exists, otherwise returns 0.

os_namespace::get_members()

os_members get_members () ;
os_const_members get_members () const ;

os_namespace::get_name()

const char* get_name () const ;

os_namespace::set_members()

void set_members(os_members&) ;

os_namespace::set_name()

void set_name(const char*) ;

os_namespace::set_enclosing_namespace()

const os_namespace* set_enclosing_namespace () const ;
os_namespace* set_enclosing_namespace ();
Returns the enclosing namespace if one exists, otherwise returns 0.



[previous] [next]

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

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