DSISimpleRowCountResult Class Reference

Simple row count result that takes a known row count. More...

Inherits Simba::DSI::DSIRowCountResult.

List of all members.

Public Member Functions

 DSISimpleRowCountResult (simba_uint64 in_rowCount, bool in_rowCountIsKnown)
 Constructor.
 DSISimpleRowCountResult (simba_unsigned_native in_rowCount)
 Constructor.
virtual bool GetRowCount (simba_uint64 &out_rowCount)
 Get the rowcount for this IResult.
virtual bool HasRowCount ()
 Determine if the number of rows in the result set is known.
virtual void SetRowCount (simba_uint64 in_rowCount, bool in_rowCountIsKnown)
 Set the row count.
virtual void SetRowCount (simba_unsigned_native in_rowCount)
 Set the row count.
 ~DSISimpleRowCountResult ()
 Destructor.

Detailed Description

Simple row count result that takes a known row count.


Constructor & Destructor Documentation

DSISimpleRowCountResult ( simba_unsigned_native  in_rowCount  ) 

Constructor.

Parameters:
in_rowCount The row count for this result, or Simba::DSI::IResult::ROW_COUNT_UNKNOWN if the row count is unknown.
DSISimpleRowCountResult ( simba_uint64  in_rowCount,
bool  in_rowCountIsKnown 
)

Constructor.

Parameters:
in_rowCount The row count for this result. Only used if in_rowCountIsKnown is true.
in_rowCountIsKnown Whether the rowcount is known.

Destructor.


Member Function Documentation

virtual bool GetRowCount ( simba_uint64 &  out_rowCount  )  [virtual]

Get the rowcount for this IResult.

Parameters:
out_rowCount If the rowcount is know, it will be put into here.
Returns:
Whether the rowcount is known (and thus whether out_rowCount is valid)

Reimplemented from IResult.

virtual bool HasRowCount (  )  [virtual]

Determine if the number of rows in the result set is known.

Returns:
True if the number of rows in the result set is known; false otherwise.

Implements DSIRowCountResult.

virtual void SetRowCount ( simba_uint64  in_rowCount,
bool  in_rowCountIsKnown 
) [virtual]

Set the row count.

Parameters:
in_rowCount The row count for this result. Only used if in_rowCountIsKnown is true.
in_rowCountIsKnown Whether the rowcount is known.
virtual void SetRowCount ( simba_unsigned_native  in_rowCount  )  [virtual]

Set the row count.

Parameters:
in_rowCount The row count, or Simba::DSI::IResult::ROW_COUNT_UNKNOWN if the row count is unknown.

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:15 2017 for SimbaEngine 10.1.3.1011 by simba