You are here: C++ API > Classes > dtsDataSource Structure > dtsDataSource::getNextDoc Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsDataSource::getNextDoc Data Member
Syntax
C++
int (* getNextDoc)(void *pData, dtsInputStream& dest);
Parameters
Description
pData
The value of dtsDataSource.pData
dest
Structure to receive the dtsInputStream for the document

0 if a document was returned, or -1 if there are no more documents to return.

Pointer to a function that will return the next document in the data source as a dtsInputStream.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.