Input stream representing a document stored in memory.
File
File: DInputStream.h
Namespace: dtSearch
Syntax
Data Members
Show:
No members matching the current filter
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. (Inherited from DInputStreamBase) | |
Normally when releaseCB is called, the object is deleted. Set this flag to suppress if the caller will manage the object lifetime. (Inherited from DInputStreamBase) |
Group
Members
Data Members
Show:
No members matching the current filter
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. (Inherited from DInputStreamBase) | |
Normally when releaseCB is called, the object is deleted. Set this flag to suppress if the caller will manage the object lifetime. (Inherited from DInputStreamBase) |
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Default constructor (Inherited from DInputStreamBase) | |
Construct a DInputStreamBase, initializing it with the file properties in info (Inherited from DInputStreamBase) | |
Constructor for an empty input stream. Use setTextData or setBinaryData to store document contents for the input stream. | |
Create an input stream in memory from file properties and plain text | |
Allocate a new DMemoryInputStream with its own copy of the data in this one. | |
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 | |
Get file properties (filename, modification date, etc.) for an input stream (Inherited from DInputStreamBase) | |
Returns the filename associated with the input stream (Inherited from DInputStreamBase) | |
Reads data from the input stream (Inherited from DInputStreamBase) | |
Reads data from the input stream | |
Change the seek pointer for the input (Inherited from DInputStreamBase) | |
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. | |
Assign file properties (filename, modification date, etc.) to an input stream (Inherited from DInputStreamBase) | |
Assigns a filename to the input stream (Inherited from DInputStreamBase) | |
If a document could not be opened, use setOpenFailInfo to report the error code and message. (Inherited from DInputStreamBase) | |
Store plain text as the contents of this document | |
Returns the current position of the seek pointer for the input (Inherited from DInputStreamBase) | |
Returns the current position of the seek pointer for the input |
Methods
Show:
No members matching the current filter
Method |
Description |
---|---|
Default constructor (Inherited from DInputStreamBase) | |
Construct a DInputStreamBase, initializing it with the file properties in info (Inherited from DInputStreamBase) | |
Constructor for an empty input stream. Use setTextData or setBinaryData to store document contents for the input stream. | |
Create an input stream in memory from file properties and plain text | |
Allocate a new DMemoryInputStream with its own copy of the data in this one. | |
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 | |
Get file properties (filename, modification date, etc.) for an input stream (Inherited from DInputStreamBase) | |
Returns the filename associated with the input stream (Inherited from DInputStreamBase) | |
Reads data from the input stream (Inherited from DInputStreamBase) | |
Reads data from the input stream | |
Change the seek pointer for the input (Inherited from DInputStreamBase) | |
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. | |
Assign file properties (filename, modification date, etc.) to an input stream (Inherited from DInputStreamBase) | |
Assigns a filename to the input stream (Inherited from DInputStreamBase) | |
If a document could not be opened, use setOpenFailInfo to report the error code and message. (Inherited from DInputStreamBase) | |
Store plain text as the contents of this document | |
Returns the current position of the seek pointer for the input (Inherited from DInputStreamBase) | |
Returns the current position of the seek pointer for the input |
Remarks
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.
See Also
Class Hierarchy
dtSearch::DInputStreamBase
|
dtSearch::DMemoryInputStream