Rosetta Utilities  2014.35
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>

Public Member Functions

 NullStream ()
 
virtual ~NullStream ()
 
virtual std::istream & stream ()
 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
virtual ~ResourceStream ()
 
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Private Attributes

utility::io::izstream stream_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

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 ( )
basic::resource_manager::locator::NullStream::~NullStream ( )
virtual

Member Function Documentation

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

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: