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

Base class for Bloomberg Responses based on field request. More...

#include <QBbgAbstractFieldResponse.h>

Inheritance diagram for QBbgLib::QBbgAbstractFieldResponse:
QBbgLib::QBbgAbstractResponse QBbgLib::QBbgHistoricalDataResponse QBbgLib::QBbgPortfolioDataResponse QBbgLib::QBbgReferenceDataResponse

Public Member Functions

virtual ~QBbgAbstractFieldResponse ()=0
 Destructor. More...
 
virtual const QString & header () const
 Header for the response. More...
 
virtual QBbgAbstractFieldResponseoperator= (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 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

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...
 

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 field request.

Constructor & Destructor Documentation

virtual QBbgLib::QBbgAbstractFieldResponse::~QBbgAbstractFieldResponse ( )
pure virtual

Destructor.

Member Function Documentation

virtual const QString& QBbgLib::QBbgAbstractFieldResponse::header ( ) const
virtual

Header for the response.

This will contain the field name or the column header for tabular results

virtual QBbgAbstractFieldResponse& QBbgLib::QBbgAbstractFieldResponse::operator= ( const QBbgAbstractFieldResponse a)
virtual

Copies another field response.

Property Documentation

QString QBbgLib::QBbgAbstractFieldResponse::header
read

Header for the response.

Read
header()
Write
setHeader()

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