qx::QxTimeNeutral : helper class to store a time value into database under neutral format (HHMMSS) => cross database compatibility
More...
#include <QxTimeNeutral.h>
|
void | update () |
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int file_version) |
|
|
QTime | m_time |
| Data value under QTime format from Qt library.
|
|
QString | m_neutral |
| Data value under neutral format 'hhmmss'.
|
|
qx::QxTimeNeutral : helper class to store a time value into database under neutral format (HHMMSS) => cross database compatibility
Definition at line 71 of file QxTimeNeutral.h.
◆ QxTimeNeutral() [1/3]
qx::QxTimeNeutral::QxTimeNeutral |
( |
| ) |
|
|
inline |
◆ QxTimeNeutral() [2/3]
qx::QxTimeNeutral::QxTimeNeutral |
( |
const QTime & | time | ) |
|
|
inlineexplicit |
◆ QxTimeNeutral() [3/3]
qx::QxTimeNeutral::QxTimeNeutral |
( |
const QString & | neutral | ) |
|
|
inlineexplicit |
◆ ~QxTimeNeutral()
virtual qx::QxTimeNeutral::~QxTimeNeutral |
( |
| ) |
|
|
inlinevirtual |
◆ format()
static const char * qx::QxTimeNeutral::format |
( |
| ) |
|
|
inlinestaticprivate |
◆ fromNeutral()
static QxTimeNeutral qx::QxTimeNeutral::fromNeutral |
( |
const QString & | neutral | ) |
|
|
inlinestatic |
◆ fromTime()
static QxTimeNeutral qx::QxTimeNeutral::fromTime |
( |
const QTime & | time | ) |
|
|
inlinestatic |
◆ isValid()
bool qx::QxTimeNeutral::isValid |
( |
| ) |
const |
|
inline |
◆ serialize()
template<class Archive >
void qx::QxTimeNeutral::serialize |
( |
Archive & | ar, |
|
|
const unsigned int | file_version ) |
|
inlineprivate |
◆ setNeutral()
void qx::QxTimeNeutral::setNeutral |
( |
const QString & | neutral | ) |
|
|
inline |
◆ setTime()
void qx::QxTimeNeutral::setTime |
( |
const QTime & | time | ) |
|
|
inline |
◆ toNeutral()
QString qx::QxTimeNeutral::toNeutral |
( |
| ) |
const |
|
inline |
◆ toTime()
QTime qx::QxTimeNeutral::toTime |
( |
| ) |
const |
|
inline |
◆ update()
void qx::QxTimeNeutral::update |
( |
| ) |
|
|
inlineprivate |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ operator<<
◆ operator>>
◆ m_neutral
QString qx::QxTimeNeutral::m_neutral |
|
private |
Data value under neutral format 'hhmmss'.
Definition at line 84 of file QxTimeNeutral.h.
◆ m_time
QTime qx::QxTimeNeutral::m_time |
|
private |
Data value under QTime format from Qt library.
Definition at line 83 of file QxTimeNeutral.h.
The documentation for this class was generated from the following file: