QxOrm
1.5.0
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
qx::QxBool::QxBool | ( | long | lCode, |
const QString & | sDesc | ||
) | [inline] |
qx::QxBool::QxBool | ( | bool | bValue, |
long | lCode, | ||
const QString & | sDesc | ||
) | [inline] |
bool qx::QxBool::checkInitialized | ( | const bool | b | ) | const [inline, private] |
bool qx::QxBool::operator!= | ( | const QxBool & | other | ) | const [inline] |
bool qx::QxBool::operator&& | ( | const QxBool & | other | ) | const [inline] |
bool qx::QxBool::operator== | ( | const QxBool & | other | ) | const [inline] |
bool qx::QxBool::operator|| | ( | const QxBool & | other | ) | const [inline] |
void qx::QxBool::serialize | ( | Archive & | ar, |
const unsigned int | file_version | ||
) | [inline, private] |
QX_DLL_EXPORT QDataStream& operator<< | ( | QDataStream & | stream, |
const qx::QxBool & | t | ||
) | [friend] |
QX_DLL_EXPORT QDataStream& operator>> | ( | QDataStream & | stream, |
qx::QxBool & | t | ||
) | [friend] |
bool qx::QxBool::m_bValue [private] |
long qx::QxBool::m_lCode [private] |
QString qx::QxBool::m_sDesc [private] |