faif
Public Member Functions | List of all members
faif::dna::Nucleotide Class Reference

the DNA nucleotide More...

#include <Nucleotide.h>

Collaboration diagram for faif::dna::Nucleotide:
Collaboration graph

Public Member Functions

 Nucleotide (const NucleotideValue &val=ANY_NUCLEOTIDE)
 
 Nucleotide (const Nucleotide &n)
 
Nucleotideoperator= (const Nucleotide &n)
 
NucleotideValue get () const
 
bool operator== (const Nucleotide &n) const
 
bool operator!= (const Nucleotide &n) const
 
bool operator< (const Nucleotide &n) const
 
Nucleotide complementary () const
 

Detailed Description

the DNA nucleotide

There are four values: A, T, G, C and the N (denotes any nucleotide)

Constructor & Destructor Documentation

faif::dna::Nucleotide::Nucleotide ( const NucleotideValue val = ANY_NUCLEOTIDE)
inlineexplicit

c-tor

Referenced by complementary(), and faif::dna::create().

Member Function Documentation

NucleotideValue faif::dna::Nucleotide::get ( ) const
inline

accessor

Referenced by faif::dna::operator<<().

bool faif::dna::Nucleotide::operator== ( const Nucleotide n) const
inline

comparison

bool faif::dna::Nucleotide::operator!= ( const Nucleotide n) const
inline

comparison

bool faif::dna::Nucleotide::operator< ( const Nucleotide n) const
inline

order

Nucleotide faif::dna::Nucleotide::complementary ( ) const
inline

return the complementary nucleotide

References Nucleotide().


The documentation for this class was generated from the following file: