|
QBbgLib
0.4
Qt wrapper for the Bloomberg API
|
Response for static data. More...
#include <QBbgReferenceDataResponse.h>
Public Member Functions | |
| QBbgReferenceDataResponse () | |
| Creates an empty response. More... | |
| QBbgReferenceDataResponse (const QBbgReferenceDataResponse &other) | |
| Creates a copy of another response. More... | |
| virtual | ~QBbgReferenceDataResponse () |
| Destructor. More... | |
| virtual qint32 | columns () const |
| Number of columns in the tabular result. More... | |
| virtual const QBbgReferenceDataResponse * | getTableValue (qint32 r, qint32 c) const |
| Returns the result associated with a table cell. More... | |
| virtual bool | hasTable () const |
| Checks if the response has tabular results. More... | |
| virtual bool | hasValue () const |
| Checks if the response has a single value. More... | |
| virtual bool | isEmpty () const |
| Reimplemented from QBbgAbstractResponse::isEmpty() More... | |
| virtual QBbgReferenceDataResponse & | operator= (const QBbgReferenceDataResponse &other) |
| Copies another response. More... | |
| virtual qint32 | rows () const |
| Number of rows in the tabular result. More... | |
| virtual const QVariant & | value () const |
| Returns the single value of the result. More... | |
Public Member Functions inherited from QBbgLib::QBbgAbstractFieldResponse | |
| virtual | ~QBbgAbstractFieldResponse ()=0 |
| Destructor. More... | |
| virtual const QString & | header () const |
| Header for the response. More... | |
| virtual QBbgAbstractFieldResponse & | operator= (const QBbgAbstractFieldResponse &a) |
| Copies another field response. More... | |
Public Member Functions inherited from QBbgLib::QBbgAbstractResponse | |
| virtual | ~QBbgAbstractResponse ()=0 |
| Destructor. More... | |
| virtual BbgErrorCodes | errorCode () const |
| The error code associated with the response. More... | |
| virtual QString | errorMessage () const |
| The details of the error. More... | |
| virtual QString | errorString () const |
| String representation of the error. More... | |
| virtual qint64 | getID () const |
| The ID of the response. More... | |
| virtual bool | hasErrors () const |
| Checks if the response has any error. More... | |
| virtual QBbgAbstractResponse & | operator= (const QBbgAbstractResponse &other) |
| Copies another response. More... | |
| virtual ResponseType | responseType () const |
| Returns the type of the current response. More... | |
Properties | |
| qint32 | columns |
| The number of columns in the tabular result. More... | |
| bool | hasTable |
| Whether the response has tabular results or not. More... | |
| qint32 | rows |
| The number of rows in the tabular result. More... | |
| QVariant | value |
| Whether the response has a single value or not. More... | |
Properties inherited from QBbgLib::QBbgAbstractFieldResponse | |
| QString | header |
| Header for the response. More... | |
Properties inherited from QBbgLib::QBbgAbstractResponse | |
| BbgErrorCodes | errorCode |
| The error code associated with the response. More... | |
| QString | errorMessage |
| The details of the error. More... | |
| QString | errorString |
| String representation of the error. More... | |
| bool | hasErrors |
| Checks if the response has any error. More... | |
| bool | isEmpty |
| Check if the response contains any value. More... | |
| qint64 | responseID |
| The ID of the response. More... | |
| ResponseType | responseType |
| Returns the type of the current response. More... | |
Response for static data.
The result can be either a single value or a table depending on the request
| QBbgLib::QBbgReferenceDataResponse::QBbgReferenceDataResponse | ( | ) |
Creates an empty response.
|
virtual |
Destructor.
| QBbgLib::QBbgReferenceDataResponse::QBbgReferenceDataResponse | ( | const QBbgReferenceDataResponse & | other | ) |
Creates a copy of another response.
|
virtual |
Number of columns in the tabular result.
If hasTable() is false this will return 0
|
virtual |
Returns the result associated with a table cell.
If hasTable() is false or any index is out of range a null pointer will be returned
|
virtual |
Checks if the response has tabular results.
|
virtual |
Checks if the response has a single value.
|
virtual |
Reimplemented from QBbgAbstractResponse::isEmpty()
Implements QBbgLib::QBbgAbstractResponse.
|
virtual |
Copies another response.
|
virtual |
Number of rows in the tabular result.
If hasTable() is false this will return 0
|
virtual |
Returns the single value of the result.
If hasValue() is false this will return a null QVariant
|
read |
The number of columns in the tabular result.
|
read |
Whether the response has tabular results or not.
|
read |
The number of rows in the tabular result.
|
read |
Whether the response has a single value or not.
1.8.9.1