QBbgLib  0.4
Qt wrapper for the Bloomberg API
Public Member Functions | Properties | List of all members
QBbgLib::QBbgAbstractIntradayResponse Class Referenceabstract

Base class for Bloomberg Responses based on intraday requests. More...

#include <QBbgAbstractIntradayResponse.h>

Inheritance diagram for QBbgLib::QBbgAbstractIntradayResponse:
QBbgLib::QBbgAbstractResponse QBbgLib::QBbgIntradayTickResponse

Public Member Functions

virtual ~QBbgAbstractIntradayResponse ()=0
 Destructor. More...
 
virtual QDateTime dateTime (int index) const
 Date and time related to the event. More...
 
virtual QBbgAbstractIntradayResponseoperator= (const QBbgAbstractIntradayResponse &a)
 Copies another intraday response. More...
 
virtual int size () const
 Number of values in the series. More...
 
virtual double value (int index) const
 The value related to the event. 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 bool isEmpty () const =0
 Check if the response contains any value. More...
 
virtual QBbgAbstractResponseoperator= (const QBbgAbstractResponse &other)
 Copies another response. More...
 
virtual ResponseType responseType () const
 Returns the type of the current response. More...
 

Properties

int size
 Number of values in the series. 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...
 

Additional Inherited Members

- Public Types inherited from QBbgLib::QBbgAbstractResponse
enum  BbgErrorCodesF {
  NoErrors = 0, ResponseError = 0x1, SecurityError = 0x2, InvalidInputs = 0x4,
  SessionError = 0x8, ServiceError = 0x10, FieldError = 0x20, UnknownError = 0x40,
  SessionStopped = 0x80, NoData = 0x100
}
 Flags representing possible errors. More...
 
enum  ResponseType : qint32 {
  ResponseType::Invalid =-1, ResponseType::BeqsResponse, ResponseType::HistoricalDataResponse = FirstFielded, ResponseType::ReferenceDataResponse,
  ResponseType::PortfolioDataResponse, ResponseType::IntraDayTickResponse = FirstRealTime, ResponseType::IntraDayBarResponse
}
 Type of response. More...
 
- Static Public Member Functions inherited from QBbgLib::QBbgAbstractResponse
static QString bbgErrorCode2String (BbgErrorCodes a)
 Converts an error code to the its string representation. More...
 

Detailed Description

Base class for Bloomberg Responses based on intraday requests.

Constructor & Destructor Documentation

virtual QBbgLib::QBbgAbstractIntradayResponse::~QBbgAbstractIntradayResponse ( )
pure virtual

Destructor.

Member Function Documentation

virtual QDateTime QBbgLib::QBbgAbstractIntradayResponse::dateTime ( int  index) const
virtual

Date and time related to the event.

  • index The index of the object in the series
    Returns
    A null QDateTime if index is out of range
virtual QBbgAbstractIntradayResponse& QBbgLib::QBbgAbstractIntradayResponse::operator= ( const QBbgAbstractIntradayResponse a)
virtual

Copies another intraday response.

virtual int QBbgLib::QBbgAbstractIntradayResponse::size ( ) const
virtual

Number of values in the series.

virtual double QBbgLib::QBbgAbstractIntradayResponse::value ( int  index) const
virtual

The value related to the event.

  • index The index of the object in the series
    Returns
    0 if index is out of range

Property Documentation

int QBbgLib::QBbgAbstractIntradayResponse::size
read

Number of values in the series.

Read
size()

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