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
protocols::qsar::scoring_grid::GridFactory Class Reference

#include <GridFactory.hh>

Collaboration diagram for protocols::qsar::scoring_grid::GridFactory:
Collaboration graph
[legend]

Public Types

typedef std::map< std::string,
GridCreatorOP
GridMap
 
typedef utility::tag::Tag Tag
 
typedef utility::tag::TagPtr TagPtr
 

Public Member Functions

virtual ~GridFactory ()
 
void factory_register (GridCreatorOP creator)
 add a Grid prototype, using it's default type name as the map key More...
 
GridBaseOP new_grid (utility::tag::TagPtr const tag) const
 create Grid given grid tag More...
 
GridBaseOP new_grid (utility::json_spirit::mObject data) const
 create Grid given a serialized grid object More...
 

Static Public Member Functions

static GridFactoryget_instance ()
 

Private Member Functions

 GridFactory ()
 
 GridFactory (GridFactory const &)
 
GridFactory const & operator= (GridFactory const &)
 

Private Attributes

GridMap grid_creator_map_
 

Static Private Attributes

static GridFactoryinstance_
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::qsar::scoring_grid::GridFactory::~GridFactory ( )
virtual
protocols::qsar::scoring_grid::GridFactory::GridFactory ( )
private

References grid_creator_map_.

Referenced by get_instance().

protocols::qsar::scoring_grid::GridFactory::GridFactory ( GridFactory const &  )
private

Member Function Documentation

void protocols::qsar::scoring_grid::GridFactory::factory_register ( GridCreatorOP  creator)

add a Grid prototype, using it's default type name as the map key

References grid_creator_map_.

GridFactory * protocols::qsar::scoring_grid::GridFactory::get_instance ( )
static
GridBaseOP protocols::qsar::scoring_grid::GridFactory::new_grid ( utility::tag::TagPtr const  tag) const

create Grid given grid tag

References grid_creator_map_.

Referenced by new_grid().

GridBaseOP protocols::qsar::scoring_grid::GridFactory::new_grid ( utility::json_spirit::mObject  data) const

create Grid given a serialized grid object

References grid_creator_map_, and new_grid().

GridFactory const& protocols::qsar::scoring_grid::GridFactory::operator= ( GridFactory const &  )
private

Member Data Documentation

GridMap protocols::qsar::scoring_grid::GridFactory::grid_creator_map_
private
GridFactory * protocols::qsar::scoring_grid::GridFactory::instance_
staticprivate

Referenced by get_instance().


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