|
|
ibi Patterns .NET API
|
Defines how compound records (parent plus children) are passed in the API. More...
Public Member Functions |
|
| abstract NetricsCompoundRecord | getNext () |
| Returns the next record. |
|
| abstract bool | hasNext () |
| Returns true if the source has more records. |
|
| abstract void | reset () |
| Reset the source to the first record. |
|
| bool | hasNext () |
| Returns true if the source has more records. |
|
| NetricsBaseRecord | getNext () |
| Returns the next record. |
|
| void | reset () |
| Reset the source to the first record. |
|
Detailed Description
Defines how compound records (parent plus children) are passed in the API.
When a constructor or method needs a set of compound records it expects an object that implements this interface. By creating a class that implements this interface the user can feed joined-records from any source directly into the API.
- See also
- NetricsCompoundReader, NetricsBaseRecSrc
Member Function Documentation
◆ getNext()
|
pure virtual |
Returns the next record.
This restricts the return value to NetricsCompoundRecord instead of the base NetricsBaseRecord.
- Exceptions
-
NetricsRecSrcException Thrown if an error occurs, or if there are no more records.
- Returns
- the next record
Implements NetricsServerInterface.NetricsBaseRecSrc.
Implemented in NetricsServerInterface.NetricsCompoundReader, and NetricsServerInterface.NetricsTableCursorCompoundRecSrc.
◆ reset()
|
pure virtual |
Reset the source to the first record.
Not all record sources may support this operation.
Implements NetricsServerInterface.NetricsBaseRecSrc.
Implemented in NetricsServerInterface.NetricsCompoundReader, and NetricsServerInterface.NetricsTableCursorCompoundRecSrc.