![]() |
Rosetta
2021.16
|
A class to encapsulate the raw-pointer-based data caching. More...
#include <FA_ElecEnergy.hh>
Public Member Functions | |
| CountPairRepMap ()=default | |
| CountPairRepMap (CountPairRepMap const &)=delete | |
| CountPairRepMap & | operator= (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_ |
A class to encapsulate the raw-pointer-based data caching.
|
default |
|
delete |
| core::scoring::elec::CountPairRepMap::~CountPairRepMap | ( | ) |
References cp_rep_map_, and restype_destruction_observer().
|
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 | ) |
References core::chemical::ResidueType::atom_index(), core::chemical::ResidueType::attach_destruction_obs(), cp_byname(), cp_rep_map_, core::chemical::ResidueType::has(), core::chemical::ResidueTypeBase::name(), core::chemical::ResidueTypeBase::name3(), restype_destruction_observer(), and core::scoring::TR().
Referenced by core::scoring::elec::create_rotamer_descriptor().
| std::map< core::Size, core::Size > const & core::scoring::elec::CountPairRepMap::get_map | ( | chemical::ResidueType const & | restype | ) | const |
References cp_rep_map_, and core::chemical::ResidueTypeBase::name().
|
inline |
References cp_rep_map_.
Referenced by core::scoring::elec::create_rotamer_descriptor().
|
delete |
| void core::scoring::elec::CountPairRepMap::restype_destruction_observer | ( | core::chemical::RestypeDestructionEvent const & | event | ) |
References cp_rep_map_, and core::chemical::RestypeDestructionEvent::restype.
Referenced by get_map(), and ~CountPairRepMap().
|
private |
Referenced by get_map(), has(), restype_destruction_observer(), and ~CountPairRepMap().
|
private |
Referenced by cp_byname().
1.8.7