![]() |
Rosetta Protocols
2014.35
|
LoopsFileLoader constructs a LoopsFileData instance from data provided by the ResourceManager. More...
#include <LoopsFileLoader.hh>
Public Member Functions | |
LoopsFileLoader () | |
Construct the LoopsFileLoader. More... | |
virtual | ~LoopsFileLoader () |
Destructor. More... | |
virtual utility::pointer::ReferenceCountOP | create_resource (basic::resource_manager::ResourceOptions const &options, basic::resource_manager::LocatorID const &locator_id, std::istream &istream) const |
Return a LoopsFileDataOP constructed from the given input stream (istream). More... | |
virtual basic::resource_manager::ResourceOptionsOP | default_options () const |
Return a ResourceOptionsOP with the default set of options. More... | |
LoopsFileLoader constructs a LoopsFileData instance from data provided by the ResourceManager.
The LoopsFileLoader is given an istream containing the information in a LoopsFile from the ResourceManager. This information is then processed by an instance of LoopsFileIO to produce a LoopsFileDataOP to return to the protocol.
protocols::loops::LoopsFileLoader::LoopsFileLoader | ( | ) |
Construct the LoopsFileLoader.
|
virtual |
Destructor.
|
virtual |
Return a LoopsFileDataOP constructed from the given input stream (istream).
Ensure the ResourceOptions is a LoopsFileOptions instance and construct a new LoopsFileData from the istream and the options. The locator_id is used solely for reporting accurate error messages.
utility::excn::EXCN_Msg_Exception |
Implements basic::resource_manager::ResourceLoader.
References protocols::loops::LoopsFileOptions::prohibit_single_residue_loops(), protocols::loops::LoopsFileIO::read_loop_file_stream(), and basic::resource_manager::ResourceOptions::type().
|
virtual |
Return a ResourceOptionsOP with the default set of options.
Return an owning pointer to a newly constructed default instance of LoopsFileOptions.
Implements basic::resource_manager::ResourceLoader.