19 #ifndef OST_RESIDUE_PROP_HH
20 #define OST_RESIDUE_PROP_HH
23 #include <boost/operators.hpp>
27 namespace ost {
namespace mol {
31 boost::additive<ResNum, int,
32 boost::additive<ResNum,
33 boost::totally_ordered<ResNum,
34 boost::totally_ordered<ResNum, int,
35 boost::unit_steppable<ResNum> > > > >
54 return num_==r.num_ && alt_==r.alt_;
59 return num_==r.num_ ? alt_<r.alt_ : num_<r.num_;
100 char alt= alt_==
'\0' ?
'a' : alt_+1;
110 inline String AsString()
const;
138 std::stringstream ss;