alkimia  8.0.3
Public Types | Public Member Functions | Protected Attributes | List of all members
AlkOnlineQuote::Errors Class Reference

#include <alkonlinequote.h>

Public Types

enum  Type {
  None ,
  Data ,
  Date ,
  DateFormat ,
  Price ,
  Script ,
  Source ,
  Symbol ,
  Success ,
  URL
}
 

Public Member Functions

 Errors ()
 
 Errors (Type type)
 
 Errors (const Errors &e)
 
Errorsoperator|= (Type t)
 
bool operator& (Type t) const
 

Protected Attributes

QList< Typem_type
 

Detailed Description

Hold errors reported from price quote fetching and parsing

The implementation provides a type safe way to use bit operations like '|=' for combining values and '&' for checking value presence.

Definition at line 51 of file alkonlinequote.h.

Member Enumeration Documentation

◆ Type

Enumerator
None 
Data 
Date 
DateFormat 
Price 
Script 
Source 
Symbol 
Success 
URL 

Definition at line 54 of file alkonlinequote.h.

Constructor & Destructor Documentation

◆ Errors() [1/3]

AlkOnlineQuote::Errors::Errors ( )

Definition at line 50 of file alkonlinequote.cpp.

◆ Errors() [2/3]

AlkOnlineQuote::Errors::Errors ( Type  type)

Definition at line 54 of file alkonlinequote.cpp.

◆ Errors() [3/3]

AlkOnlineQuote::Errors::Errors ( const Errors e)

Definition at line 59 of file alkonlinequote.cpp.

References m_type.

Member Function Documentation

◆ operator&()

bool AlkOnlineQuote::Errors::operator& ( Type  t) const

Definition at line 72 of file alkonlinequote.cpp.

◆ operator|=()

AlkOnlineQuote::Errors & AlkOnlineQuote::Errors::operator|= ( Type  t)

Definition at line 64 of file alkonlinequote.cpp.

Member Data Documentation

◆ m_type

QList<Type> AlkOnlineQuote::Errors::m_type
protected

Definition at line 74 of file alkonlinequote.h.

Referenced by Errors().


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