Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::IDataStream Class Referenceabstract

#include <IDataStream.h>

Inheritance diagram for ph::IDataStream:
ph::IInputStream ph::IOutputStream ph::ByteBufferInputStream ph::FilteredInputStream ph::StdInputStream ph::StdOutputStream ph::BinaryFileInputStream ph::FormattedTextInputStream ph::BinaryFileOutputStream ph::FormattedTextOutputStream

Public Member Functions

virtual ~IDataStream ()=default
 
virtual std::string acquireName () const
 Access to the stream's name. This method is not meant to be used in a high performance context, unless otherwise stated by the overridder. Stream name is not always available.
 
virtual operator bool () const =0
 Whether the stream is in a non-erroneous state.
 

Constructor & Destructor Documentation

◆ ~IDataStream()

virtual ph::IDataStream::~IDataStream ( )
virtualdefault

Member Function Documentation

◆ acquireName()

std::string ph::IDataStream::acquireName ( ) const
inlinevirtual

Access to the stream's name. This method is not meant to be used in a high performance context, unless otherwise stated by the overridder. Stream name is not always available.

Reimplemented in ph::FormattedTextInputStream, and ph::FormattedTextOutputStream.

◆ operator bool()

virtual ph::IDataStream::operator bool ( ) const
pure virtual

Whether the stream is in a non-erroneous state.

Implemented in ph::ByteBufferInputStream, ph::IInputStream, ph::IOutputStream, ph::StdInputStream, and ph::StdOutputStream.


The documentation for this class was generated from the following file: