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

A (Pose-cacheable) container for ResidueTypeSets. More...

#include <CacheableResidueTypeSets.hh>

Inheritance diagram for core::chemical::CacheableResidueTypeSets:
Inheritance graph
[legend]

Public Member Functions

 CacheableResidueTypeSets ()
 
 CacheableResidueTypeSets (CacheableResidueTypeSets const &src)
 
CacheableResidueTypeSetsoperator= (CacheableResidueTypeSets const &src)
 
 ~CacheableResidueTypeSets () override
 
basic::datacache::CacheableDataOP clone () const override
 
void clear ()
 
bool has_res_type_set (TypeSetMode mode) const
 Do we have a 'mode' ResidueTypeSet already instantiated? More...
 
PoseResidueTypeSetCOP get_res_type_set (TypeSetMode mode=FULL_ATOM_t) const
 Return a ResidueTypeSet of the appropriate type, If one doesn't already exist, return a null pointer. More...
 
PoseResidueTypeSetOP get_res_type_set (TypeSetMode mode=FULL_ATOM_t)
 Return a ResidueTypeSet of the appropriate type, non-const version If one doesn't already exist, return a null pointer. More...
 
void set_res_type_set (PoseResidueTypeSetOP rts, TypeSetMode mode=INVALID_t)
 Replace the current ResidueTypeSet of the given mode with the given RTS. If mode is INVALID_t (the recommended default) the mode will be autodetermined from the rts. More...
 

Private Attributes

utility::vector1
< PoseResidueTypeSetOP
res_type_sets_
 

Detailed Description

A (Pose-cacheable) container for ResidueTypeSets.

Constructor & Destructor Documentation

core::chemical::CacheableResidueTypeSets::CacheableResidueTypeSets ( )
core::chemical::CacheableResidueTypeSets::CacheableResidueTypeSets ( CacheableResidueTypeSets const &  src)
core::chemical::CacheableResidueTypeSets::~CacheableResidueTypeSets ( )
overridedefault

Member Function Documentation

void core::chemical::CacheableResidueTypeSets::clear ( )
basic::datacache::CacheableDataOP core::chemical::CacheableResidueTypeSets::clone ( ) const
override
PoseResidueTypeSetCOP core::chemical::CacheableResidueTypeSets::get_res_type_set ( TypeSetMode  mode = FULL_ATOM_t) const
PoseResidueTypeSetOP core::chemical::CacheableResidueTypeSets::get_res_type_set ( TypeSetMode  mode = FULL_ATOM_t)

Return a ResidueTypeSet of the appropriate type, non-const version If one doesn't already exist, return a null pointer.

Return a ResidueTypeSet of the appropriate type, If one doesn't already exist, return a null pointer.

References res_type_sets_, and core::chemical::TYPE_SET_MODES_LENGTH.

bool core::chemical::CacheableResidueTypeSets::has_res_type_set ( TypeSetMode  mode) const

Do we have a 'mode' ResidueTypeSet already instantiated?

References res_type_sets_, and core::chemical::TYPE_SET_MODES_LENGTH.

CacheableResidueTypeSets & core::chemical::CacheableResidueTypeSets::operator= ( CacheableResidueTypeSets const &  src)
default
void core::chemical::CacheableResidueTypeSets::set_res_type_set ( PoseResidueTypeSetOP  rts,
TypeSetMode  mode = INVALID_t 
)

Replace the current ResidueTypeSet of the given mode with the given RTS. If mode is INVALID_t (the recommended default) the mode will be autodetermined from the rts.

Replace the current ResidueTypeSet of the appropriate type with the given RTS.

References core::chemical::INVALID_t, res_type_sets_, and core::chemical::TYPE_SET_MODES_LENGTH.

Referenced by core::conformation::Conformation::reset_residue_type_set_for_conf().

Member Data Documentation

utility::vector1< PoseResidueTypeSetOP > core::chemical::CacheableResidueTypeSets::res_type_sets_
private

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