![]() |
GemaCoreLib
The GeMA Core library
|
A basic class used to store meta-data information about result attributes DEFINITIONS. More...
#include <gmResultDataSrcInfo.h>
Public Member Functions | |
GmAttributeResultDataSrcInfo (GmResultDataSrcType type, QString alias, QString description, Unit unit, int nlin, int ncol, QString format) | |
void | updateData (Unit unit, int nlin, int ncol, QString format) |
virtual int | trackId () const |
Returns an invalid trackId since this object is not a real dataSrc, but the metadata for a data src. | |
virtual GmResultDataSrcType | type () const |
Returns the data src type. | |
virtual QString | alias () const |
Returns the data src "exported" id. | |
virtual QString | description () const |
Returns the data src description, when available. | |
virtual Unit | unit () const |
Returns the unit in which the data is expressed. | |
virtual int | size () const |
Returns the dimension of the data src values, taking into account any applied transformations or dim filters. Equal to nlin() * ncol(). A size of zero means that this data src returns string values (valid only for attribute type). A value of -1 means that this object has not been fully initialised yet. | |
virtual int | nlin () const |
The number of lines in the returned result, taking into account any applied transformations or dim filters. A size of zero means that this data src returns string values (valid only for attribute type). A value of -1 means that this object has not been fully initialised yet. | |
virtual int | ncol () const |
The number of columns in the returned result, taking into account any applied transformations or dim filters. A size of zero means that this data src returns string values (valid only for attribute type). A value of -1 means that this object has not been fully initialised yet. | |
virtual QString | formatStr () const |
How should dataSrc values be formated? | |
![]() | |
virtual | ~GmResultDataSrcInfo () |
Virtual destructor. | |
Private Attributes | |
GmResultDataSrcType | _type |
The data src type. | |
QString | _alias |
The data src alias (exported name) | |
QString | _description |
The data description. | |
Unit | _unit |
The data unit. | |
int | _nlin |
The number of lines in the data (0 for string attributes) | |
int | _ncol |
The number of lines in the data (0 for string attributes) | |
QString | _formatStr |
The printf style (without the %) format specifier. | |
A basic class used to store meta-data information about result attributes DEFINITIONS.