You are here: C++ API > Classes > dtsViewerInfo Structure > dtsViewerInfo::getCount Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsViewerInfo::getCount Data Member
Syntax
C++
long (* getCount)(dtsViewerHandle handle);

Pointer to function that will return the number of files in the container.

Only needed for container file parsers. Because some containers do not know the count until the container is fully iterated, dtSearch will not rely on the value returned from getCount() and will call getFirst() and then getNext() until of these functions returns -1.