Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
protocols::forge::build::Interval Struct Reference

simple struct defining a closed interval of residues [left, right] where left <= right More...

#include <Interval.hh>

Public Types

typedef core::Size Size
 

Public Member Functions

 Interval ()
 default constructor More...
 
 Interval (core::Size const l, core::Size const r)
 value constructor More...
 
 Interval (Interval const &rval)
 copy constructor More...
 
 ~Interval ()
 default destructor More...
 
Intervaloperator= (Interval const &rval)
 copy assignment More...
 
bool operator< (Interval const &rval) const
 operator <, lexicographic ordering More...
 
bool operator== (Interval const &rval) const
 operator == More...
 
core::Size length () const
 length of the interval More...
 
bool intersects (Interval const &rval) const
 do the two intervals intersect? More...
 
bool contains (core::Size const point) const
 is a point contained in this interval? More...
 

Public Attributes

core::Size left
 left endpoint More...
 
core::Size right
 right endpoint More...
 

Detailed Description

simple struct defining a closed interval of residues [left, right] where left <= right

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::forge::build::Interval::Interval ( )
inline

default constructor

protocols::forge::build::Interval::Interval ( core::Size const  l,
core::Size const  r 
)
inline

value constructor

References left, and right.

protocols::forge::build::Interval::Interval ( Interval const &  rval)
inline

copy constructor

protocols::forge::build::Interval::~Interval ( )
inline

default destructor

Member Function Documentation

bool protocols::forge::build::Interval::contains ( core::Size const  point) const
inline

is a point contained in this interval?

References left, and right.

bool protocols::forge::build::Interval::intersects ( Interval const &  rval) const
inline

do the two intervals intersect?

References left, and right.

core::Size protocols::forge::build::Interval::length ( ) const
inline
bool protocols::forge::build::Interval::operator< ( Interval const &  rval) const
inline

operator <, lexicographic ordering

References left, and right.

Interval& protocols::forge::build::Interval::operator= ( Interval const &  rval)
inline

copy assignment

References left, and right.

bool protocols::forge::build::Interval::operator== ( Interval const &  rval) const
inline

operator ==

References left, and right.

Member Data Documentation

core::Size protocols::forge::build::Interval::left

left endpoint

