Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsDataSource::getNextDocInfo Data Member
dtsDataSource Structure | dtsDataSource Structure | Send Feedback

Pointer to a function that will return information about a the next document in the data source.

int (* getNextDocInfo)(void *pData, dtsDataSourceFileInfo& fileInfo);
Parameters
Parameters 
Description 
pData 
The value of dtsDataSource.pData 
fileInfo 
Structure to receive the properties of the document 
Returns

0 on success, or -1 if there are no more documents to return

Remarks

The data source implementation should ensure that string pointers in the dtsDataSourceFileInfo remain valid until the next getNextDocInfo call. Following a getNextDocInfo call, the dtSearch Engine may either call getCurrentDoc to get the document contents, or it may call getNextDocInfo again to get the next document.

Structure
Links
You are here: C++ API > Classes > dtsDataSource Structure > dtsDataSource::getNextDocInfo Data Member
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.