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:
Diligent::IObject Diligent::RefCountedObject< IFileStream, IMemoryAllocator > Diligent::ObjectBase< IFileStream, IMemoryAllocator > Diligent::BasicFileStream

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 Atomics::Long AddRef ()=0
 Increments the number of strong references by 1. More...
 
virtual Atomics::Long Release ()=0
 Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More...
 
virtual IReferenceCountersGetReferenceCounters () const =0
 Returns the pointer to IReferenceCounters interface of the associated reference counters object. The metod does NOT increment the number of strong references to the returned object.
 

Detailed Description

Base interface for a file stream.