Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
basic::datacache::CacheableResRotPairFloatMap Class Reference

Wrapper for std::map< uint64_t, MathMatrix<float> > More...

#include <CacheableResRotPairFloatMap.hh>

Inheritance diagram for basic::datacache::CacheableResRotPairFloatMap:
Inheritance graph
[legend]

Public Member Functions

 CacheableResRotPairFloatMap ()
 
 CacheableResRotPairFloatMap (CacheableResRotPairFloatMap const &ot)
 
CacheableResRotPairFloatMapoperator= (CacheableResRotPairFloatMap const &ot)
 
 ~CacheableResRotPairFloatMap () override
 
CacheableDataOP clone () const override
 
CacheableResRotPairFloatMapOP shared_from_this ()
 
virtual std::unordered_map
< ResRotPair, float,
ResRotPairHasher > & 
map ()
 
virtual const
std::unordered_map< ResRotPair,
float, ResRotPairHasher > & 
map () const
 
virtual std::map< std::tuple
< platform::Size,
platform::Size, platform::Size,
platform::Size >, float > & 
four_int_indexed_map ()
 Nonconst access to map of four ints –> float value. More...
 
virtual std::map< std::tuple
< platform::Size,
platform::Size, platform::Size,
platform::Size >, float >
const & 
four_int_indexed_map () const
 Const access to map of four ints –> float value. More...
 
void set_shallow_copy (bool shallow)
 Only perform a shallow copy when clone() is called. More...
 
- Public Member Functions inherited from basic::datacache::CacheableData
CacheableDataCOP get_self_ptr () const
 self pointers More...
 
CacheableDataOP get_self_ptr ()
 
CacheableDataCAP get_self_weak_ptr () const
 
CacheableDataAP get_self_weak_ptr ()
 
 ~CacheableData () override
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

utility::pointer::shared_ptr
< std::unordered_map
< ResRotPair, float,
ResRotPairHasher > > 
mapOP_
 Map of seqpos1/rotamer1/seqpos2/rotamer2 –> float value. More...
 
utility::pointer::shared_ptr
< std::map< std::tuple
< platform::Size,
platform::Size, platform::Size,
platform::Size >, float > > 
four_int_indexed_mapOP_
 Map of four ints –> float value. More...
 
bool shallow_copy_
 Only perform a shallow copy when clone() is called. More...
 

Detailed Description

Wrapper for std::map< uint64_t, MathMatrix<float> >

Constructor & Destructor Documentation

basic::datacache::CacheableResRotPairFloatMap::CacheableResRotPairFloatMap ( )

References four_int_indexed_mapOP_, and mapOP_.

basic::datacache::CacheableResRotPairFloatMap::CacheableResRotPairFloatMap ( CacheableResRotPairFloatMap const &  ot)
basic::datacache::CacheableResRotPairFloatMap::~CacheableResRotPairFloatMap ( )
overridedefault

Member Function Documentation

CacheableDataOP basic::datacache::CacheableResRotPairFloatMap::clone ( ) const
overridevirtual
std::map< std::tuple< platform::Size, platform::Size, platform::Size, platform::Size >, float > & basic::datacache::CacheableResRotPairFloatMap::four_int_indexed_map ( )
virtual

Nonconst access to map of four ints –> float value.

Used only to store energies of a rotamer interacting with its own symmetric copies in the symmetric case.

Author
Vikram K. Mulligan (vmull.nosp@m.igan.nosp@m.@flat.nosp@m.iron.nosp@m.insti.nosp@m.tute.nosp@m..org).

References debug_assert, four_int_indexed_mapOP_, and mapOP_.

std::map< std::tuple< platform::Size, platform::Size, platform::Size, platform::Size >, float > const & basic::datacache::CacheableResRotPairFloatMap::four_int_indexed_map ( ) const
virtual

Const access to map of four ints –> float value.

Used only to store energies of a rotamer interacting with its own symmetric copies in the symmetric case.

Author
Vikram K. Mulligan (vmull.nosp@m.igan.nosp@m.@flat.nosp@m.iron.nosp@m.insti.nosp@m.tute.nosp@m..org).

References debug_assert, four_int_indexed_mapOP_, and mapOP_.

std::unordered_map< ResRotPair, float, ResRotPairHasher > & basic::datacache::CacheableResRotPairFloatMap::map ( )
virtual

References debug_assert, and mapOP_.

std::unordered_map< ResRotPair, float, ResRotPairHasher > const & basic::datacache::CacheableResRotPairFloatMap::map ( ) const
virtual

References debug_assert, and mapOP_.

CacheableResRotPairFloatMap & basic::datacache::CacheableResRotPairFloatMap::operator= ( CacheableResRotPairFloatMap const &  ot)
void basic::datacache::CacheableResRotPairFloatMap::set_shallow_copy ( bool  shallow)

Only perform a shallow copy when clone() is called.

References shallow_copy_.

CacheableResRotPairFloatMapOP basic::datacache::CacheableResRotPairFloatMap::shared_from_this ( )

Member Data Documentation

utility::pointer::shared_ptr< std::map< std::tuple< platform::Size, platform::Size, platform::Size, platform::Size>, float > > basic::datacache::CacheableResRotPairFloatMap::four_int_indexed_mapOP_
private

Map of four ints –> float value.

Used only to store energies of a rotamer interacting with its own symmetric copies in the symmetric case.

Author
Vikram K. Mulligan (vmull.nosp@m.igan.nosp@m.@flat.nosp@m.iron.nosp@m.insti.nosp@m.tute.nosp@m..org).

Referenced by CacheableResRotPairFloatMap(), four_int_indexed_map(), and operator=().

utility::pointer::shared_ptr< std::unordered_map< ResRotPair, float, ResRotPairHasher > > basic::datacache::CacheableResRotPairFloatMap::mapOP_
private

Map of seqpos1/rotamer1/seqpos2/rotamer2 –> float value.

Referenced by CacheableResRotPairFloatMap(), four_int_indexed_map(), map(), and operator=().

bool basic::datacache::CacheableResRotPairFloatMap::shallow_copy_
private

Only perform a shallow copy when clone() is called.

Referenced by operator=(), and set_shallow_copy().


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