|
QBbgLib
0.4
Qt wrapper for the Bloomberg API
|
Request with fields and overrides. More...
#include <QBbgAbstractFieldRequest.h>
Public Member Functions | |
| 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... | |
Public Member Functions inherited from QBbgLib::QBbgAbstractRequest | |
| 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 QBbgSecurity &val) |
| Sets the security for the current request to the specified one. More... | |
| virtual void | setSecurity (const QString &SecName, QBbgSecurity::YellowKeys SecKey) |
| Overloaded from setSecurity. More... | |
Properties | |
| QString | field |
| The field associated with the request. More... | |
| QBbgOverride | overrides |
| The overrides applied to the request. More... | |
Properties inherited from QBbgLib::QBbgAbstractRequest | |
| 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 | |
Public Types inherited from QBbgLib::QBbgAbstractRequest | |
| 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... | |
Related Functions inherited from QBbgLib::QBbgAbstractRequest | |
| uint | qHash (QBbgLib::QBbgAbstractRequest::RequestType key, uint seed=0) |
| Allows QBbgAbstractRequest::RequestType to be used as a key of a QHash. More... | |
Request with fields and overrides.
This class represents all requests that can supply a field and a set of overrides
|
pure virtual |
Destructor.
|
virtual |
Remove all overrides from a request.
|
virtual |
The field related to the request.
|
virtual |
Reimplemented from QBbgAbstractRequest::isValidReq.
Reimplemented from QBbgLib::QBbgAbstractRequest.
Reimplemented in QBbgLib::QBbgHistoricalDataRequest.
|
virtual |
Copies another request.
|
virtual |
Checks if two requests are identical.
|
virtual |
Returns the set of overrides applied to the request.
|
virtual |
Sets the field for the request.
The input will be normalized. Spaces will be replaced by _ and the string will be capitalised
Reimplemented in QBbgLib::QBbgPortfolioDataRequest.
|
virtual |
Sets the overrides to apply to the request.
Reimplemented in QBbgLib::QBbgPortfolioDataRequest.
|
readwrite |
|
readwrite |
1.8.9.1