Rosetta Protocols  2014.35
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
protocols::ligand_docking::DistributionMap Class Reference

A singleton class that returns a map of strings to enum types. More...

#include <DistributionMap.hh>

Public Member Functions

Distribution operator[] (std::string distribution)
 

Static Public Member Functions

static DistributionMapget_instance ()
 static function to get the instance of ( pointer to) this singleton class More...
 

Private Member Functions

 DistributionMap ()
 

Static Private Member Functions

static DistributionMapcreate_singleton_instance ()
 private singleton creation function to be used with utility::thread::threadsafe_singleton More...
 

Private Attributes

std::map< std::string,
Distribution
distribution_map_
 

Static Private Attributes

static DistributionMapinstance_
 

Detailed Description

A singleton class that returns a map of strings to enum types.

Constructor & Destructor Documentation

protocols::ligand_docking::DistributionMap::DistributionMap ( )
private

Member Function Documentation

DistributionMap * protocols::ligand_docking::DistributionMap::create_singleton_instance ( )
staticprivate

private singleton creation function to be used with utility::thread::threadsafe_singleton

References DistributionMap().

Referenced by get_instance().

DistributionMap * protocols::ligand_docking::DistributionMap::get_instance ( )
static

static function to get the instance of ( pointer to) this singleton class

References create_singleton_instance(), instance_, and utility::thread::safely_create_singleton().

Referenced by protocols::ligand_docking::get_distribution().

Distribution protocols::ligand_docking::DistributionMap::operator[] ( std::string  distribution)

References distribution_map_.

Member Data Documentation

std::map< std::string, Distribution > protocols::ligand_docking::DistributionMap::distribution_map_
private

Referenced by DistributionMap(), and operator[]().

DistributionMap * protocols::ligand_docking::DistributionMap::instance_
staticprivate

Referenced by get_instance().


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