Rosetta
|
#include <SilentStructFactory.hh>
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... | |
SilentStructOP | get_silent_struct (std::string const &type_name, SilentFileOptions const &) |
utility::vector1< std::string > | get_ss_names () const |
SilentStructCreatorCOP | get_creator (std::string const &type_name) |
SilentStructOP | get_silent_struct_in (SilentFileOptions const &) |
SilentStructOP | get_silent_struct_out (SilentFileOptions const &) |
SilentStructOP | get_silent_struct_out (core::pose::Pose const &pose, SilentFileOptions const &) |
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_ |
Friends | |
class | utility::SingletonBase< SilentStructFactory > |
|
private |
|
privatedefault |
Private constructor insures correctness of singleton.
|
private |
void core::io::silent::SilentStructFactory::factory_register | ( | SilentStructCreatorCOP | creator | ) |
References ss_types_.
SilentStructCreatorCOP core::io::silent::SilentStructFactory::get_creator | ( | std::string const & | type_name | ) |
References get_ss_names(), and ss_types_.
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct | ( | std::string const & | type_name, |
SilentFileOptions const & | opts | ||
) |
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_in | ( | SilentFileOptions const & | opts | ) |
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out | ( | core::pose::Pose const & | pose, |
SilentFileOptions const & | opts | ||
) |
References core::io::silent::SilentFileOptions::binary_output(), core::pose::full_model_info::full_model_info_defined(), get_silent_struct(), core::pose::is_ideal_pose(), core::chemical::ResidueTypeBase::is_RNA(), core::io::silent::SilentFileOptions::out_silent_struct_type(), core::io::silent::SilentFileOptions::out_silent_struct_type_set(), core::pose::Pose::residue_type(), core::pose::Pose::size(), and core::io::silent::tr().
SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out | ( | SilentFileOptions const & | opts | ) |
utility::vector1< std::string > core::io::silent::SilentStructFactory::get_ss_names | ( | ) | const |
References 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_.
|
private |
void core::io::silent::SilentStructFactory::show_available_silent_struct_types | ( | std::ostream & | out | ) |
pretty print a list of the available silent struct types.
References core::conformation::membrane::out, and ss_types_.
|
friend |
|
private |