![]() |
Rosetta Utilities
2014.16.56682
|
The NullResourceLocator is meant for cases where a resource can be created without reading from an input file. It goes through the motions of returning a ResourceStream (an empty NullStream) as is required of all ResourceLocators, but the stream that it creates will not be used. More...
#include <NullResourceLocator.hh>
Public Member Functions | |
| NullResourceLocator () | |
| NullResourceLocator (NullResourceLocator const &src) | |
| virtual | ~NullResourceLocator () |
| virtual void | show (std::ostream &out) const |
| Describe this instance to the given output stream; since there is no data in this class, merely print the name of this class. More... | |
| virtual std::string | type () const |
| Return the name of this class: "NullResourceLocator". More... | |
| virtual ResourceStreamOP | locate_resource_stream (std::string const &locator_tag) const |
| Create an empty NullResource object that will not be used. More... | |
| virtual void | parse_my_tag (utility::tag::TagCOP tag) |
| Noop, since there is no data in this class. More... | |
Public Member Functions inherited from basic::resource_manager::ResourceLocator | |
| ResourceLocator () | |
| Construct a ResourceLocator and initialize its name (its locator_tag) to the empty string. More... | |
| ResourceLocator (std::string const &locator_tag) | |
| Construct a ResourceLocator while setting its name to the input locater_tag. More... | |
| ResourceLocator (ResourceLocator const &src) | |
| Copy construct a ResourceLocator from an example locator. More... | |
| virtual | ~ResourceLocator () |
| virtual void | locator_tag (std::string const &locator_tag) |
| Set the name for this ResourceLocator. More... | |
| virtual std::string | locator_tag () const |
| Return the name for this 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 NullResourceLocator is meant for cases where a resource can be created without reading from an input file. It goes through the motions of returning a ResourceStream (an empty NullStream) as is required of all ResourceLocators, but the stream that it creates will not be used.
| basic::resource_manager::locator::NullResourceLocator::NullResourceLocator | ( | ) |
| basic::resource_manager::locator::NullResourceLocator::NullResourceLocator | ( | NullResourceLocator const & | src | ) |
|
virtual |
|
virtual |
Create an empty NullResource object that will not be used.
Implements basic::resource_manager::ResourceLocator.
|
virtual |
Noop, since there is no data in this class.
Implements basic::resource_manager::ResourceLocator.
|
virtual |
Describe this instance to the given output stream; since there is no data in this class, merely print the name of this class.
Implements basic::resource_manager::ResourceLocator.
|
virtual |
Return the name of this class: "NullResourceLocator".
Implements basic::resource_manager::ResourceLocator.
1.8.7