Input stream representing a document stored in memory.
class DMemoryInputStream : public DInputStreamBase;
DInputStream.h
Input streams are used in the dtsDataSource API.
The contents of the input stream can be plain text or binary data. Binary data is parsed in the dtSearch Engine exactly as if it were a disk file, so a memory input stream can be used with binary file formats such as Microsoft Word documents, PDF files, etc.
|
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. |
|
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 | |
|
Reads data from the input stream | |
|
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. | |
|
Returns the current position of the seek pointer for the input |
|
Method |
Description |
|
Allocate a new DMemoryInputStream with its own copy of the data in this one. | |
|
This is the overview for the DMemoryInputStream constructor overload. | |
|
Returns a pointer to the start of the buffer DMemoryInputStream uses to store data | |
|
Returns the size of the buffer DMemoryInputStream uses to store data | |
|
Returns the size of the data stored in this stream | |
|
Reads data from the input stream | |
|
Change the seek pointer for the input | |
|
Set binary data, such as the contents of a Microsoft Word document or a PDF file, as the contents of this document. | |
|
Store plain text as the contents of this document | |
|
Returns the current position of the seek pointer for the input |
|
Data Member |
|
protected |
|
Constructor |
|
abstract |
|
virtual |
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|