Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
core::sequence::SequenceFactory Class Reference

#include <SequenceFactory.hh>

Inheritance diagram for core::sequence::SequenceFactory:
Inheritance graph

Public Member Functions

void factory_register (SequenceCreatorCOP creator)
SequenceOP get_sequence (std::string const &type_name)
SequenceOP seq_from_file (std::string const &fn, std::string const &type_name)
utility::vector1< std::string > get_seq_names () const
SequenceCreatorCOP get_creator (std::string const &type_name)

Private Types

typedef std::map< std::string,

Private Member Functions

 SequenceFactory ()
 SequenceFactory (SequenceFactory const &)
SequenceFactory const & operator= (SequenceFactory const &)

Private Attributes

SequenceCreatorMap seq_types_


class utility::SingletonBase< SequenceFactory >

Member Typedef Documentation

Constructor & Destructor Documentation

core::sequence::SequenceFactory::SequenceFactory ( )

Private constructor insures correctness of singleton.

core::sequence::SequenceFactory::SequenceFactory ( SequenceFactory const &  )

Member Function Documentation

void core::sequence::SequenceFactory::factory_register ( SequenceCreatorCOP  creator)

References seq_types_.

SequenceCreatorCOP core::sequence::SequenceFactory::get_creator ( std::string const &  type_name)
utility::vector1< std::string > core::sequence::SequenceFactory::get_seq_names ( ) const

DANGER DANGER DANGER: NOT THREADSAFE! This could be make threadsafe so long as seq_types_ is properly locked.

References seq_types_.

Referenced by get_creator(), and get_sequence().

SequenceOP core::sequence::SequenceFactory::get_sequence ( std::string const &  type_name)
SequenceFactory const& core::sequence::SequenceFactory::operator= ( SequenceFactory const &  )
SequenceOP core::sequence::SequenceFactory::seq_from_file ( std::string const &  fn,
std::string const &  type_name 

Friends And Related Function Documentation

friend class utility::SingletonBase< SequenceFactory >

Member Data Documentation

SequenceCreatorMap core::sequence::SequenceFactory::seq_types_

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