![]() |
Rosetta
2021.16
|
#include <SingleResidueRotamerLibraryFactory.hh>

Public Member Functions | |
| void | factory_register (SingleResidueRotamerLibraryCreatorOP creator) |
| bool | has_type (std::string const &) const |
| std::string | type_for_residuetype (core::chemical::ResidueType const &restype) const |
| core::pack::rotamers::SingleResidueRotamerLibraryCOP | get (core::chemical::ResidueType const &, bool const forcebasic=false) const |
| Get the SingleResidueRotamerLibrary coresponding to the given ResidueType. If forcebasic is true, a SingleBasicRotamerLibrary will be returned instead of a null pointer. More... | |
| core::pack::rotamers::SingleResidueRotamerLibraryCOP | get (core::chemical::ResidueType const &, core::conformation::Residue const &) const |
| Get the SingleResidueRotamerLibrary coresponding to the given ResidueType. More... | |
Private Types | |
| typedef std::map< std::string, SingleResidueRotamerLibraryCreatorOP > | CreatorMap |
Private Member Functions | |
| std::string | get_cachetag (core::chemical::ResidueType const &restype) const |
| SingleResidueRotamerLibraryFactory () | |
| SingleResidueRotamerLibraryFactory (SingleResidueRotamerLibraryFactory const &) | |
| SingleResidueRotamerLibraryFactory const & | operator= (SingleResidueRotamerLibraryFactory const &) |
Private Attributes | |
| CreatorMap | creator_map_ |
| std::map< std::pair < std::string, std::string > , core::pack::rotamers::SingleResidueRotamerLibraryCOP > | cache_ |
Friends | |
| class | utility::SingletonBase< SingleResidueRotamerLibraryFactory > |
|
private |
|
private |
|
private |
| void core::pack::rotamers::SingleResidueRotamerLibraryFactory::factory_register | ( | SingleResidueRotamerLibraryCreatorOP | creator | ) |
References creator_map_.
| core::pack::rotamers::SingleResidueRotamerLibraryCOP core::pack::rotamers::SingleResidueRotamerLibraryFactory::get | ( | core::chemical::ResidueType const & | restype, |
| bool const | forcebasic = false |
||
| ) | const |
Get the SingleResidueRotamerLibrary coresponding to the given ResidueType. If forcebasic is true, a SingleBasicRotamerLibrary will be returned instead of a null pointer.
If a cachetag exists for the ResidueType, store the information in the cache. If not, always regenerate the RotamerLibrary
References cache_, creator_map_, get_cachetag(), and type_for_residuetype().
Referenced by core::pack::dunbrack::cenrot::CenRotDunEnergy::eval_dof_derivative(), core::pack::dunbrack::cenrot::CenRotDunEnergy::eval_residue_derivatives(), core::pack::dunbrack::cenrot::CenRotDunEnergy::eval_residue_dof_derivative(), protocols::match::downstream::LigandConformerBuilder::initialize_conformers(), protocols::match::Matcher::initialize_from_file(), core::pack::dunbrack::cenrot::CenRotDunEnergy::residue_energy(), protocols::match::upstream::DunbrackSCSampler::samples(), and protocols::match::set_ligpose_rotamer().
| core::pack::rotamers::SingleResidueRotamerLibraryCOP core::pack::rotamers::SingleResidueRotamerLibraryFactory::get | ( | core::chemical::ResidueType const & | restype, |
| core::conformation::Residue const & | residue | ||
| ) | const |
Get the SingleResidueRotamerLibrary coresponding to the given ResidueType.
References creator_map_, get_cachetag(), and type_for_residuetype().
|
private |
References core::chemical::ResidueTypeBase::rotamer_library_specification().
Referenced by get().
| bool core::pack::rotamers::SingleResidueRotamerLibraryFactory::has_type | ( | std::string const & | selector_type | ) | const |
References creator_map_.
Referenced by type_for_residuetype().
|
private |
| std::string core::pack::rotamers::SingleResidueRotamerLibraryFactory::type_for_residuetype | ( | core::chemical::ResidueType const & | restype | ) | const |
Will also check to make sure that the Creator is in the map and appropriately registered.
References creator_map_, has_type(), core::chemical::ResidueTypeBase::name(), core::chemical::ResidueTypeBase::rotamer_library_specification(), and core::pack::rotamers::TR().
Referenced by get().
|
friend |
|
mutableprivate |
Referenced by get().
|
private |
Referenced by factory_register(), get(), has_type(), and type_for_residuetype().
1.8.7