The ITRow interface
Base class: ITValue
Provides access to row values. A row value can extract references to the number of columns it contains and the value of a specific column.
The unknwn argument of the Column method
is the address of a pointer to an ITEssential interface
of an object that will be the parent of any subobjects created by
the method. The newly created subobject returns its own ITEssential interface
pointer in the argument if the object delegation was successful. The
subobject reference count is 1 after the call, even if the ITEssential interface is passed back to the caller.
The default argument is NULL
to indicate that no object
delegation is to be performed.
This interface provides the following methods.
Method | Description |
---|---|
long NumColumns() | Returns the number of columns in this row value. |
ITValue *Column(long, ITEssential **unknwn = NULL) | Returns a pointer to the value interface of a column. |
ITValue *Column(const ITString &, ITEssential **unknwn = NULL) | Returns a pointer to the value interface of a
column by name. Returns NULL if you specify an invalid
column name. |