![]() |
QxOrm 1.4.9
C++ Object Relational Mapping library
|
qx_bool : boolean type with code and description message when an error occured More...
#include <QxBool.h>
Public Member Functions | |
QxBool () | |
QxBool (bool b) | |
QxBool (long lCode, const QString &sDesc) | |
QxBool (bool bValue, long lCode, const QString &sDesc) | |
QxBool (const QxBool &other) | |
~QxBool () | |
bool | getValue () const |
long | getCode () const |
QString | getDesc () const |
void | setValue (bool bValue) |
void | setCode (long lCode) |
void | setDesc (const QString &sDesc) |
QxBool & | operator= (const QxBool &other) |
QxBool & | operator= (const bool b) |
operator bool () const | |
bool | operator! () const |
bool | operator== (const QxBool &other) const |
bool | operator== (const bool b) const |
bool | operator!= (const QxBool &other) const |
bool | operator!= (const bool b) const |
bool | operator&& (const QxBool &other) const |
bool | operator&& (const bool b) const |
bool | operator|| (const QxBool &other) const |
bool | operator|| (const bool b) const |
QString | toString () const |
void | fromString (const QString &s) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int file_version) |
bool | checkInitialized (const bool b) const |
Private Attributes | |
bool | m_bValue |
Data boolean value. | |
long | m_lCode |
Error code when value is false. | |
QString | m_sDesc |
Error description when value is false. | |
Friends | |
class | boost::serialization::access |
QX_DLL_EXPORT QDataStream & | operator<< (QDataStream &stream, const qx::QxBool &t) |
QX_DLL_EXPORT QDataStream & | operator>> (QDataStream &stream, qx::QxBool &t) |
qx_bool : boolean type with code and description message when an error occured
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
friend |
|
friend |
|
private |
|
private |