Rosetta Protocols  2014.16.56682
Public Member Functions | List of all members
protocols::surface_docking::SurfaceVectorLoader Class Reference

SurfaceVectorLoader constructs a SurfaceParameters instance from data provided by the resource manager More...

#include <SurfaceVectorLoader.hh>

Public Member Functions

 SurfaceVectorLoader ()
 
virtual ~SurfaceVectorLoader ()
 
virtual
utility::pointer::ReferenceCountOP 
create_resource (basic::resource_manager::ResourceOptions const &options, basic::resource_manager::LocatorID const &locator_id, std::istream &istream) const
 Returns a SurfaceParametersOP which is constructed from the given input stream (istream). More...
 
virtual
basic::resource_manager::ResourceOptionsOP 
default_options () const
 Returns the default options for SurfaceParameters. More...
 

Detailed Description

SurfaceVectorLoader constructs a SurfaceParameters instance from data provided by the resource manager

The SurfaceVectorLoader is given an istream of three points in cartesian space used to configure SurfaceParameters

Constructor & Destructor Documentation

protocols::surface_docking::SurfaceVectorLoader::SurfaceVectorLoader ( )
protocols::surface_docking::SurfaceVectorLoader::~SurfaceVectorLoader ( )
virtual

Member Function Documentation

utility::pointer::ReferenceCountOP protocols::surface_docking::SurfaceVectorLoader::create_resource ( basic::resource_manager::ResourceOptions const &  options,
basic::resource_manager::LocatorID const &  locator_id,
std::istream &  istream 
) const
virtual

Returns a SurfaceParametersOP which is constructed from the given input stream (istream).

Takes a locator id and istream, ensures that the correct number of points are present and performs error checking that points are of the correct type before using the points to construct SurfaceParameters

Exceptions
EXCN_Msg_Exception

Implements basic::resource_manager::ResourceLoader.

References getline(), utility::split(), and protocols::sparta::split().

basic::resource_manager::ResourceOptionsOP protocols::surface_docking::SurfaceVectorLoader::default_options ( ) const
virtual

Returns the default options for SurfaceParameters.

Implements basic::resource_manager::ResourceLoader.


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