![]() |
Rosetta Core
2014.16.56682
|
#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... | |
| 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 SilentStructFactory * | get_instance () |
| static function to get the instance of ( pointer to) this singleton class More... | |
Private Types | |
| typedef std::map< std::string, io::silent::SilentStructCreatorCOP > | SilentStructCreatorMap |
Private Member Functions | |
| SilentStructFactory () | |
| SilentStructFactory (SilentStructFactory const &) | |
| SilentStructFactory const & | operator= (SilentStructFactory const &) |
Static Private Member Functions | |
| static SilentStructFactory * | create_singleton_instance () |
| private singleton creation function to be used with utility::thread::threadsafe_singleton More... | |
Private Attributes | |
| SilentStructCreatorMap | ss_types_ |
Static Private Attributes | |
| static SilentStructFactory * | instance_ |
|
private |
|
private |
Private constructor insures correctness of singleton.
Referenced by create_singleton_instance().
|
private |
|
staticprivate |
private singleton creation function to be used with utility::thread::threadsafe_singleton
References SilentStructFactory().
Referenced by get_instance().
| 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 core::sequence::end, get_ss_names(), ss_types_, and utility_exit_with_message.
|
static |
static function to get the instance of ( pointer to) this singleton class
References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().
Referenced by core::io::silent::SilentFileLoader::create_resource(), core::io::silent::SilentFileData::create_SilentStructOP(), core::io::silent::SilentFileOptions::parse_my_tag(), and core::io::silent::SilentFileOptions::set_silent_struct_type().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct | ( | std::string const & | type_name | ) |
References core::sequence::end, get_ss_names(), ss_types_, core::io::silent::tr, and utility_exit_with_message.
Referenced by core::io::silent::SilentFileData::create_SilentStructOP(), get_silent_struct_in(), and get_silent_struct_out().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_in | ( | ) |
References get_silent_struct(), option, and in::file::silent_struct_type.
Referenced by core::io::silent::SilentFileData::create_SilentStructOP().
| SilentStructOP core::io::silent::SilentStructFactory::get_silent_struct_out | ( | ) |
References get_silent_struct(), option, and out::file::silent_struct_type.
| 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().
|
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().
|
staticprivate |
Referenced by get_instance().
|
private |
1.8.7