QBbgLib
0.4
Qt wrapper for the Bloomberg API
|
A reference data request. More...
#include <QbbgReferenceDataRequest.h>
Public Member Functions | |
QBbgReferenceDataRequest () | |
Creates an empty reference request. More... | |
QBbgReferenceDataRequest (const QBbgReferenceDataRequest &a) | |
Creates a copy of a reference request. More... | |
virtual | ~QBbgReferenceDataRequest () |
Destructor. More... | |
virtual QBbgReferenceDataRequest & | operator= (const QBbgReferenceDataRequest &a) |
Copies another request. More... | |
virtual bool | operator== (const QBbgReferenceDataRequest &a) const |
Checks if two requests are identical. More... | |
virtual void | setSecurity (const QBbgSecurity &val) |
Reimplemented from QBbgAbstractRequest. More... | |
void | setUseUTCtime (bool a) |
Set whether all date and times should be referenced as UTC (Greenwich Time) More... | |
bool | useUTCtime () const |
If true all dates and times will be returned in UTC format. More... | |
![]() | |
virtual | ~QBbgAbstractFieldRequest ()=0 |
Destructor. More... | |
virtual void | clearOverrides () |
Remove all overrides from a request. More... | |
virtual const QString & | field () const |
The field related to the request. More... | |
virtual bool | isValidReq () const |
Reimplemented from QBbgAbstractRequest::isValidReq. More... | |
virtual QBbgAbstractFieldRequest & | operator= (const QBbgAbstractFieldRequest &a) |
Copies another request. More... | |
virtual bool | operator== (const QBbgAbstractFieldRequest &a) const |
Checks if two requests are identical. More... | |
virtual const QBbgOverride & | overrides () const |
Returns the set of overrides applied to the request. More... | |
virtual void | setField (const QString &val) |
Sets the field for the request. More... | |
virtual void | setOverrides (const QBbgOverride &Overr) |
Sets the overrides to apply to the request. More... | |
![]() | |
virtual | ~QBbgAbstractRequest ()=0 |
Destructor. More... | |
virtual qint64 | getID () const |
Returns the current ID for the request. More... | |
virtual QBbgAbstractRequest & | operator= (const QBbgAbstractRequest &other) |
Copies another request. More... | |
virtual bool | operator== (const QBbgAbstractRequest &other) const |
Checks if two requests are identical. More... | |
virtual RequestType | requestType () const |
Returns the type of request. More... | |
virtual const QBbgSecurity & | security () const |
Returns the security associated with the request. More... | |
virtual void | setID (qint64 val) |
Set the ID associated to the current request. More... | |
virtual void | setSecurity (const QString &SecName, QBbgSecurity::YellowKeys SecKey) |
Overloaded from setSecurity. More... | |
Properties | |
bool | useUTCtime |
Whether all dates and time results for this request should be in UTC format. More... | |
![]() | |
QString | field |
The field associated with the request. More... | |
QBbgOverride | overrides |
The overrides applied to the request. More... | |
![]() | |
bool | isValidReq |
Checks if the request is valid. More... | |
qint64 | requestID |
The request unique identifier. More... | |
RequestType | requestType |
The type of the request. More... | |
QBbgSecurity | security |
The security associated with the request. More... | |
Additional Inherited Members | |
![]() | |
enum | RequestType : qint32 { RequestType::Invalid = -1, RequestType::Beqs, RequestType::HistoricalData = FirstFielded, RequestType::ReferenceData, RequestType::PortfolioData, RequestType::IntraDayTick = FirstIntraday, RequestType::IntraDayBar } |
Type of Request. More... | |
enum | SpecialIDs { InvalidID = -1024 } |
Special requestID codes. More... | |
![]() | |
uint | qHash (QBbgLib::QBbgAbstractRequest::RequestType key, uint seed=0) |
Allows QBbgAbstractRequest::RequestType to be used as a key of a QHash. More... | |
A reference data request.
This class can be used to query current data from Bloomberg.
Both single values and tables can be retrieved using this request.
This is equivalent to BDP() and BDS() bloomberg functions in excel.
|
virtual |
Destructor.
QBbgLib::QBbgReferenceDataRequest::QBbgReferenceDataRequest | ( | ) |
Creates an empty reference request.
QBbgLib::QBbgReferenceDataRequest::QBbgReferenceDataRequest | ( | const QBbgReferenceDataRequest & | a | ) |
Creates a copy of a reference request.
|
virtual |
Copies another request.
|
virtual |
Checks if two requests are identical.
|
virtual |
Reimplemented from QBbgAbstractRequest.
Reimplemented from QBbgLib::QBbgAbstractRequest.
void QBbgLib::QBbgReferenceDataRequest::setUseUTCtime | ( | bool | a | ) |
Set whether all date and times should be referenced as UTC (Greenwich Time)
bool QBbgLib::QBbgReferenceDataRequest::useUTCtime | ( | ) | const |
If true all dates and times will be returned in UTC format.
|
readwrite |
Whether all dates and time results for this request should be in UTC format.