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_
 

Detailed Description

Definition at line 45 of file GridFactory.hh.

Member Typedef Documentation

Definition at line 49 of file GridFactory.hh.

Definition at line 50 of file GridFactory.hh.

Definition at line 51 of file GridFactory.hh.

Constructor & Destructor Documentation

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

Definition at line 38 of file GridFactory.cc.

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

Definition at line 29 of file GridFactory.cc.

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

Definition at line 55 of file GridFactory.cc.

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

Definition at line 72 of file GridFactory.cc.

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

Definition at line 95 of file GridFactory.cc.

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

Definition at line 75 of file GridFactory.hh.

Referenced by factory_register(), GridFactory(), and new_grid().

GridFactory * protocols::qsar::scoring_grid::GridFactory::instance_
staticprivate

Definition at line 74 of file GridFactory.hh.

Referenced by get_instance().


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