Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
basic::resource_manager::locator::NullStream Class Reference

The NullStream acts as an empty stream object that may be returned by the NullResourceLocator. It does not open any files. More...

#include <NullResourceLocator.hh>

Inheritance diagram for basic::resource_manager::locator::NullStream:
Inheritance graph
[legend]

Public Member Functions

 NullStream ()
 
 ~NullStream () override
 
std::istream & stream () override
 Return an istream reference so that the ResourceLoader can access arbitrary data returned by the ResourceLocator. More...
 
- Public Member Functions inherited from basic::resource_manager::ResourceStream
 ~ResourceStream () override
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

utility::io::izstream stream_
 

Detailed Description

The NullStream acts as an empty stream object that may be returned by the NullResourceLocator. It does not open any files.

Constructor & Destructor Documentation

basic::resource_manager::locator::NullStream::NullStream ( )
default
basic::resource_manager::locator::NullStream::~NullStream ( )
overridedefault

Member Function Documentation

istream & basic::resource_manager::locator::NullStream::stream ( )
overridevirtual

Return an istream reference so that the ResourceLoader can access arbitrary data returned by the ResourceLocator.

Implements basic::resource_manager::ResourceStream.

References stream_.

Member Data Documentation

utility::io::izstream basic::resource_manager::locator::NullStream::stream_
private

Referenced by stream().


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