Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
IDataStream.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
namespace
ph
6
{
7
8
class
IDataStream
9
{
10
public
:
11
virtual
~IDataStream
() =
default
;
12
17
virtual
std::string
acquireName
()
const
;
18
21
virtual
operator
bool ()
const
= 0;
22
};
23
24
// In-header Implementations:
25
26
inline
std::string
IDataStream::acquireName
()
const
27
{
28
return
""
;
29
}
30
31
}
// end namespace ph
ph::IDataStream
Definition
IDataStream.h:9
ph::IDataStream::acquireName
virtual std::string acquireName() const
Access to the stream's name. This method is not meant to be used in a high performance context,...
Definition
IDataStream.h:26
ph::IDataStream::~IDataStream
virtual ~IDataStream()=default
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
Source
DataIO
Stream
IDataStream.h
Generated by
1.11.0