19 #ifndef OST_RESIDUE_PROP_HH
20 #define OST_RESIDUE_PROP_HH
22 #include <boost/operators.hpp>
26 namespace ost {
namespace mol {
30 boost::additive<ResNum, int,
31 boost::additive<ResNum,
32 boost::totally_ordered<ResNum,
33 boost::totally_ordered<ResNum, int,
34 boost::unit_steppable<ResNum> > > > >
53 return num_==r.num_ && alt_==r.alt_;
56 bool operator<(
const ResNum& r)
const
58 return num_==r.num_ ? alt_<r.alt_ : num_<r.num_;
99 char alt= alt_==
'\0' ?
'a' : alt_+1;
109 inline String AsString()
const;
136 std::stringstream ss;