Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Friends | List of all members
protocols::fldsgn::topology::TripletID Struct Reference

#include <HSSTriplet.hh>

Public Member Functions

 TripletID (core::Size const helix_id, core::Size const strand1_id, core::Size const strand2_id)
 construct from numbers More...
 
 TripletID (HSSTriplet const &hss)
 construct from HSSTriplet More...
 
bool operator< (TripletID const &other) const
 comparison operator required to use this as a key to a std::map More...
 

Public Attributes

core::Size helix
 
core::Size strand1
 
core::Size strand2
 

Friends

std::ostream & operator<< (std::ostream &os, TripletID const &id)
 

Constructor & Destructor Documentation

protocols::fldsgn::topology::TripletID::TripletID ( core::Size const  helix_id,
core::Size const  strand1_id,
core::Size const  strand2_id 
)

construct from numbers

protocols::fldsgn::topology::TripletID::TripletID ( HSSTriplet const &  hss)

construct from HSSTriplet

Member Function Documentation

bool protocols::fldsgn::topology::TripletID::operator< ( TripletID const &  other) const

comparison operator required to use this as a key to a std::map

First compare helix, then strand1, then strand2

References helix, strand1, and strand2.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
TripletID const &  id 
)
friend

Member Data Documentation

core::Size protocols::fldsgn::topology::TripletID::helix

Referenced by operator<().

core::Size protocols::fldsgn::topology::TripletID::strand1

Referenced by operator<().

core::Size protocols::fldsgn::topology::TripletID::strand2

Referenced by operator<().


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