Referenced by protocols::forge::components::VarLengthBuild::centroid_build(), contains(), protocols::forge::build::SegmentInsert::insertion_end_residue(), protocols::forge::build::SegmentInsert::insertion_start_residue(), intersects(), Interval(), protocols::forge::methods::interval_to_loop(), length(), protocols::forge::build::BuildManager::modified2original_interval_endpoints(), protocols::forge::build::SegmentSwap::modify_impl(), protocols::forge::build::Bridge::modify_impl(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::forge::build::SegmentInsert::modify_impl(), protocols::forge::build::Bridge::movemap(), protocols::forge::build::SegmentRebuild::movemap(), protocols::forge::build::SegmentInsert::movemap(), protocols::forge::build::SegmentSwap::new_positions(), protocols::forge::build::Bridge::new_positions(), protocols::forge::build::GrowLeft::new_positions(), protocols::forge::build::GrowRight::new_positions(), protocols::forge::build::SegmentRebuild::new_positions(), protocols::forge::build::ConnectRight::new_positions(), protocols::forge::build::SegmentInsert::new_positions(), protocols::forge::build::SegmentSwap::on_residue_append(), protocols::forge::build::Bridge::on_residue_append(), protocols::forge::build::SegmentRebuild::on_residue_append(), protocols::forge::build::ConnectRight::on_residue_append(), protocols::forge::build::SegmentInsert::on_residue_append(), protocols::forge::build::SegmentSwap::on_residue_delete(), protocols::forge::build::Bridge::on_residue_delete(), protocols::forge::build::SegmentRebuild::on_residue_delete(), protocols::forge::build::ConnectRight::on_residue_delete(), protocols::forge::build::SegmentInsert::on_residue_delete(), protocols::forge::build::SegmentSwap::on_residue_prepend(), protocols::forge::build::Bridge::on_residue_prepend(), protocols::forge::build::SegmentRebuild::on_residue_prepend(), protocols::forge::build::ConnectRight::on_residue_prepend(), protocols::forge::build::SegmentInsert::on_residue_prepend(), operator<(), operator=(), operator==(), protocols::forge::build::BuildManager::original2modified_interval_endpoints(), protocols::forge::build::SegmentInsert::performing_pure_insertion(), protocols::forge::components::VarLengthBuild::pick_fragments(), protocols::forge::build::BuildManager::positions(), protocols::forge::build::Bridge::preexisting_positions(), protocols::forge::components::BDR::process_continuous_design_string(), protocols::forge::remodel::RemodelMover::process_continuous_design_string(), protocols::forge::components::BDR::process_insert_design_string(), protocols::forge::remodel::RemodelMover::process_insert_design_string(), protocols::forge::build::GrowRight::reset_accounting_impl(), protocols::forge::build::ConnectRight::reset_accounting_impl(), protocols::forge::build::SegmentInsert::undefined_positions(), and protocols::forge::build::BuildManager::union_of_intervals_containing_undefined_positions().

core::Size protocols::forge::build::Interval::right

right endpoint

Referenced by protocols::forge::components::VarLengthBuild::centroid_build(), contains(), intersects(), Interval(), protocols::forge::methods::interval_to_loop(), length(), protocols::forge::build::BuildManager::modified2original_interval_endpoints(), protocols::forge::build::SegmentSwap::modify_impl(), protocols::forge::build::Bridge::modify_impl(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::forge::build::SegmentInsert::modify_impl(), protocols::forge::build::Bridge::movemap(), protocols::forge::build::SegmentRebuild::movemap(), protocols::forge::build::SegmentInsert::movemap(), protocols::forge::build::SegmentSwap::new_positions(), protocols::forge::build::Bridge::new_positions(), protocols::forge::build::GrowLeft::new_positions(), protocols::forge::build::GrowRight::new_positions(), protocols::forge::build::SegmentRebuild::new_positions(), protocols::forge::build::ConnectRight::new_positions(), protocols::forge::build::SegmentInsert::new_positions(), protocols::forge::build::SegmentSwap::on_residue_append(), protocols::forge::build::Bridge::on_residue_append(), protocols::forge::build::SegmentRebuild::on_residue_append(), protocols::forge::build::ConnectRight::on_residue_append(), protocols::forge::build::SegmentInsert::on_residue_append(), protocols::forge::build::SegmentSwap::on_residue_delete(), protocols::forge::build::Bridge::on_residue_delete(), protocols::forge::build::SegmentRebuild::on_residue_delete(), protocols::forge::build::ConnectRight::on_residue_delete(), protocols::forge::build::SegmentInsert::on_residue_delete(), protocols::forge::build::SegmentSwap::on_residue_prepend(), protocols::forge::build::Bridge::on_residue_prepend(), protocols::forge::build::SegmentRebuild::on_residue_prepend(), protocols::forge::build::ConnectRight::on_residue_prepend(), protocols::forge::build::SegmentInsert::on_residue_prepend(), operator<(), operator=(), operator==(), protocols::forge::build::BuildManager::original2modified_interval_endpoints(), protocols::forge::build::BuildManager::positions(), protocols::forge::build::Bridge::preexisting_positions(), protocols::forge::components::BDR::process_insert_design_string(), protocols::forge::remodel::RemodelMover::process_insert_design_string(), protocols::forge::build::GrowLeft::reset_accounting_impl(), protocols::forge::build::SegmentInsert::undefined_positions(), and protocols::forge::build::BuildManager::union_of_intervals_containing_undefined_positions().


The documentation for this struct was generated from the following file: