Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::jd2::JobInputterFactory Class Reference

#include <JobInputterFactory.hh>

Inheritance diagram for protocols::jd2::JobInputterFactory:
Inheritance graph
[legend]

Public Types

typedef std::map< std::string,
JobInputterCreatorOP
JobInputterMap
 

Public Member Functions

virtual ~JobInputterFactory ()
 
void factory_register (JobInputterCreatorOP creator)
 add a JobInputter prototype, using its default type name as the map key More...
 
JobInputterOP get_new_JobInputter ()
 return JobInputter defined by input parameters (contained in option system and #defines for MPI, etc) More...
 

Private Member Functions

JobInputterOP get_JobInputter_from_string (std::string const &job_inputter_type)
 
 JobInputterFactory ()
 
 JobInputterFactory (JobInputterFactory const &)
 
JobInputterFactory const & operator= (JobInputterFactory const &)
 

Private Attributes

JobInputterMap job_inputter_creator_map_
 

Friends

class utility::SingletonBase< JobInputterFactory >
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::jd2::JobInputterFactory::~JobInputterFactory ( )
virtualdefault
protocols::jd2::JobInputterFactory::JobInputterFactory ( )
privatedefault
protocols::jd2::JobInputterFactory::JobInputterFactory ( JobInputterFactory const &  )
private

Member Function Documentation

void protocols::jd2::JobInputterFactory::factory_register ( JobInputterCreatorOP  creator)

add a JobInputter prototype, using its default type name as the map key

References job_inputter_creator_map_.

JobInputterOP protocols::jd2::JobInputterFactory::get_JobInputter_from_string ( std::string const &  job_inputter_type)
private

return new JobInputter by key lookup in map

References job_inputter_creator_map_, and protocols::jd2::TR().

Referenced by get_new_JobInputter().

JobInputterOP protocols::jd2::JobInputterFactory::get_new_JobInputter ( )

return JobInputter defined by input parameters (contained in option system and #defines for MPI, etc)

return new JobInputter from logic of option system plus compilation options. All the logic for determining job input type lives here.

References get_JobInputter_from_string().

JobInputterFactory const& protocols::jd2::JobInputterFactory::operator= ( JobInputterFactory const &  )
private

Friends And Related Function Documentation

friend class utility::SingletonBase< JobInputterFactory >
friend

Member Data Documentation

JobInputterMap protocols::jd2::JobInputterFactory::job_inputter_creator_map_
private

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