GemaCoreLib
The GeMA Core library
Public Member Functions | Private Attributes | List of all members
GmAttributeResultDataSrcInfo Class Reference

A basic class used to store meta-data information about result attributes DEFINITIONS. More...

#include <gmResultDataSrcInfo.h>

Inheritance diagram for GmAttributeResultDataSrcInfo:
Inheritance graph
[legend]
Collaboration diagram for GmAttributeResultDataSrcInfo:
Collaboration graph
[legend]

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?
 
- Public Member Functions inherited from GmResultDataSrcInfo
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.
 

Detailed Description

A basic class used to store meta-data information about result attributes DEFINITIONS.


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