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

#include <ConstraintFactory.hh>

Collaboration diagram for core::scoring::constraints::ConstraintFactory:
Collaboration 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. More...
 
ConstraintCreatorCOP get_creator (std::string const &type_name)
 

Static Public Member Functions

static ConstraintFactoryget_instance ()
 

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_
 

Static Private Attributes

static ConstraintFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

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

Private constructor insures correctness of singleton.

Referenced by get_instance().

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_, and core::sequence::end.

Referenced by get_creator(), and newConstraint().

ConstraintFactory * core::scoring::constraints::ConstraintFactory::get_instance ( )
static
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.

References cst_types_.

Referenced by protocols::abinitio::common_setup(), and protocols::abinitio::AbrelaxApplication::setup().

Member Data Documentation

ConstraintCreatorMap core::scoring::constraints::ConstraintFactory::cst_types_
private
ConstraintFactory * core::scoring::constraints::ConstraintFactory::instance_
staticprivate

Referenced by get_instance().


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