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

#include <HBondTypeManager.hh>

Static Public Member Functions

static HBondWeightType weight_type_from_name (std::string const &name)
 Bond Weight Type. More...
 
static std::string name_from_weight_type (HBondWeightType score_type)
 
static bool is_weight_type (std::string const &name)
 
static HBDerivType deriv_type_from_name (std::string const &name)
 Derivative Type. More...
 
static std::string name_from_deriv_type (HBDerivType score_type)
 
static bool is_deriv_type (std::string const &name)
 
static HBDonChemType don_chem_type_from_name (std::string const &name)
 Donor Chemical Type. More...
 
static std::string name_from_don_chem_type (HBDonChemType score_type)
 
static bool is_don_chem_type (std::string const &name)
 
static HBAccChemType acc_chem_type_from_name (std::string const &name)
 Acceptor Chemical Type. More...
 
static std::string name_from_acc_chem_type (HBAccChemType score_type)
 
static bool is_acc_chem_type (std::string const &name)
 
static HBSeqSep seq_sep_type_from_name (std::string const &name)
 Sequence Separation Type. More...
 
static std::string name_from_seq_sep_type (HBSeqSep score_type)
 
static bool is_seq_sep_type (std::string const &name)
 
static chemical::Hybridization hybridization_type_from_name (std::string const &name)
 given a chemical::Hybridization string name return its enum type In the perfect world this would live in the chemical/ChemicalTypeManager.hh, but the chemical types are currently not managed! More...
 
static std::string name_from_hybridization_type (chemical::Hybridization)
 
static bool is_hybridization_type (std::string const &name)
 
static HBGeoDimType geo_dim_type_from_name (std::string const &name)
 Geometric Dimension Type. More...
 
static std::string name_from_geo_dim_type (HBGeoDimType score_type)
 
static bool is_geo_dim_type (std::string const &name)
 

Static Private Member Functions

static void setup_type_names ()
 initialize the ScoreType name vector and map More...
 

Static Private Attributes

static bool initialized_
 
static std::map< std::string,
HBondWeightType
name2weight_type_
 lookup map from string name to enum type More...
 
static utility::vector1
< std::string > 
weight_type2name_
 
static std::map< std::string,
HBDerivType
name2deriv_type_
 
static utility::vector1
< std::string > 
deriv_type2name_
 
static std::map< std::string,
HBDonChemType
name2don_chem_type_
 
static utility::vector1
< std::string > 
don_chem_type2name_
 
static std::map< std::string,
HBAccChemType
name2acc_chem_type_
 
static utility::vector1
< std::string > 
acc_chem_type2name_
 
static std::map< std::string,
HBSeqSep
name2seq_sep_type_
 
static utility::vector1
< std::string > 
seq_sep_type2name_
 
static std::map< std::string,
chemical::Hybridization
name2hybridization_type_
 
static utility::vector1
< std::string > 
hybridization_type2name_
 
static std::map< std::string,
HBGeoDimType
name2geo_dim_type_
 
static utility::vector1
< std::string > 
geo_dim_type2name_
 

Member Function Documentation

HBAccChemType core::scoring::hbonds::HBondTypeManager::acc_chem_type_from_name ( std::string const &  name)
static

Acceptor Chemical Type.

give a HBAccChemType string name and return its enum type

Referenced by core::scoring::hbonds::HBondDatabase::initialize_acc_strength(), and core::scoring::hbonds::HBondDatabase::initialize_HBEval().

HBDerivType core::scoring::hbonds::HBondTypeManager::deriv_type_from_name ( std::string const &  name)
static

Derivative Type.

give a HBDerivType string name and return its enum type

HBDonChemType core::scoring::hbonds::HBondTypeManager::don_chem_type_from_name ( std::string const &  name)
static

Donor Chemical Type.

give a HBDonChemType string name and return its enum type

