![]() |
The Btrieve document set class. More...
#include <btrieveCpp.h>
Public Member Functions | |
| BtrieveDocumentSet () | |
| ~BtrieveDocumentSet () | |
| Btrieve::StatusCode | GetLastStatusCode () |
| Get the last status code. More... | |
| int | PopFirst () |
| Remove and return the first document identifier from the set. More... | |
| int | PopLast () |
| Remove and return the last document identifier from the set. More... | |
| int | Size () |
| Return the number of document identifiers in the set. More... | |
The Btrieve document set class.
The document set is an ordered set.
| BtrieveDocumentSet::BtrieveDocumentSet | ( | ) |
| BtrieveDocumentSet::~BtrieveDocumentSet | ( | ) |
| Btrieve::StatusCode BtrieveDocumentSet::GetLastStatusCode | ( | ) |
Get the last status code.
| = Btrieve::STATUS_CODE_NO_ERROR | Success. |
| != Btrieve::STATUS_CODE_NO_ERROR | An error has occurred. |
| int BtrieveDocumentSet::PopFirst | ( | ) |
Remove and return the first document identifier from the set.
| >= 0 | The popped document identifier. |
| -1 | An error has occurred. Use BtrieveDocumentSet::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error. |
| int BtrieveDocumentSet::PopLast | ( | ) |
Remove and return the last document identifier from the set.
| >= 0 | The popped document identifier. |
| -1 | An error has occurred. Use BtrieveDocumentSet::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error. |
| int BtrieveDocumentSet::Size | ( | ) |
Return the number of document identifiers in the set.
| >= 0 | The number of document identifiers in the set. |
| -1 | An error has occurred. Use BtrieveDocumentSet::GetLastStatusCode to determine the Btrieve::StatusCode associated with any error. |
1.8.13