Rosetta
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

◆ Key

Constructor & Destructor Documentation

◆ ~MotifHashManager()

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

◆ MotifHashManager() [1/2]

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

References init().

◆ MotifHashManager() [2/2]

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

Member Function Documentation

◆ add_motif_set_name()

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

References motif_set_names_, and core::scoring::motif::TR().

Referenced by init().

◆ get_matching_motifs()

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

◆ get_motif_hash_BB_BB()

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

References done_loading_, and motif_hash_BB_BB_.

◆ get_motif_hash_BB_PH()

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

References done_loading_, and motif_hash_BB_PH_.

◆ get_motif_hash_BB_PO()

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

References done_loading_, and motif_hash_BB_PO_.

◆ get_motif_hash_by_fname() [1/2]

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

◆ get_motif_hash_by_fname() [2/2]

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

◆ get_motif_hash_SC_BB()

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

References done_loading_, and motif_hash_SC_BB_.

◆ get_motif_hash_SC_SC()

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

References done_loading_, and motif_hash_SC_SC_.

◆ get_xform_score_BB_BB()

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

◆ get_xform_score_BB_PH()

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

References xform_score_BB_PH_.

◆ get_xform_score_BB_PO()

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

References xform_score_BB_PO_.

◆ get_xform_score_frags()

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

References xform_score_frags_.

◆ get_xform_score_PH_PO()

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

References xform_score_PH_PO_.

◆ get_xform_score_SC_BB()

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

References xform_scores_SC_BB_.

◆ get_xform_score_SC_SC()

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

References xform_scores_SC_SC_.

◆ have_motif_set_named()

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

References motif_set_names_.

◆ have_motifs()

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

References motif_set_names_.

◆ init()

void core::scoring::motif::MotifHashManager::init ( void  )
private

◆ motif_set_names()

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

References motif_set_names_.

◆ operator=()

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

Friends And Related Function Documentation

◆ preload_motif_data

void preload_motif_data ( MotifHashManager mman)
friend

Referenced by init().

◆ utility::SingletonBase< MotifHashManager >

friend class utility::SingletonBase< MotifHashManager >
friend

Member Data Documentation

◆ done_loading_

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

◆ key_mask_BB_BB_

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

Referenced by get_xform_score_BB_BB(), and init().

◆ motif_hash_BB_BB_

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_BB_
private

Referenced by get_motif_hash_BB_BB().

◆ motif_hash_BB_PH_

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_PH_
private

Referenced by get_motif_hash_BB_PH().

◆ motif_hash_BB_PO_

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_BB_PO_
private

Referenced by get_motif_hash_BB_PO().

◆ motif_hash_SC_BB_

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_SC_BB_
private

Referenced by get_motif_hash_SC_BB().

◆ motif_hash_SC_SC_

MotifHashOP core::scoring::motif::MotifHashManager::motif_hash_SC_SC_
private

Referenced by get_motif_hash_SC_SC().

◆ motif_set_names_

std::set<std::string> core::scoring::motif::MotifHashManager::motif_set_names_
private

◆ motifs_by_fname_

MotifHashStringMap core::scoring::motif::MotifHashManager::motifs_by_fname_
private

Referenced by get_motif_hash_by_fname().

◆ xform_score_BB_PH_

XformScoreOP core::scoring::motif::MotifHashManager::xform_score_BB_PH_
private

Referenced by get_xform_score_BB_PH(), and init().

◆ xform_score_BB_PO_

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

Referenced by get_xform_score_BB_PO(), and init().

◆ xform_score_frags_

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

Referenced by get_xform_score_frags(), and init().

◆ xform_score_PH_PO_

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

Referenced by get_xform_score_PH_PO(), and init().

◆ xform_scores_BB_BB_

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

Referenced by get_xform_score_BB_BB(), and init().

◆ xform_scores_SC_BB_

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

Referenced by get_xform_score_SC_BB(), and init().

◆ xform_scores_SC_SC_

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: