Rosetta Protocols  2014.35
Public Member Functions | List of all members
protocols::loophash::LoopHashLibraryLoader Class Reference

LoopHashLibraryLoader constructs a LoopHashLibrary instance from data provided by the ResourceManager. More...

#include <LoopHashLibraryLoader.hh>

Public Member Functions

 LoopHashLibraryLoader ()
 Construct the LoopHashLibraryLoader. More...
 
virtual ~LoopHashLibraryLoader ()
 Destructor. More...
 
virtual
basic::resource_manager::ResourceOP 
create_resource (basic::resource_manager::ResourceOptions const &options, basic::resource_manager::LocatorID const &, std::istream &) const
 Return a LoopHashLibraryOP constructed from the given ResourceOptions. More...
 
virtual
basic::resource_manager::ResourceOptionsOP 
default_options () const
 Return a ResourceOptionsOP with the default set of options. More...
 

Detailed Description

LoopHashLibraryLoader constructs a LoopHashLibrary instance from data provided by the ResourceManager.

The LoopHashLibraryLoader is given a LoopHashLibraryOptions containing a vector of loop lengths from the ResourceManager. This information is then used to produce a LoopHashLibraryOP to return to the protocol.

Constructor & Destructor Documentation

protocols::loophash::LoopHashLibraryLoader::LoopHashLibraryLoader ( )

Construct the LoopHashLibraryLoader.

virtual protocols::loophash::LoopHashLibraryLoader::~LoopHashLibraryLoader ( )
inlinevirtual

Destructor.

Member Function Documentation

basic::resource_manager::ResourceOP protocols::loophash::LoopHashLibraryLoader::create_resource ( basic::resource_manager::ResourceOptions const &  options,
basic::resource_manager::LocatorID const &  ,
std::istream &   
) const
virtual

Return a LoopHashLibraryOP constructed from the given ResourceOptions.

Ensure the ResourceOptions is a LoopHashLibraryOptions instance and construct a new LoopHashLibrary from it. The locator_id and istream are not used.

Exceptions
utility::excn::EXCN_Msg_Exception

Implements basic::resource_manager::ResourceLoader.

References protocols::loophash::LoopHashLibrary::load_mergeddb(), protocols::loophash::LoopHashLibraryOptions::loop_sizes(), and basic::resource_manager::ResourceOptions::type().

virtual basic::resource_manager::ResourceOptionsOP protocols::loophash::LoopHashLibraryLoader::default_options ( ) const
inlinevirtual

Return a ResourceOptionsOP with the default set of options.

Implements basic::resource_manager::ResourceLoader.


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