Programs using this class must include <ostore/ostore.hh>, followed by <ostore/coll.hh> (if used), followed by <ostore/mop.hh>.
os_collection get_classes() const;Returns a collection of the classes in the schema. Each element of the returned collection points to a const os_class_type.
enum os_schema_kind { Compilation_schema, Application_schema, Database_schema }; os_schema_kind get_kind () const;Returns an enumerator indicating the kind of the specified schema.
const os_type *find_type(const char *typename) const;Returns a pointer to the type with the specified name in the specified schema. The name can designate a class or any C++ fundamental type. All pointer types are treated identically, and result in the type for void*'s being returned. If there is no type with the specified name, 0 is returned. For nested classes, the name must be a fully qualified name that describes the path to the nested class, for example, outer::inner.
operator const os_app_schema&() const;Provides safe conversion to const os_app_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
operator const os_comp_schema&() const;Provides safe conversion to const os_comp_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
operator const os_database_schema&() const;Provides safe conversion to const os_database_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
operator os_app_schema&();Provides safe conversion to os_app_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
operator os_comp_schema&();Provides safe conversion to os_comp_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
operator os_database_schema&();Provides safe conversion to os_database_schema&. If the conversion is not permissible, err_mop_illegal_cast is signaled.
Updated: 03/31/98 17:25:09