elec¶
Bindings for core::scoring::elec namespace
-
class
pyrosetta.rosetta.core.scoring.elec.
CountPairRepMap
¶ Bases:
pybind11_builtins.pybind11_object
A class to encapsulate the raw-pointer-based data caching
-
get_map
(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, restype: pyrosetta.rosetta.core.chemical.ResidueType) → pyrosetta.rosetta.std.map_unsigned_long_unsigned_long¶ C++: core::scoring::elec::CountPairRepMap::get_map(const class core::chemical::ResidueType &) –> const class std::map<unsigned long, unsigned long, struct std::less<unsigned long>, class std::allocator<struct std::pair<const unsigned long, unsigned long> > > &
-
has
(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, restype: pyrosetta.rosetta.core.chemical.ResidueType) → bool¶ C++: core::scoring::elec::CountPairRepMap::has(const class core::chemical::ResidueType &) const –> bool
-
restype_destruction_observer
(self: pyrosetta.rosetta.core.scoring.elec.CountPairRepMap, event: pyrosetta.rosetta.core.chemical.RestypeDestructionEvent) → None¶ C++: core::scoring::elec::CountPairRepMap::restype_destruction_observer(const struct core::chemical::RestypeDestructionEvent &) –> void
-
-
pyrosetta.rosetta.core.scoring.elec.
read_cp_tables_from_db
(filename: str) → pyrosetta.rosetta.std.map_std_string_std_map_std_string_std_string_std_less_std_string_std_allocator_std_pair_const_std_string_std_string_t¶ - Read the CP tables from the database and return an owning pointer to the
new object created in memory.
Called by the ScoringManager to allow these data to be read in once and only once.
C++: core::scoring::elec::read_cp_tables_from_db(const class std::basic_string<char> &) –> class std::shared_ptr<class std::map<std::string, class std::map<std::string, std::string, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, std::string > > >, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, class std::map<std::string, std::string, struct std::less<std::string >, class std::allocator<struct std::pair<const std::string, std::string > > > > > > >