Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RazorBack::Gapseq_::Gap_ Class Reference

subclass Gap_: a Gap_ object stores the position in the sequence before it is inserted and the gap length (>0). More...

List of all members.

Public Methods

 Gap_ (size_t P=0, size_t L=1)
 Inits a gap before ungapped position P with length L.

size_t pos () const
void pos (size_t P)
size_t len () const
void len (size_t L)

Private Attributes

size_t Pos
 position before gap is inserted [0..NPOS].

size_t Len
 length of gap, >0.


Friends

class  Gapseq_


Detailed Description

subclass Gap_: a Gap_ object stores the position in the sequence before it is inserted and the gap length (>0).

A gapped sequence then contains a list of Gap_-s and the insertion/deletion of gaps does not change the underlying original sequence itself. A placeholder gap before the sequence has position 0, and position NPOS after the sequence.

Definition at line 74 of file Gapseq.hh.


Constructor & Destructor Documentation

RazorBack::Gapseq_::Gap_::Gap_ ( size_t P = 0,
size_t L = 1 ) [inline, explicit]
 

Inits a gap before ungapped position P with length L.

Definition at line 87 of file Gapseq.hh.


Member Function Documentation

size_t RazorBack::Gapseq_::Gap_::pos ( ) const [inline]
 

Definition at line 89 of file Gapseq.hh.

void RazorBack::Gapseq_::Gap_::pos ( size_t P ) [inline]
 

Definition at line 90 of file Gapseq.hh.

size_t RazorBack::Gapseq_::Gap_::len ( ) const [inline]
 

Definition at line 91 of file Gapseq.hh.

void RazorBack::Gapseq_::Gap_::len ( size_t L ) [inline]
 

Definition at line 92 of file Gapseq.hh.


Friends And Related Function Documentation

friend class Gapseq_ [friend]
 

Definition at line 76 of file Gapseq.hh.


Member Data Documentation

size_t RazorBack::Gapseq_::Gap_::Pos [private]
 

position before gap is inserted [0..NPOS].

Definition at line 80 of file Gapseq.hh.

size_t RazorBack::Gapseq_::Gap_::Len [private]
 

length of gap, >0.

Definition at line 81 of file Gapseq.hh.


The documentation for this class was generated from the following file:
Generated at Wed Aug 21 09:33:44 2002 for The Razorback C++ Library: Bioinformatics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001