Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
core::pack::task::operation::ResFilterFactory Class Reference

#include <ResFilterFactory.hh>

Collaboration diagram for core::pack::task::operation::ResFilterFactory:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string,
ResFilterCreatorOP
ResFilterCreatorMap
 
typedef utility::tag::Tag Tag
 
typedef utility::tag::TagPtr TagPtr
 

Public Member Functions

void factory_register (ResFilterCreatorOP)
 
void add_creator (ResFilterCreatorOP)
 add a prototype, using its default type name as the map key More...
 
bool has_type (std::string const &) const
 
ResFilterOP newResFilter (std::string const &, TagPtr=new Tag) const
 return new ResFilter by key lookup in filter_map_ (new ResFilter parses Tag if provided) More...
 

Static Public Member Functions

static ResFilterFactoryget_instance ()
 

Private Member Functions

 ResFilterFactory ()
 
virtual ~ResFilterFactory ()
 

Private Attributes

ResFilterCreatorMap filter_creator_map_
 

Static Private Attributes

static ResFilterFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::pack::task::operation::ResFilterFactory::ResFilterFactory ( )
private

Referenced by get_instance().

core::pack::task::operation::ResFilterFactory::~ResFilterFactory ( )
privatevirtual

Member Function Documentation

void core::pack::task::operation::ResFilterFactory::add_creator ( ResFilterCreatorOP  creator)

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

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

References filter_creator_map_.

Referenced by core::pack::task::operation::TaskOperationFactory::add_creator(), and factory_register().

void core::pack::task::operation::ResFilterFactory::factory_register ( ResFilterCreatorOP  creator)

References add_creator().

ResFilterFactory * core::pack::task::operation::ResFilterFactory::get_instance ( )
static
bool core::pack::task::operation::ResFilterFactory::has_type ( std::string const &  type) const
ResFilterOP core::pack::task::operation::ResFilterFactory::newResFilter ( std::string const &  type,
TagPtr  tag = new Tag 
) const

return new ResFilter by key lookup in filter_map_ (new ResFilter parses Tag if provided)

return new ResFilter by key lookup in filter_creator_map_ (new ResFilter parses Tag if provided)

References filter_creator_map_.

Referenced by core::pack::task::operation::OperateOnCertainResidues::parse_tag().

Member Data Documentation

ResFilterCreatorMap core::pack::task::operation::ResFilterFactory::filter_creator_map_
private

Referenced by add_creator(), has_type(), and newResFilter().

ResFilterFactory * core::pack::task::operation::ResFilterFactory::instance_
staticprivate

Referenced by get_instance().


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