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

#include <motif_hash_stuff.hh>

Inheritance diagram for core::scoring::motif::MotifHashManager:
Inheritance graph
[legend]

Public Types

typedef ResPairMotifMetaBinner::Key Key
 

Public Member Functions

 ~MotifHashManager ()
 
bool have_motifs () const
 
MotifHashCOP get_motif_hash_BB_BB ()
 
MotifHashCOP get_motif_hash_SC_BB ()
 
MotifHashCOP get_motif_hash_SC_SC ()
 
MotifHashCOP get_motif_hash_BB_PH ()
 
MotifHashCOP get_motif_hash_BB_PO ()
 
void add_motif_set_name (std::string const &motifset)
 
bool have_motif_set_named (std::string const &motifset) const
 
std::set< std::string > motif_set_names () const
 
MotifHashCOP get_motif_hash_by_fname (std::string const &fname)
 
MotifHashStringMap const & get_motif_hash_by_fname ()
 
XformScoreCOP get_xform_score_SC_BB (char aa1)
 
XformScoreCOP get_xform_score_SC_SC (char aa1, char aa2)
 
XformScoreCOP get_xform_score_BB_BB (char ss1, char ss2, char aa1=' ', char aa2=' ')
 
XformScoreCOP get_xform_score_frags ()
 
XformScoreCOP get_xform_score_BB_PH ()
 
XformScoreCOP get_xform_score_BB_PO ()
 
XformScoreCOP get_xform_score_PH_PO ()
 
int get_matching_motifs (ResPairMotifQuery const &opt, MotifHits &hits) const
 

Private Member Functions

 MotifHashManager ()
 
 MotifHashManager (MotifHashManager const &)=delete
 
MotifHashManageroperator= (MotifHashManager const &)=delete
 
void init ()
 

Private Attributes

MotifHashOP motif_hash_SC_BB_
 
MotifHashOP motif_hash_SC_SC_
 
MotifHashOP motif_hash_BB_BB_
 
MotifHashOP motif_hash_BB_PH_
 
MotifHashOP motif_hash_BB_PO_
 
MotifHashStringMap motifs_by_fname_
 
XformScoreOP xform_score_BB_PH_
 
XformScoreOP xform_score_BB_PO_
 
XformScoreOP xform_score_PH_PO_
 
XformScoreMap xform_scores_BB_BB_
 
XformScoreOP xform_score_frags_
 
XformScoreMap xform_scores_SC_BB_
 
XformScoreMap xform_scores_SC_SC_
 
std::set< std::string > motif_set_names_
 
Key key_mask_BB_BB_
 
bool done_loading_
 

Friends

class utility::SingletonBase< MotifHashManager >
 
void preload_motif_data (MotifHashManager &mman)
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::scoring::motif::MotifHashManager::~MotifHashManager ( )
core::scoring::motif::MotifHashManager::MotifHashManager ( )
private

References init().

core::scoring::motif::MotifHashManager::MotifHashManager ( MotifHashManager const &  )
privatedelete

Member Function Documentation

void core::scoring::motif::MotifHashManager::add_motif_set_name ( std::string const &  motifset)

References motif_set_names_.

Referenced by init().

int core::scoring::motif::MotifHashManager::get_matching_motifs ( ResPairMotifQuery const &  opt,
MotifHits hits 
) const
MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_BB_BB ( )

References done_loading_, and motif_hash_BB_BB_.

MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_BB_PH ( )

References done_loading_, and motif_hash_BB_PH_.

MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_BB_PO ( )

References done_loading_, and motif_hash_BB_PO_.

MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_by_fname ( std::string const &  fname)
MotifHashStringMap const & core::scoring::motif::MotifHashManager::get_motif_hash_by_fname ( )

References done_loading_, and motifs_by_fname_.

Referenced by get_motif_hash_by_fname().

MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_SC_BB ( )

References done_loading_, and motif_hash_SC_BB_.

MotifHashCOP core::scoring::motif::MotifHashManager::get_motif_hash_SC_SC ( )

References done_loading_, and motif_hash_SC_SC_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_BB_BB ( char  ss1,
char  ss2,
char  aa1 = ' ',
char  aa2 = ' ' 
)
XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_BB_PH ( )

References xform_score_BB_PH_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_BB_PO ( )

References xform_score_BB_PO_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_frags ( )

References xform_score_frags_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_PH_PO ( )

References xform_score_PH_PO_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_SC_BB ( char  aa1)

References xform_scores_SC_BB_.

XformScoreCOP core::scoring::motif::MotifHashManager::get_xform_score_SC_SC ( char  aa1,
char  aa2 
)

References xform_scores_SC_SC_.

bool core::scoring::motif::MotifHashManager::have_motif_set_named ( std::string const &  motifset) const

References motif_set_names_.

bool core::scoring::motif::MotifHashManager::have_motifs ( ) const
inline

References motif_set_names_.

void core::scoring::motif::MotifHashManager::init ( void  )
private
std::set<std::string> core::scoring::motif::MotifHashManager::motif_set_names ( ) const
inline

References motif_set_names_.

MotifHashManager& core::scoring::motif::MotifHashManager::operator= ( MotifHashManager const &  )
privatedelete

Friends And Related Function Documentation

void preload_motif_data ( MotifHashManager mman)
friend

Referenced by init().

friend class utility::SingletonBase< MotifHashManager >
friend

Member Data Documentation

bool core::scoring::motif::MotifHashManager::done_loading_
private
Key core::scoring::motif::MotifHashManager::key_mask_BB_BB_
private

Referenced by get_xform_score_BB_BB(), and init().

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_BB_
private
MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_PH_
private
MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_PO_
private
MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_SC_BB_
private
MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_SC_SC_
private

Referenced by get_motif_hash_SC_SC().

std::set<std::string> core::scoring::motif::MotifHashManager::motif_set_names_
private
MotifHashStringMap core::scoring::motif::MotifHashManager::motifs_by_fname_
private
XformScoreOP core::scoring::motif::MotifHashManager::xform_score_BB_PH_
private

Referenced by get_xform_score_BB_PH(), and init().

XformScoreOP core::scoring::motif::MotifHashManager::xform_score_BB_PO_
private

Referenced by get_xform_score_BB_PO(), and init().

XformScoreOP core::scoring::motif::MotifHashManager::xform_score_frags_
private

Referenced by get_xform_score_frags(), and init().

XformScoreOP core::scoring::motif::MotifHashManager::xform_score_PH_PO_
private

Referenced by get_xform_score_PH_PO(), and init().

XformScoreMap core::scoring::motif::MotifHashManager::xform_scores_BB_BB_
private

Referenced by get_xform_score_BB_BB(), and init().

XformScoreMap core::scoring::motif::MotifHashManager::xform_scores_SC_BB_
private

Referenced by get_xform_score_SC_BB(), and init().

XformScoreMap core::scoring::motif::MotifHashManager::xform_scores_SC_SC_
private

Referenced by get_xform_score_SC_SC(), and init().


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