|
QBbgLib
0.4
Qt wrapper for the Bloomberg API
|
A response for historical data series. More...
#include <QBbgHistoricalDataResponse.h>
Public Member Functions | |
| QBbgHistoricalDataResponse () | |
| Creates an empty historical response. More... | |
| QBbgHistoricalDataResponse (const QBbgHistoricalDataResponse &other) | |
| Creates a copy of another historical response. More... | |
| virtual | ~QBbgHistoricalDataResponse () |
| Destructor. More... | |
| virtual QDate | date (int period) const |
| Returns the nth date in the series. More... | |
| virtual QDate | dateForPeriod (const QString &period) const |
| Returns the date associated with the selected period in the series. More... | |
| virtual QList< QDate > | dates () const |
| Returns all dates in the series. More... | |
| virtual QList< QDate > | findValues (const QVariant &a) const |
| Returns all the dates for which the series has the selected value. More... | |
| virtual bool | isEmpty () const |
| Reimplemented from QBbgAbstractResponse::isEmpty() More... | |
| virtual QBbgHistoricalDataResponse & | operator= (const QBbgHistoricalDataResponse &other) |
| Copies another historical response. More... | |
| virtual QString | periodForDate (const QDate &a) const |
| Returns the period code for the selected date in the series. More... | |
| virtual QList< QString > | periods () const |
| Returns all period codes in the series. More... | |
| virtual int | size () const |
| Number of values in the series. More... | |
| virtual QVariant | value (const QDate &a) const |
| Returns the value associated for the selected date. More... | |
| virtual QVariant | value (const QString &period) const |
| Returns the value associated with the selected period in the series. More... | |
| virtual QVariant | value (int period) const |
| Returns the value for the nth element in the series. 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 | |
| QList< QDate > | dates |
| All dates in the series. More... | |
| QList< QString > | periods |
| All period codes in the series. More... | |
| int | size |
| Number of values in the series. 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... | |
A response for historical data series.
|
virtual |
Destructor.
| QBbgLib::QBbgHistoricalDataResponse::QBbgHistoricalDataResponse | ( | ) |
Creates an empty historical response.
| QBbgLib::QBbgHistoricalDataResponse::QBbgHistoricalDataResponse | ( | const QBbgHistoricalDataResponse & | other | ) |
Creates a copy of another historical response.
|
virtual |
Returns the nth date in the series.
|
virtual |
Returns the date associated with the selected period in the series.
Use:
replacing yyyy with the year you want to retrieve the date for
|
virtual |
Returns all dates in the series.
|
virtual |
Returns all the dates for which the series has the selected value.
|
virtual |
Reimplemented from QBbgAbstractResponse::isEmpty()
Implements QBbgLib::QBbgAbstractResponse.
|
virtual |
Copies another historical response.
|
virtual |
Returns the period code for the selected date in the series.
|
virtual |
Returns all period codes in the series.
|
virtual |
Number of values in the series.
|
virtual |
Returns the value associated for the selected date.
|
virtual |
Returns the value associated with the selected period in the series.
Use:
replacing yyyy with the year you want to retrieve the data for
|
virtual |
Returns the value for the nth element in the series.
|
read |
All dates in the series.
|
read |
All period codes in the series.
|
read |
Number of values in the series.
1.8.9.1