Close
dtSearch Text Retrieval Engine Programmer's Reference
DInputStreamBase Class

Base class for implementing an input stream representing a document returned from a data source

File: DInputStream.h 

Namespace: dtSearch 

Syntax
C++
class DInputStreamBase;
Show:
No members matching the current filter
Show:
No members matching the current filter

A dtsInputStream is an abstraction of a document with seek() and read() methods for accessing data and a dtsFileInfo with file description information (modification date, size, etc.) 

A dtsDataSource object returns dtsInputStream objects in response to the getNextDoc callback function. 

Derived classes DTS_OVERRIDE_KEYWORD seek() and read() to provide access to the data associated with the document. 

The derived class DMemoryInputStream can create a dtsInputStream from data in a memory buffer. 

The derived class DFileInputStream can create a dtsInputStream from a disk file.

dtSearch::DInputStreamBase