7 #include<boost/tuple/tuple.hpp> 8 #include<boost/tuple/tuple_comparison.hpp> 10 #include "Nucleotide.h" 11 #include "ExceptionsDna.h" 20 class Codon :
public boost::tuple<Nucleotide, Nucleotide, Nucleotide> {
const Nucleotide & getFirst() const
accessor
Definition: Codon.h:39
the DNA nucleotide
Definition: Nucleotide.h:21
Codon(const std::string &str)
Definition: Codon.h:30
const Nucleotide & getThird() const
accessor
Definition: Codon.h:45
const Nucleotide & getSecond() const
accessor
Definition: Codon.h:42
the triplet of nucleotides, codon.
Definition: Codon.h:20
std::ostream & operator<<(std::ostream &os, const Chain &chain)
Definition: Chain.h:162
Codon(const Nucleotide &n1v=Nucleotide(), const Nucleotide &n2v=Nucleotide(), const Nucleotide &n3v=Nucleotide())
Definition: Codon.h:23
Nucleotide create(const char &n)
Definition: Nucleotide.h:60
the exception when chain representing codon is shorted than 3 nucleotides
Definition: ExceptionsDna.h:32