GVecWIG Class Reference

Inheritance diagram for GVecWIG:

List of all members.

Public Member Functions

 GVecWIG (QString, GVec *parent=0)
 GVecWIG (QString, QString, QString, GVec *parent=0)
GVec::vtype get_type ()
void new_track (string, string)
void set_track_params (string, string, long, int, int)
void push_back (long, real)
void push_back (string, long, real)
long get_stop (size_t)

Member Function Documentation

long GVecWIG::get_stop ( size_t  i  )  [virtual]

Returns the base pair stop position for the record at the argument for the current focus. The records handled in this base GVec class are all associated with a single base pair locus; therefore, the start position and stop position are the same.

size_t i the index in the current focus's vector of records
the base pair position where the record stops
See also:
GVec::at( size_t i )

Reimplemented from GVec.

GVec::vtype GVecWIG::get_type (  )  [virtual]

Sometimes it's important to know what class type of GVec on is working with, for instance, when choosing a graph type to match. This method was included to help avoid casting (dynamic or otherwise) and returns the value of the GVec::vtype enum defined in GVec. Of course, this only works if a GVec inheriting class actually creates a new enum type and implements this method-- it's not required too!

So, this is just a convenience and certainly not as reliable as explicitly checking a GVec's type, for instance, with a dynamic cast.

Here the value UNKNOWN is always returned.

Reimplemented from GVec.

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

Generated on Thu Sep 17 15:19:42 2009 for BQGB by  doxygen 1.6.1