![]() |
Rosetta Utilities
2014.16.56682
|
The ResourceStream represents an abstract class for packaging up a standard istream so that data that the ResourceLocator needs to deliver to a ResourceLoader can come from arbitrary sources (e.g. from either a file or from a database). More...
#include <ResourceLocator.hh>
Public Member Functions | |
| virtual | ~ResourceStream () |
| virtual std::istream & | stream ()=0 |
| Return an istream reference so that the ResourceLoader can access arbitrary data returned by the ResourceLocator. More... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| void | ctor () |
| virtual | ~ReferenceCount () |
| Destructor. More... | |
| Size | ref_count () const |
| Reference count. More... | |
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... | |
| ReferenceCount & | operator= (ReferenceCount const &) |
| Copy assignment. More... | |
The ResourceStream represents an abstract class for packaging up a standard istream so that data that the ResourceLocator needs to deliver to a ResourceLoader can come from arbitrary sources (e.g. from either a file or from a database).
|
virtual |
|
pure virtual |
Return an istream reference so that the ResourceLoader can access arbitrary data returned by the ResourceLocator.
Implemented in basic::resource_manager::locator::StringResourceStream, basic::resource_manager::locator::FileStream, and basic::resource_manager::locator::NullStream.
1.8.7