Referenced by core::scoring::hbonds::HBondDatabase::initialize_don_strength(), and core::scoring::hbonds::HBondDatabase::initialize_HBEval().

HBGeoDimType core::scoring::hbonds::HBondTypeManager::geo_dim_type_from_name ( std::string const &  name)
static

Geometric Dimension Type.

give a HBGeoDimType string name and return its enum type

Referenced by core::scoring::hbonds::HBondDatabase::initialize_HBPoly1D().

chemical::Hybridization core::scoring::hbonds::HBondTypeManager::hybridization_type_from_name ( std::string const &  name)
static

given a chemical::Hybridization string name return its enum type In the perfect world this would live in the chemical/ChemicalTypeManager.hh, but the chemical types are currently not managed!

bool core::scoring::hbonds::HBondTypeManager::is_acc_chem_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_deriv_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_don_chem_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_geo_dim_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_hybridization_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_seq_sep_type ( std::string const &  name)
static
bool core::scoring::hbonds::HBondTypeManager::is_weight_type ( std::string const &  name)
static
string core::scoring::hbonds::HBondTypeManager::name_from_acc_chem_type ( HBAccChemType  score_type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_deriv_type ( HBDerivType  score_type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_don_chem_type ( HBDonChemType  score_type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_geo_dim_type ( HBGeoDimType  score_type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_hybridization_type ( chemical::Hybridization  type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_seq_sep_type ( HBSeqSep  score_type)
static
string core::scoring::hbonds::HBondTypeManager::name_from_weight_type ( HBondWeightType  score_type)
static
HBSeqSep core::scoring::hbonds::HBondTypeManager::seq_sep_type_from_name ( std::string const &  name)
static

Sequence Separation Type.

give a HBSeqSep string name and return its enum type

Referenced by core::scoring::hbonds::HBondDatabase::initialize_HBEval().

void core::scoring::hbonds::HBondTypeManager::setup_type_names ( )
staticprivate

initialize the ScoreType name vector and map

initialize all the SCORETYPE string name into the vector then set up the look-up map from string name to enum type

References core::scoring::hbonds::hbacc_AHX, core::scoring::hbonds::hbacc_CXA, core::scoring::hbonds::hbacc_CXL, core::scoring::hbonds::hbacc_GENERIC_RINGBB, core::scoring::hbonds::hbacc_GENERIC_RINGSC, core::scoring::hbonds::hbacc_GENERIC_SP2BB, core::scoring::hbonds::hbacc_GENERIC_SP2SC, core::scoring::hbonds::hbacc_GENERIC_SP3BB, core::scoring::hbonds::hbacc_GENERIC_SP3SC, core::scoring::hbonds::hbacc_H2O, core::scoring::hbonds::hbacc_HXL, core::scoring::hbonds::hbacc_IMD, core::scoring::hbonds::hbacc_IME, core::scoring::hbonds::hbacc_MAX, core::scoring::hbonds::hbacc_NONE, core::scoring::hbonds::hbacc_PBA, core::scoring::hbonds::hbacc_PCA_DNA, core::scoring::hbonds::hbacc_PCA_RNA, core::scoring::hbonds::hbacc_PES_DNA, core::scoring::hbonds::hbacc_PES_RNA, core::scoring::hbonds::hbacc_RRI_DNA, core::scoring::hbonds::hbacc_RRI_RNA, core::scoring::hbonds::hbderiv_ABE_GO, core::scoring::hbonds::hbderiv_ABE_GO_GEOMSOL_OCC_ACC, core::scoring::hbonds::hbderiv_ABE_GO_GEOMSOL_OCC_DON, core::scoring::hbonds::hbderiv_MAX, core::scoring::hbonds::hbderiv_NONE, core::scoring::hbonds::hbdon_AHX, core::scoring::hbonds::hbdon_AMO, core::scoring::hbonds::hbdon_CXA, core::scoring::hbonds::hbdon_GDE, core::scoring::hbonds::hbdon_GDH, core::scoring::hbonds::hbdon_GENERIC_BB, core::scoring::hbonds::hbdon_GENERIC_SC, core::scoring::hbonds::hbdon_H2O, core::scoring::hbonds::hbdon_HXL, core::scoring::hbonds::hbdon_IMD, core::scoring::hbonds::hbdon_IME, core::scoring::hbonds::hbdon_IND, core::scoring::hbonds::hbdon_MAX, core::scoring::hbonds::hbdon_NONE, core::scoring::hbonds::hbdon_PBA, core::scoring::hbonds::hbgd_AHD, core::scoring::hbonds::hbgd_AHdist, core::scoring::hbonds::hbgd_chi, core::scoring::hbonds::hbgd_cosAHD, core::scoring::hbonds::hbgd_cosBAH, core::scoring::hbonds::hbgd_MAX, core::scoring::hbonds::hbgd_NONE, core::scoring::hbonds::hbw_LR_BB, core::scoring::hbonds::hbw_LR_BB_SC, core::scoring::hbonds::hbw_MAX, core::scoring::hbonds::hbw_NONE, core::scoring::hbonds::hbw_SC, core::scoring::hbonds::hbw_SR_BB, core::scoring::hbonds::hbw_SR_BB_SC, core::chemical::HYBRID_MAX, core::chemical::RING_HYBRID, core::scoring::hbonds::seq_sep_M2, core::scoring::hbonds::seq_sep_M3, core::scoring::hbonds::seq_sep_M4, core::scoring::hbonds::seq_sep_MAX, core::scoring::hbonds::seq_sep_other, core::scoring::hbonds::seq_sep_P2, core::scoring::hbonds::seq_sep_P3, core::scoring::hbonds::seq_sep_P4, core::scoring::hbonds::seq_sep_PM1, core::chemical::SP2_HYBRID, core::chemical::SP3_HYBRID, and core::chemical::UNKNOWN_HYBRID.

HBondWeightType core::scoring::hbonds::HBondTypeManager::weight_type_from_name ( std::string const &  name)
static

Bond Weight Type.

give a HBondWeightType string name and return its enum type

Referenced by core::scoring::hbonds::HBondDatabase::initialize_HBEval().

Member Data Documentation

vector1< string > core::scoring::hbonds::HBondTypeManager::acc_chem_type2name_
staticprivate
vector1< string > core::scoring::hbonds::HBondTypeManager::deriv_type2name_
staticprivate
vector1< string > core::scoring::hbonds::HBondTypeManager::don_chem_type2name_
staticprivate
vector1< string > core::scoring::hbonds::HBondTypeManager::geo_dim_type2name_
staticprivate
vector1< string > core::scoring::hbonds::HBondTypeManager::hybridization_type2name_
staticprivate
bool core::scoring::hbonds::HBondTypeManager::initialized_
staticprivate
map< string, HBAccChemType > core::scoring::hbonds::HBondTypeManager::name2acc_chem_type_
staticprivate
map< string, HBDerivType > core::scoring::hbonds::HBondTypeManager::name2deriv_type_
staticprivate
map< string, HBDonChemType > core::scoring::hbonds::HBondTypeManager::name2don_chem_type_
staticprivate
map< string, HBGeoDimType > core::scoring::hbonds::HBondTypeManager::name2geo_dim_type_
staticprivate
map< string, Hybridization > core::scoring::hbonds::HBondTypeManager::name2hybridization_type_
staticprivate
map< string, HBSeqSep > core::scoring::hbonds::HBondTypeManager::name2seq_sep_type_
staticprivate
map< string, HBondWeightType > core::scoring::hbonds::HBondTypeManager::name2weight_type_
staticprivate

lookup map from string name to enum type

vector1< string > core::scoring::hbonds::HBondTypeManager::seq_sep_type2name_
staticprivate
vector1< string > core::scoring::hbonds::HBondTypeManager::weight_type2name_
staticprivate

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