Rosetta
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

◆ CountPairRepMap() [1/2]

core::scoring::elec::CountPairRepMap::CountPairRepMap ( )
default

◆ CountPairRepMap() [2/2]

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

◆ ~CountPairRepMap()

core::scoring::elec::CountPairRepMap::~CountPairRepMap ( )

Member Function Documentation

◆ cp_byname()

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().

◆ get_map() [1/2]

std::map< core::Size, core::Size > const & core::scoring::elec::CountPairRepMap::get_map ( chemical::ResidueType const &  restype)

◆ get_map() [2/2]

std::map< core::Size, core::Size > const & core::scoring::elec::CountPairRepMap::get_map ( chemical::ResidueType const &  restype) const

◆ has()

bool core::scoring::elec::CountPairRepMap::has ( chemical::ResidueType const &  restype) const
inline

◆ operator=()

CountPairRepMap& core::scoring::elec::CountPairRepMap::operator= ( CountPairRepMap const &  )
delete

◆ restype_destruction_observer()

void core::scoring::elec::CountPairRepMap::restype_destruction_observer ( core::chemical::RestypeDestructionEvent const &  event)

Member Data Documentation

◆ cp_rep_map_

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

◆ cp_rep_map_byname_

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: