Rosetta Protocols  2014.35
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>

Public Member Functions

virtual std::string get_name () const
 Each derived selector must specify its name. More...
 
rosetta_scripts::PoseSelectorFlags get_flags () const
 Report selector flags. More...
 
virtual void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data, protocols::filters::Filters_map &filters, protocols::moves::Movers_map const &movers, core::pose::Pose const &pose)
 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)
 Select poses from provided vector by applying the selection criteria parsed from Tag. More...
 

Static Public Member Functions

static std::string name ()
 
- Static Public Member Functions inherited from protocols::rosetta_scripts::PoseSelector
static std::string name ()
 

Protected Member Functions

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

Private Attributes

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

Detailed Description

Logical boolean selector base class.

Constructor & Destructor Documentation

protocols::pose_selectors::LogicalSelector::LogicalSelector ( )
protected
protocols::pose_selectors::LogicalSelector::~LogicalSelector ( )
protectedvirtual

Member Function Documentation

virtual bool protocols::pose_selectors::LogicalSelector::get_default ( ) const
inlineprotectedvirtual
protocols::rosetta_scripts::PoseSelectorFlags protocols::pose_selectors::LogicalSelector::get_flags ( ) const
virtual
virtual std::string protocols::pose_selectors::LogicalSelector::get_name ( ) const
inlinevirtual

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

Referenced by get_name().

void protocols::pose_selectors::LogicalSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap data,
protocols::filters::Filters_map filters,
protocols::moves::Movers_map const &  movers,
core::pose::Pose const &  pose 
)
virtual

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

Reimplemented from protocols::rosetta_scripts::PoseSelector.

References protocols::rosetta_scripts::PoseSelectorFactory::get_instance(), runtime_assert, selectors_, and protocols::TR.

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

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: