19 #ifndef OST_CONOP_AMINO_ACIDS_HH
20 #define OST_CONOP_AMINO_ACIDS_HH
31 namespace ost {
namespace conop {
65 bits_(bits), curr_(start)
81 return curr_==rhs.curr_;
91 while (curr_<=
XXX && !(bits_ & (1 << curr_))) { ++curr_; }
110 static std::vector<AminoAcidSet> CreateCompleteSet();
112 static std::vector<AminoAcidSet> CreateThreeStateSet();
114 static std::vector<AminoAcidSet> CreatePseudoSet();
125 bool Contains(
AminoAcid amino_acid)
const;
146 template <
typename DS>
156 const AminoAcidSet& aa_set);
AminoAcidSetIterator & operator++()
AminoAcidSetIterator Iterator
char DLLEXPORT_OST_CONOP ResidueNameToOneLetterCode(String rn)
bool operator==(const AminoAcidSetIterator &rhs) const
#define DLLEXPORT_OST_CONOP
DLLEXPORT_OST_CONOP std::ostream & operator<<(std::ostream &os, const AminoAcidSet &aa_set)
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
DLLEXPORT_OST_IMG_BASE bool operator!=(const ImageHandle &lhs, const ConstImageHandle &rhs)
AminoAcidSetIterator(unsigned int bits, int start)
DLLEXPORT_OST_CONOP String AminoAcidToResidueName(AminoAcid aa)
DLLEXPORT_OST_CONOP AminoAcid ResidueToAminoAcid(const mol::ResidueHandle &r)
from residue name to amino acid.
std::vector< AminoAcidSet > AminoAcidAlphabet
DLLEXPORT_OST_CONOP String OneLetterCodeToResidueName(char olc)
bool operator!=(const AminoAcidSetIterator &rhs) const
AminoAcid operator*() const
AminoAcid DLLEXPORT_OST_CONOP ResidueNameToAminoAcid(String rn)
DLLEXPORT_OST_CONOP AminoAcid OneLetterCodeToAminoAcid(char olc)