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::io::silent::SilentStructFactory Class Reference

#include <SilentStructFactory.hh>

Collaboration diagram for core::io::silent::SilentStructFactory:
Collaboration graph
[legend]

Public Member Functions

void factory_register (SilentStructCreatorCOP creator)
 
bool has_silent_struct_type (std::string const &type_name)
 test if the specified silent struct type name is associated with a registered silent struct type. More...
 
void show_available_silent_struct_types (std::ostream &out)
 pretty print a list of the available silent struct types. More...
 
io::silent::SilentStructOP get_silent_struct (std::string const &type_name)
 
utility::vector1< std::string > get_ss_names () const
 
void replace_creator (SilentStructCreatorCOP creator)
 Replace the load-time SilentStructCreator with another creator. More...
 
SilentStructCreatorCOP get_creator (std::string const &type_name)
 
SilentStructOP get_silent_struct_in ()
 
SilentStructOP get_silent_struct_out ()
 
SilentStructOP get_silent_struct_out (core::pose::Pose const &pose)
 

Static Public Member Functions

static SilentStructFactoryget_instance ()
 

Private Types

typedef std::map< std::string,
io::silent::SilentStructCreatorCOP
SilentStructCreatorMap
 

Private Member Functions

 SilentStructFactory ()
 
 SilentStructFactory (SilentStructFactory const &)
 
SilentStructFactory const & operator= (SilentStructFactory const &)
 

Private Attributes

SilentStructCreatorMap ss_types_
 

Static Private Attributes

static SilentStructFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::io::silent::SilentStructFactory::SilentStructFactory ( )
private

Private constructor insures correctness of singleton.

Referenced by get_instance().

core::io::silent::SilentStructFactory::SilentStructFactory ( SilentStructFactory const &  )
private

Member Function Documentation

void core::io::silent::SilentStructFactory::factory_register ( SilentStructCreatorCOP  creator)

References ss_types_.

SilentStructCreatorCOP core::io::silent::SilentStructFactory::get_creator ( std::string const &  type_name)
SilentStructFactory * core::io::silent::SilentStructFactory::get_instance ( )
static

References instance_, and SilentStructFactory().

Referenced by protocols::wum::SilentStructStore::add(), protocols::loophash::LoopHashMoverWrapper::apply(), protocols::loophash::LoopHashDiversifier::apply(), protocols::hybridization::HybridizeProtocol::apply(), protocols::canonical_sampling::CanonicalSamplingMover::apply(), protocols::relax::FastRelax::batch_apply(), protocols::loophash::LoopHashSampler::build_structures(), protocols::checkpoint::CheckPointer::checkpoint(), protocols::loophash::MPI_LoopHashRefine_Master::create_loophash_WUs(), core::io::silent::SilentFileLoader::create_resource(), core::io::silent::SilentFileData::create_SilentStructOP(), protocols::canonical_sampling::CanonicalSamplingMover::dump_decoy_or_score(), protocols::jd2::SilentFileJobOutputter::dump_pose(), protocols::jobdist::PlainSilentFileJobDistributor::dump_pose(), protocols::star::emit_intermediate(), protocols::evaluation::evaluate_pose(), protocols::loophash::LoopHashLibrary::get_all(), protocols::loophash::MPI_LoopHashRefine::load_structures_from_cmdline_into_library(), protocols::frag_picker::FragmentPicker::nonlocal_pairs(), protocols::jobdist::not_universal_main(), protocols::viewer::SilentObserver::on_energy_change(), protocols::medal::on_pose_accept(), OPT_1GRP_KEY(), protocols::frag_picker::FragmentCandidate::output_silent(), core::io::silent::SilentFileOptions::parse_my_tag(), core::io::silent::SilentFileOptions::set_silent_struct_type(), protocols::jobdist::universal_main(), and protocols::jd2::write_score_tracer().

SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct ( std::string const &  type_name)
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_in ( )
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out ( )
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out ( core::pose::Pose const &  pose)
utility::vector1< std::string > core::io::silent::SilentStructFactory::get_ss_names ( ) const

References core::sequence::end, and ss_types_.

Referenced by get_creator(), and get_silent_struct().

bool core::io::silent::SilentStructFactory::has_silent_struct_type ( std::string const &  type_name)

test if the specified silent struct type name is associated with a registered silent struct type.

References ss_types_.

Referenced by core::io::silent::SilentFileOptions::parse_my_tag().

SilentStructFactory const& core::io::silent::SilentStructFactory::operator= ( SilentStructFactory const &  )
private
void core::io::silent::SilentStructFactory::replace_creator ( SilentStructCreatorCOP  creator)

Replace the load-time SilentStructCreator with another creator.

References ss_types_.

void core::io::silent::SilentStructFactory::show_available_silent_struct_types ( std::ostream &  out)

pretty print a list of the available silent struct types.

References ss_types_.

Referenced by core::io::silent::SilentFileOptions::parse_my_tag(), and core::io::silent::SilentFileOptions::set_silent_struct_type().

Member Data Documentation

SilentStructFactory * core::io::silent::SilentStructFactory::instance_
staticprivate

Referenced by get_instance().

SilentStructCreatorMap core::io::silent::SilentStructFactory::ss_types_
private

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