Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DFileInputStream Class
Data Members | Classes | Legend | Members | Methods | open Method | See Also | Send Feedback

Implements an input stream representing a document stored in a disk file.

Class Hierarchy
class DFileInputStream : public DInputStreamBase;
File

DInputStream.h

Description

Input streams are used in the dtsDataSource API.

See Also
Data Members
Data Member 
Description 
String set containing pairs of field names and values to be associated with a document. These field-value pairs are passed to the indexer as dtsInputStream.fields. 
Normally when releaseCB is called, the object is deleted. 
DFileInputStream Class
Data Member 
Description 
file 
The file 
Length of the file 
pos 
Current read position 
Group
Methods
Method 
Description 
This is the overview for the DInputStreamBase constructor overload. 
Get file properties (filename, modification date, etc.) for an input stream 
Returns the filename associated with the input stream 
read 
Reads data from the input stream 
seek 
Change the seek pointer for the input 
Assign file properties (filename, modification date, etc.) to an input stream 
Assigns a filename to the input stream 
If a document could not be opened, use setOpenFailInfo to report the error code and message. 
tell 
Returns the current position of the seek pointer for the input 
DFileInputStream Class
Method 
Description 
Close the file associated with the input stream 
Constructor 
open 
This is the overview for the open method overload. 
Open a disk file to provide input for the input stream using a const TCHAR * filename 
read 
Reads data from the input stream 
seek 
Change the seek pointer for the input 
tell 
Returns the current position of the seek pointer for the input 
Legend
 
Data Member 
 
protected 
 
Constructor 
 
abstract 
 
virtual 
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DFileInputStream Class
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.