Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
protocols::pose_selectors::LogicalSelector Class Reference

Logical boolean selector base class. More...

#include <BasicPoseSelectors.hh>

Inheritance diagram for protocols::pose_selectors::LogicalSelector:
Inheritance graph
[legend]

Public Member Functions

std::string get_name () const override
 Each derived selector must specify its name. More...
 
rosetta_scripts::PoseSelectorFlags get_flags () const override
 Report selector flags. More...
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data) override
 Called by PoseSelectorFactory when constructing new PoseSelectors. Takes care of the specific selector's parsing. More...
 
utility::vector1< boolselect_poses (utility::vector1< core::pose::PoseOP > poses) override
 Select poses from provided vector by applying the selection criteria parsed from Tag. More...
 

Static Public Member Functions

static std::string name ()
 
static
utility::tag::XMLSchemaComplexTypeGeneratorOP 
complex_type_generator_for_logical_selector (utility::tag::XMLSchemaDefinition &)
 
- Static Public Member Functions inherited from protocols::rosetta_scripts::PoseSelector
static std::string name ()
 

Protected Member Functions

 LogicalSelector ()
 
 ~LogicalSelector () override
 
 LogicalSelector (LogicalSelector const &)=default
 
virtual bool selection_operation (bool, bool) const
 
virtual bool get_default () const
 
- Protected Member Functions inherited from protocols::rosetta_scripts::PoseSelector
 PoseSelector ()
 
 ~PoseSelector () override
 

Private Attributes

std::vector
< protocols::rosetta_scripts::PoseSelectorOP
selectors_
 

Detailed Description

Logical boolean selector base class.

Constructor & Destructor Documentation

protocols::pose_selectors::LogicalSelector::LogicalSelector ( )
protecteddefault
protocols::pose_selectors::LogicalSelector::~LogicalSelector ( )
overrideprotecteddefault
protocols::pose_selectors::LogicalSelector::LogicalSelector ( LogicalSelector const &  )
protecteddefault

Member Function Documentation

utility::tag::XMLSchemaComplexTypeGeneratorOP protocols::pose_selectors::LogicalSelector::complex_type_generator_for_logical_selector ( utility::tag::XMLSchemaDefinition &  xsd)
static
virtual bool protocols::pose_selectors::LogicalSelector::get_default ( ) const
inlineprotectedvirtual
protocols::rosetta_scripts::PoseSelectorFlags protocols::pose_selectors::LogicalSelector::get_flags ( ) const
overridevirtual
std::string protocols::pose_selectors::LogicalSelector::get_name ( ) const
inlineoverridevirtual

Each derived selector must specify its name.

Implements protocols::rosetta_scripts::PoseSelector.

Reimplemented in protocols::pose_selectors::OrSelector, and protocols::pose_selectors::AndSelector.

References name().

Referenced by select_poses().

static std::string protocols::pose_selectors::LogicalSelector::name ( )
inlinestatic
void protocols::pose_selectors::LogicalSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &  data 
)
overridevirtual

Called by PoseSelectorFactory when constructing new PoseSelectors. Takes care of the specific selector's parsing.

Reimplemented from protocols::rosetta_scripts::PoseSelector.

References selectors_, and protocols::TR().

utility::vector1< bool > protocols::pose_selectors::LogicalSelector::select_poses ( utility::vector1< core::pose::PoseOP poses)
overridevirtual

Select poses from provided vector by applying the selection criteria parsed from Tag.

Implements protocols::rosetta_scripts::PoseSelector.

References get_default(), get_name(), selection_operation(), selectors_, and protocols::TR().

virtual bool protocols::pose_selectors::LogicalSelector::selection_operation ( bool  ,
bool   
) const
inlineprotectedvirtual

Member Data Documentation

std::vector< protocols::rosetta_scripts::PoseSelectorOP > protocols::pose_selectors::LogicalSelector::selectors_
private

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