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::totally_ordered<ResNum,
32 boost::totally_ordered<ResNum, int,
33 boost::unit_steppable<ResNum> > > >
46 return num_==r.num_ && alt_==r.alt_;
49 bool operator<(
const ResNum& r)
const
51 return num_==r.num_ ? alt_<r.alt_ : num_<r.num_;
92 char alt= alt_==
'\0' ?
'a' : alt_+1;
102 inline String AsString()
const;
129 std::stringstream ss;