Model Class Reference

#include <Model.h>

List of all members.

Public Member Functions

 Model ()
 Model (const string &name)
void addExon (int bb, int ee) throw (ExondirectionError)
bool operator== (const Model &mm) const
char direction () const
pair< int, int > bound () const
bool contain (const Model &mm) const
bool containIntron (const Model &mm) const
bool endsContain (const Model &mm) const
int numExons () const
int start () const
int end () const
vector< int > introns () const
const string & getId () const
 Model ()
 Model (const string &name)
void addExon (int bb, int ee) throw (ExondirectionError)
bool operator== (const Model &mm) const
char direction () const
pair< int, int > bound () const
bool contain (const Model &mm) const
bool containIntron (const Model &mm) const
bool endsContain (const Model &mm) const
int numExons () const
int start () const
int end () const
vector< int > introns () const
const string & getId () const

Private Attributes

string id
list< pair< int, int > > exons

Friends

ostream & operator<< (ostream &ous, const Model &mm)
ostream & operator<< (ostream &ous, const Model &mm)


Constructor & Destructor Documentation

Model::Model (  )  [inline]

Model::Model ( const string &  name  )  [inline]

Model::Model (  )  [inline]

Model::Model ( const string &  name  )  [inline]


Member Function Documentation

void Model::addExon ( int  bb,
int  ee 
) throw (ExondirectionError)

Referenced by filterCDS().

bool Model::operator== ( const Model mm  )  const

References exons.

char Model::direction (  )  const

References exons.

Referenced by contain(), endsContain(), and introns().

pair<int,int> Model::bound (  )  const [inline]

References exons.

bool Model::contain ( const Model mm  )  const

bool Model::containIntron ( const Model mm  )  const

References introns(), and numExons().

bool Model::endsContain ( const Model mm  )  const

References direction(), end(), and start().

Referenced by contain().

int Model::numExons (  )  const [inline]

References exons.

Referenced by contain(), containIntron(), and introns().

int Model::start (  )  const [inline]

References exons.

Referenced by contain(), and endsContain().

int Model::end (  )  const [inline]

References exons.

Referenced by contain(), and endsContain().

vector< int > Model::introns (  )  const

References direction(), exons, and numExons().

Referenced by contain(), and containIntron().

const string& Model::getId (  )  const [inline]

References id.

void Model::addExon ( int  bb,
int  ee 
) throw (ExondirectionError)

bool Model::operator== ( const Model mm  )  const

char Model::direction (  )  const

pair<int,int> Model::bound (  )  const [inline]

References exons.

bool Model::contain ( const Model mm  )  const

bool Model::containIntron ( const Model mm  )  const

bool Model::endsContain ( const Model mm  )  const

int Model::numExons (  )  const [inline]

References exons.

int Model::start (  )  const [inline]

References exons.

int Model::end (  )  const [inline]

References exons.

vector<int> Model::introns (  )  const

const string& Model::getId (  )  const [inline]

References id.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  ous,
const Model mm 
) [friend]

ostream& operator<< ( ostream &  ous,
const Model mm 
) [friend]


Member Data Documentation

string Model::id [private]

Referenced by getId(), and operator<<().

list< pair< int, int > > Model::exons [private]


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

Generated on Wed Aug 10 11:57:12 2011 for Softwares from Orpara by  doxygen 1.5.6