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

A base class for defining a ResidueSelector by a single criterion. More...

#include <ResidueSelector.hh>

Inheritance diagram for core::chemical::ResidueSelectorSingle:
Inheritance graph
[legend]
Collaboration diagram for core::chemical::ResidueSelectorSingle:
Collaboration graph
[legend]

Public Member Functions

virtual ~ResidueSelectorSingle ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
 ResidueSelectorSingle (bool const result)
 constructor More...
 
bool desired_result () const
 select positively or negatively More...
 
virtual bool operator[] (ResidueType const &rsd) const =0
 

Private Attributes

bool desired_result_
 

Detailed Description

A base class for defining a ResidueSelector by a single criterion.

The ResidueSelector is an object the picks out a subset of ResidueTypes, via a bool operator[](ResidueType const &) method. It is implemented as a logical AND of individual constraints, each of which typically has an OR structure. So eg the lines

PROPERTY PROTEIN AA PRO GLY NAME3 HPR NOT VARIANT_TYPE PHOSPHO TERMINUS

would define a selector that matched residues with property PROTEIN, with aa types pro or gly, with a three-letter code of HPR and not of variant type PHOSPHO or TERMINUS

The individual constraints that make up the ResidueSelector object are subclasses of ResidueSelectorSingle; ResidueSelector has a vector1 of ResidueSelectorSingleOP's

Constructor & Destructor Documentation

core::chemical::ResidueSelectorSingle::~ResidueSelectorSingle ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

Auto-generated virtual destructor

core::chemical::ResidueSelectorSingle::ResidueSelectorSingle ( bool const  result)
inline

constructor

Member Function Documentation

bool core::chemical::ResidueSelectorSingle::desired_result ( ) const
inline
virtual bool core::chemical::ResidueSelectorSingle::operator[] ( ResidueType const &  rsd) const
pure virtual

Member Data Documentation

bool core::chemical::ResidueSelectorSingle::desired_result_
private

Referenced by desired_result().


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