Rosetta Core  2014.35
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
core::io::silent::SilentStructFactory Class Reference

#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 SilentStructFactoryget_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 SilentStructFactorycreate_singleton_instance ()
 private singleton creation function to be used with utility::thread::threadsafe_singleton More...
 

Private Attributes

SilentStructCreatorMap ss_types_
 

Member Typedef Documentation

Constructor & Destructor Documentation

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

Private constructor insures correctness of singleton.

Referenced by create_singleton_instance().

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

Member Function Documentation

SilentStructFactory * core::io::silent::SilentStructFactory::create_singleton_instance ( )
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)
SilentStructFactory * core::io::silent::SilentStructFactory::get_instance ( )
static
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

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

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