Rosetta
Public Member Functions | Static 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>

Inheritance diagram for protocols::surface_docking::SurfaceVectorLoader:
Inheritance graph
[legend]

Public Member Functions

 SurfaceVectorLoader ()
 
 ~SurfaceVectorLoader () override
 
utility::VirtualBaseCOP create_resource (basic::resource_manager::ResourceManager &resource_manager, utility::tag::TagCOP resource_tag, std::string const &input_id, std::istream &istream) const override
 Returns a SurfaceParametersOP which is constructed from the given input stream (istream). More...
 

Static Public Member Functions

static SurfaceParametersOP create_surface_params (std::string const &input_id, std::istream &istream)
 
static std::string classname ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

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

◆ SurfaceVectorLoader()

protocols::surface_docking::SurfaceVectorLoader::SurfaceVectorLoader ( )
default

◆ ~SurfaceVectorLoader()

protocols::surface_docking::SurfaceVectorLoader::~SurfaceVectorLoader ( )
overridedefault

Member Function Documentation

◆ classname()

std::string protocols::surface_docking::SurfaceVectorLoader::classname ( )
static

◆ create_resource()

utility::VirtualBaseCOP protocols::surface_docking::SurfaceVectorLoader::create_resource ( basic::resource_manager::ResourceManager &  resource_manager,
utility::tag::TagCOP  resource_tag,
std::string const &  input_id,
std::istream &  istream 
) const
override

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

References create_surface_params().

◆ create_surface_params()

SurfaceParametersOP protocols::surface_docking::SurfaceVectorLoader::create_surface_params ( std::string const &  input_id,
std::istream &  istream 
)
static

◆ provide_xml_schema()

void protocols::surface_docking::SurfaceVectorLoader::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

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