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

small helper class that stores the ddGs for mutations at a given position. camel case gets weird when trying to write words containing ddG... More...

#include <PositionDdGInfo.hh>

Inheritance diagram for core::io::PositionDdGInfo::PositionDdGInfo:
Inheritance graph
[legend]

Public Member Functions

 PositionDdGInfo (core::Size seqpos, core::chemical::AA wt_aa)
 
 ~PositionDdGInfo () override
 
void add_mutation_ddG (core::chemical::AA aa, core::Real ddG)
 
core::Size seqpos () const
 
core::chemical::AA wt_aa () const
 
std::map< core::chemical::AA,
core::Real > const & 
mutation_ddGs () const
 

Private Attributes

core::Size seqpos_
 
core::chemical::AA wt_aa_
 
std::map< core::chemical::AA,
core::Real
mutation_ddGs_
 

Detailed Description

small helper class that stores the ddGs for mutations at a given position. camel case gets weird when trying to write words containing ddG...

Constructor & Destructor Documentation

core::io::PositionDdGInfo::PositionDdGInfo::PositionDdGInfo ( core::Size  seqpos,
core::chemical::AA  wt_aa 
)
core::io::PositionDdGInfo::PositionDdGInfo::~PositionDdGInfo ( )
overridedefault

Member Function Documentation

void core::io::PositionDdGInfo::PositionDdGInfo::add_mutation_ddG ( core::chemical::AA  aa,
core::Real  ddG 
)

doesn't check whether something for this mutation already exists, so previously added stuff will be overwritten

References mutation_ddGs_.

std::map< core::chemical::AA, core::Real > const& core::io::PositionDdGInfo::PositionDdGInfo::mutation_ddGs ( ) const
inline
core::Size core::io::PositionDdGInfo::PositionDdGInfo::seqpos ( ) const
inline

References seqpos_.

core::chemical::AA core::io::PositionDdGInfo::PositionDdGInfo::wt_aa ( ) const
inline

Member Data Documentation

std::map< core::chemical::AA, core::Real > core::io::PositionDdGInfo::PositionDdGInfo::mutation_ddGs_
private

Referenced by add_mutation_ddG(), and mutation_ddGs().

core::Size core::io::PositionDdGInfo::PositionDdGInfo::seqpos_
private

Referenced by seqpos().

core::chemical::AA core::io::PositionDdGInfo::PositionDdGInfo::wt_aa_
private

Referenced by wt_aa().


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