Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
core::fragment::picking_old::vall::scores::VallFragmentScore Struct Reference

the base Vall FragmentScore struct More...

#include <VallFragmentScore.hh>

Public Types

typedef core::Real Real
 
typedef
VallSection::PageConstIterator 
PageConstIterator
 typedef for Bookmark concept More...
 
typedef PageConstIterator VallResidueConstIterator
 

Public Member Functions

 VallFragmentScore ()
 default constructor More...
 
 VallFragmentScore (VallFragmentScore const &rval)
 copy constructor More...
 
virtual ~VallFragmentScore ()
 default destructor More...
 
VallFragmentScoreoperator= (VallFragmentScore const &rval)
 copy assignment More...
 
bool operator< (VallFragmentScore const &rval) const
 '<' comparison More...
 
virtual std::string to_string () const
 return string describing contents or status More...
 
Size distance () const
 compute distance (effectively the length of the extent) from begin -> end More...
 

Public Attributes

VallResidueConstIterator extent_begin
 points to the beginning of the fragment More...
 
VallResidueConstIterator extent_end
 points just beyond the end of the fragment More...
 
Real score
 the cumulative score More...
 

Friends

std::ostream & operator<< (std::ostream &o, VallFragmentScore const &s)
 friend declaration for stream operator << using virtual friend idiom More...
 

Detailed Description

the base Vall FragmentScore struct

Member Typedef Documentation

typedef for Bookmark concept

Constructor & Destructor Documentation

core::fragment::picking_old::vall::scores::VallFragmentScore::VallFragmentScore ( )
inline

default constructor

core::fragment::picking_old::vall::scores::VallFragmentScore::VallFragmentScore ( VallFragmentScore const &  rval)
inline

copy constructor

virtual core::fragment::picking_old::vall::scores::VallFragmentScore::~VallFragmentScore ( )
inlinevirtual

default destructor

Member Function Documentation

Size core::fragment::picking_old::vall::scores::VallFragmentScore::distance ( ) const
inline

compute distance (effectively the length of the extent) from begin -> end

References core::kinematics::distance(), extent_begin, and extent_end.

bool core::fragment::picking_old::vall::scores::VallFragmentScore::operator< ( VallFragmentScore const &  rval) const
inline

'<' comparison

References score.

VallFragmentScore& core::fragment::picking_old::vall::scores::VallFragmentScore::operator= ( VallFragmentScore const &  rval)
inline

copy assignment

References extent_begin, extent_end, and score.

virtual std::string core::fragment::picking_old::vall::scores::VallFragmentScore::to_string ( ) const
inlinevirtual

return string describing contents or status

Remarks
overriding this will automatically give useable stream output due to friend operator << in base class

References score.

Referenced by core::fragment::picking_old::vall::scores::operator<<().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
VallFragmentScore const &  s 
)
friend

friend declaration for stream operator << using virtual friend idiom

Remarks
uses virtual friend idiom, calls to_string()

Member Data Documentation

VallResidueConstIterator core::fragment::picking_old::vall::scores::VallFragmentScore::extent_begin

points to the beginning of the fragment

Referenced by distance(), core::fragment::picking_old::vall::eval::VallFragmentEval::operator()(), and operator=().

VallResidueConstIterator core::fragment::picking_old::vall::scores::VallFragmentScore::extent_end

points just beyond the end of the fragment

Referenced by distance(), core::fragment::picking_old::vall::eval::VallFragmentEval::operator()(), and operator=().

Real core::fragment::picking_old::vall::scores::VallFragmentScore::score

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