You are here: C++ Support Classes > dtSearch Namespace > Classes > DInputStreamBase Class
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 

class DInputStreamBase;
No members matching the current filter
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.

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