QxOrm  1.2.9
C++ Object Relational Mapping library

qx::cvt : namespace to provide global functions to convert any kind of objects to/from QString and QVariant format More...

#include <QxCommon/QxBool.h>

Go to the source code of this file.

Namespaces

namespace  qx
 

Root namespace for all QxOrm library features.


namespace  qx::cvt
 

Provide global functions to convert any kind of objects to/from QString and QVariant format.


namespace  qx::cvt::detail
 

Internal helper tools for qx::cvt namespace.


Functions

template<typename T >
QString qx::cvt::to_string (const T &t, const QString &format)
template<typename T >
qx_bool qx::cvt::from_string (const QString &s, T &t, const QString &format)
template<typename T >
QVariant qx::cvt::to_variant (const T &t, const QString &format)
template<typename T >
qx_bool qx::cvt::from_variant (const QVariant &v, T &t, const QString &format)
template<typename T >
QString qx::cvt::to_string (const T &t)
template<typename T >
qx_bool qx::cvt::from_string (const QString &s, T &t)
template<typename T >
QVariant qx::cvt::to_variant (const T &t)
template<typename T >
qx_bool qx::cvt::from_variant (const QVariant &v, T &t)
template<typename T >
QString qx::cvt::to_string (const T &t, const QString &format, int index)
template<typename T >
qx_bool qx::cvt::from_string (const QString &s, T &t, const QString &format, int index)
template<typename T >
QVariant qx::cvt::to_variant (const T &t, const QString &format, int index)
template<typename T >
qx_bool qx::cvt::from_variant (const QVariant &v, T &t, const QString &format, int index)

Detailed Description

qx::cvt : namespace to provide global functions to convert any kind of objects to/from QString and QVariant format

Author:
Lionel Marty

Definition in file QxStringCvt.h.