The Btrieve bulk retrieve result class.
More...
#include <btrieveCpp.h>
The Btrieve bulk retrieve result class.
- Examples:
- bfilter.cpp, and btestbulk.cpp.
◆ BtrieveBulkRetrieveResult()
BtrieveBulkRetrieveResult::BtrieveBulkRetrieveResult |
( |
| ) |
|
◆ ~BtrieveBulkRetrieveResult()
BtrieveBulkRetrieveResult::~BtrieveBulkRetrieveResult |
( |
| ) |
|
◆ GetLastStatusCode()
Get the last status code.
- Note
- This method is intended for use following methods which don't return a status code.
- Snippet
if (btrieveBulkRetrieveResult.
GetRecord(1, (
char *)&record,
sizeof(record)) !=
sizeof(record))
{
goto leave;
}
- Return values
-
= Btrieve::STATUS_CODE_NO_ERROR | Success. |
!= Btrieve::STATUS_CODE_NO_ERROR | An error has occurred. |
- See also
- Btrieve::StatusCodeToString
- Examples:
- bfilter.cpp, and btestbulk.cpp.
◆ GetRecord()
int BtrieveBulkRetrieveResult::GetRecord |
( |
int |
recordNumber, |
|
|
char * |
record, |
|
|
int |
recordSize |
|
) |
| |
Get the record.
- Note
- This method doesn't return a Btrieve::StatusCode. See below for more information.
- Parameters
-
[in] | recordNumber | The record number. |
[out] | record | The record. |
[in] | recordSize | The record size. |
- Snippet
if (btrieveBulkRetrieveResult.
GetRecord(1, (
char *)&record,
sizeof(record)) !=
sizeof(record))
{
goto leave;
}
- Return values
-
- Examples:
- bfilter.cpp, and btestbulk.cpp.
◆ GetRecordCount()
int BtrieveBulkRetrieveResult::GetRecordCount |
( |
| ) |
|
◆ GetRecordCursorPosition()
long long BtrieveBulkRetrieveResult::GetRecordCursorPosition |
( |
int |
recordNumber | ) |
|
Get the record cursor position.
- Note
- The signature for this method changed in PSQL 13.20.
- Parameters
-
[in] | recordNumber | The record number. |
- Snippet
- Return values
-
- Examples:
- bfilter.cpp, and btestbulk.cpp.
◆ GetRecordLength()
int BtrieveBulkRetrieveResult::GetRecordLength |
( |
int |
recordNumber | ) |
|
Get the record length.
- Parameters
-
[in] | recordNumber | The record number. |
- Snippet
- Return values
-
- Examples:
- bfilter.cpp, and btestbulk.cpp.