Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::scoring::elec::CountPairRepMap Class Reference

A class to encapsulate the raw-pointer-based data caching. More...

#include <FA_ElecEnergy.hh>

Public Member Functions

 CountPairRepMap ()=default
 
 CountPairRepMap (CountPairRepMap const &)=delete
 
CountPairRepMapoperator= (CountPairRepMap const &)=delete
 
 ~CountPairRepMap ()
 
bool has (chemical::ResidueType const &restype) const
 
std::map< core::Size,
core::Size > const & 
get_map (chemical::ResidueType const &restype)
 
std::map< core::Size,
core::Size > const & 
get_map (chemical::ResidueType const &restype) const
 
void restype_destruction_observer (core::chemical::RestypeDestructionEvent const &event)
 

Private Member Functions

CPRepMapType const & cp_byname ()
 Return the byname repmap, loading it if we haven't already done so. More...
 

Private Attributes

std::map
< chemical::ResidueType const
*, std::map< core::Size,
core::Size > > 
cp_rep_map_
 
CPRepMapTypeCOP cp_rep_map_byname_
 

Detailed Description

A class to encapsulate the raw-pointer-based data caching.

Constructor & Destructor Documentation

core::scoring::elec::CountPairRepMap::CountPairRepMap ( )
default
core::scoring::elec::CountPairRepMap::CountPairRepMap ( CountPairRepMap const &  )
delete
core::scoring::elec::CountPairRepMap::~CountPairRepMap ( )

Member Function Documentation

CPRepMapType const & core::scoring::elec::CountPairRepMap::cp_byname ( )
private

Return the byname repmap, loading it if we haven't already done so.

References cp_rep_map_byname_.

Referenced by get_map().

std::map< core::Size, core::Size > const & core::scoring::elec::CountPairRepMap::get_map ( chemical::ResidueType const &  restype)
std::map< core::Size, core::Size > const & core::scoring::elec::CountPairRepMap::get_map ( chemical::ResidueType const &  restype) const
bool core::scoring::elec::CountPairRepMap::has ( chemical::ResidueType const &  restype) const
inline
CountPairRepMap& core::scoring::elec::CountPairRepMap::operator= ( CountPairRepMap const &  )
delete
void core::scoring::elec::CountPairRepMap::restype_destruction_observer ( core::chemical::RestypeDestructionEvent const &  event)

Member Data Documentation

std::map< chemical::ResidueType const *, std::map<core::Size,core::Size> > core::scoring::elec::CountPairRepMap::cp_rep_map_
private
CPRepMapTypeCOP core::scoring::elec::CountPairRepMap::cp_rep_map_byname_
private

Referenced by cp_byname().


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