AlkOnlineQuote::Errors
#include <alkonlinequote.h>
Public Types | |
enum | Type { None , Data , Date , DatePattern , DateFormat , Price , PricePattern , Script , Source , Symbol , Success , Timeout , URL } |
Public Member Functions | |
Errors (Type type) | |
bool | isEmpty () const |
bool | operator!= (Type t) const |
bool | operator& (Type t) const |
bool | operator== (Type t) const |
Errors & | operator|= (Type t) |
Protected Attributes | |
QList< Type > | m_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 45 of file alkonlinequote.h.
Member Enumeration Documentation
◆ Type
enum AlkOnlineQuote::Errors::Type |
Definition at line 48 of file alkonlinequote.h.
Constructor & Destructor Documentation
◆ Errors() [1/2]
AlkOnlineQuote::Errors::Errors | ( | ) |
Definition at line 14 of file alkonlinequote.cpp.
◆ Errors() [2/2]
AlkOnlineQuote::Errors::Errors | ( | Type | type | ) |
Definition at line 18 of file alkonlinequote.cpp.
Member Function Documentation
◆ isEmpty()
bool AlkOnlineQuote::Errors::isEmpty | ( | ) | const |
Definition at line 49 of file alkonlinequote.cpp.
◆ operator!=()
bool AlkOnlineQuote::Errors::operator!= | ( | Type | t | ) | const |
Definition at line 44 of file alkonlinequote.cpp.
◆ operator&()
bool AlkOnlineQuote::Errors::operator& | ( | Type | t | ) | const |
Definition at line 34 of file alkonlinequote.cpp.
◆ operator==()
bool AlkOnlineQuote::Errors::operator== | ( | Type | t | ) | const |
Definition at line 39 of file alkonlinequote.cpp.
◆ operator|=()
AlkOnlineQuote::Errors & AlkOnlineQuote::Errors::operator|= | ( | Type | t | ) |
Definition at line 26 of file alkonlinequote.cpp.
Member Data Documentation
◆ m_type
|
protected |
Definition at line 73 of file alkonlinequote.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.