Rosetta
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
core::chemical::PatchOperationFactory Class Reference

#include <PatchOperationFactory.hh>

Inheritance diagram for core::chemical::PatchOperationFactory:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string, PatchOperationCreatorOPCreatorMap
 

Public Member Functions

void factory_register (PatchOperationCreatorOP creator)
 add a PatchOperation prototype, using its default type name as the map key More...
 
PatchOperationOP newPatchOperation (std::string const &tag, std::string const &line, std::istream &input, std::map< std::string, core::Real > const &atomic_charge_reassignments) const
 Create a mover given its identifying string, the full line, and the istream advanced to after the tag. More...
 

Private Member Functions

 PatchOperationFactory ()=default
 
 PatchOperationFactory (PatchOperationFactory const &)=delete
 
PatchOperationFactory const & operator= (PatchOperationFactory const &)=delete
 

Private Attributes

CreatorMap creator_map_
 

Friends

class utility::SingletonBase< PatchOperationFactory >
 

Member Typedef Documentation

◆ CreatorMap

Constructor & Destructor Documentation

◆ PatchOperationFactory() [1/2]

core::chemical::PatchOperationFactory::PatchOperationFactory ( )
privatedefault

◆ PatchOperationFactory() [2/2]

core::chemical::PatchOperationFactory::PatchOperationFactory ( PatchOperationFactory const &  )
privatedelete

Member Function Documentation

◆ factory_register()

void core::chemical::PatchOperationFactory::factory_register ( PatchOperationCreatorOP  creator)

add a PatchOperation prototype, using its default type name as the map key

References creator_map_.

◆ newPatchOperation()

PatchOperationOP core::chemical::PatchOperationFactory::newPatchOperation ( std::string const &  tag,
std::string const &  line,
std::istream &  input,
std::map< std::string, core::Real > const &  atomic_charge_reassignments 
) const

Create a mover given its identifying string, the full line, and the istream advanced to after the tag.

References creator_map_, and core::chemical::TR().

Referenced by protocols::chemistries::PatchChemistry::add_patch_operation_line(), and core::chemical::case_from_lines().

◆ operator=()

PatchOperationFactory const& core::chemical::PatchOperationFactory::operator= ( PatchOperationFactory const &  )
privatedelete

Friends And Related Function Documentation

◆ utility::SingletonBase< PatchOperationFactory >

friend class utility::SingletonBase< PatchOperationFactory >
friend

Member Data Documentation

◆ creator_map_

CreatorMap core::chemical::PatchOperationFactory::creator_map_
private

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