Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

Part Number B10119-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

OMetaData

An OMetaData object is a collection of OMDAttribute objects that represent the description information about a particular schema object in the database. For example, see attributes for a OMetaData object of type table (ORAMD_TABLE).

Remarks

The OMetaData object can be visualized as a table with three columns:

· Metadata Attribute Name

· Metadata Attribute Value

· Flag specifying whether the Value is another OMetaData Object

The OMDAttribute objects contained in the OMetaData object can be accessed by subscripting using ordinal integers or by using the name of the property. Referencing a subscript that is not in the collection (0 to Count-1) results in the return of a NULL OMDAttribute object.

Construction and destruction:

OMetaData

~OMetaData

operator=

Attributes:

GetCount GetType
IsOpen

operator==
operator!=

Operations:
Close
GetAttribute
GetAttrName

GetAttrValue
Open


Example: Displaying Attributes of an OMetaData Object