Diligent Engine API Reference: Diligent::IFileStream Class Reference

Diligent Engine API Reference

Public Member Functions | List of all members
Diligent::IFileStream Class Referenceabstract

Base interface for a file stream. More...

Inheritance diagram for Diligent::IFileStream:

## Public Member Functions
virtual bool | Read (void *Data, size_t BufferSize)=0
| Reads data from the stream.
virtual bool | Write (const void *Data, size_t Size)=0
| Writes data to the stream.
Public Member Functions inherited from Diligent::IObject
virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
| Queries the specific interface. More...
virtual CounterValueType | AddRef ()=0
| Increments the number of strong references by 1. More...
virtual CounterValueType | Release ()=0
| Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
virtual IReferenceCounters * | GetReferenceCounters () const =0
| Returns the pointer to IReferenceCounters interface of the associated reference counters object. The method does NOT increment the number of strong references to the returned object.

## Detailed Description

Base interface for a file stream.