Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
core::scoring::constraints::ConstraintFactory Class Reference

#include <ConstraintFactory.hh>

Inheritance diagram for core::scoring::constraints::ConstraintFactory:
Inheritance graph
[legend]

Public Member Functions

void factory_register (ConstraintCreatorCOP creator)
 
scoring::constraints::ConstraintOP newConstraint (std::string const &type_name)
 
utility::vector1< std::string > get_cst_names () const
 
void replace_creator (ConstraintCreatorCOP creator)
 Replace the load-time ConstraintCreator with another creator. WARNING WARNING WARNING THREAD UNSAFE!!! DO NOT USE THIS!!! More...
 
ConstraintCreatorCOP get_creator (std::string const &type_name)
 

Private Types

typedef std::map< std::string,
scoring::constraints::ConstraintCreatorCOP
ConstraintCreatorMap
 

Private Member Functions

 ConstraintFactory ()
 
 ConstraintFactory (ConstraintFactory const &)
 
ConstraintFactory const & operator= (ConstraintFactory const &)
 

Private Attributes

ConstraintCreatorMap cst_types_
 

Friends

class utility::SingletonBase< ConstraintFactory >
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::scoring::constraints::ConstraintFactory::ConstraintFactory ( )
privatedefault

Private constructor insures correctness of singleton.

core::scoring::constraints::ConstraintFactory::ConstraintFactory ( ConstraintFactory const &  )
private

Member Function Documentation

void core::scoring::constraints::ConstraintFactory::factory_register ( ConstraintCreatorCOP  creator)

References cst_types_.

ConstraintCreatorCOP core::scoring::constraints::ConstraintFactory::get_creator ( std::string const &  type_name)
utility::vector1< std::string > core::scoring::constraints::ConstraintFactory::get_cst_names ( ) const

References cst_types_.

Referenced by get_creator(), and newConstraint().

ConstraintOP core::scoring::constraints::ConstraintFactory::newConstraint ( std::string const &  type_name)
ConstraintFactory const& core::scoring::constraints::ConstraintFactory::operator= ( ConstraintFactory const &  )
private
void core::scoring::constraints::ConstraintFactory::replace_creator ( ConstraintCreatorCOP  creator)

Replace the load-time ConstraintCreator with another creator. WARNING WARNING WARNING THREAD UNSAFE!!! DO NOT USE THIS!!!

WARNING WARNING WARNING NOT THREADSAFE!

References cst_types_.

Friends And Related Function Documentation

friend class utility::SingletonBase< ConstraintFactory >
friend

Member Data Documentation

ConstraintCreatorMap core::scoring::constraints::ConstraintFactory::cst_types_
private

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