GVecSGR Class Reference

Inheritance diagram for GVecSGR:

List of all members.

Public Member Functions

 GVecSGR (QString, GVec *parent=0)
void push_back (string, long, real)
GVec::vtype get_type ()

Member Function Documentation

GVec::vtype GVecSGR::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