ObjectStore C++ API Reference

os_app_schema

This class is part of the ObjectStore metaobject protocol, which provides access to ObjectStore schemas. An instance of this class represents an application schema, stored in an application schema database, or a component schema, stored in a component schema database. os_app_schema is derived from os_schema.

Programs using this class must include <ostore/ostore.hh>, followed by <ostore/coll.hh> (if used), followed by <ostore/mop.hh>.

os_app_schema::get()

static const os_app_schema &get();
Returns the schema of the application making the call. Signals err_no_schema if the schema could not be found.

static const os_app_schema &get(const os_database&);
Returns the schema of the specified database. Signals err_no_schema if the specified database is not an application or component schema database.



[previous] [next]

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

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