#include <IPreflightResultRecordTable.h>
|
| enum | { kDefaultIID = IID_IPREFLIGHTRESULTRECORDTABLE } |
| |
This interface manages an array/vector of IPreflightResultRecord references. It's used extensively by the preflight aggregated results utilities and preflight rules.
- See Also
- IPreflightResultRecord
- IPreflightAggregatedResultsUtils
This interface sits on its own boss by itself, typically. You can create an empty one of these via IPreflightAggregatedResultsUtils::CreatePreflightResultRecordTable, but more typically you use IPreflightAggregatedResultsUtils::CreateTableFromNodes and various other create-table-via-filter methods in that interface.
Adds a record to the table. This isn't terribly common in rules because most of the time they're simply grouping existing results and those generated via IPreflightAggregatedResultsUtils::ApplyAllStandardAggregations (et al). But there's no reason you can't build a table exactly the way you like with this API.
- Parameters
| iRec | IN The record to add. It's appended to the end of the table. |
Appends an entire table. Note that there's no attempt to merge, ie identify like entries; it's simply appended.
- Parameters
| iOther | IN The other table whose records you want to add. |
| virtual int32 IPreflightResultRecordTable::GetRecordCount | ( | | ) | const |
| pure virtual |
- Returns
- the number of records in the table.
Get a record.
- Parameters
| n | IN The index of the record. |
- Returns
- a refcounted interface, or nil if error.
| virtual void IPreflightResultRecordTable::ReadData | ( | PreflightXferStream & | s | ) | |
| pure virtual |
Internal use only. Used to serialize from a blob in the database.
| virtual void IPreflightResultRecordTable::WriteData | ( | PreflightXferStream & | s | ) | const |
| pure virtual |
Internal use only. Used to serialize to a blob in the database.