| QxOrm 1.3.2 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Defines
QxStringCvt_Impl.h File Reference
`#include <boost/lexical_cast.hpp>`
`#include <boost/mpl/if.hpp>`
`#include <boost/mpl/logical.hpp>`
`#include <boost/type_traits/is_pointer.hpp>`
`#include <boost/type_traits/is_enum.hpp>`
`#include <QxCommon/QxStringCvt.h>`
`#include <QxCommon/QxBool.h>`
`#include <QxDao/QxDateNeutral.h>`
`#include <QxDao/QxTimeNeutral.h>`
`#include <QxDao/QxDateTimeNeutral.h>`
`#include <QxDao/QxSqlQuery.h>`
`#include <QxCollection/QxCollection.h>`
`#include <QxRegister/QxClass.h>`
`#include <QxSerialize/QxArchive.h>`
`#include <QxValidator/QxInvalidValue.h>`
`#include <QxValidator/QxInvalidValueX.h>`
`#include <QxTraits/is_smart_ptr.h>`
`#include <QxTraits/is_container.h>`
`#include <QxTraits/is_qx_registered.h>`
`#include <QxTraits/is_qt_variant_compatible.h>`
`#include <QxTraits/get_class_name_primitive.h>`
`#include <QxTraits/construct_ptr.h>`
`#include <QxTraits/generic_container.h>`
`#include "../../inl/QxCommon/QxStringCvt_WithIndex.inl"`
`#include "../../inl/QxCommon/QxStringCvt_ToString.inl"`
`#include "../../inl/QxCommon/QxStringCvt_FromString.inl"`
`#include "../../inl/QxCommon/QxStringCvt_ToVariant.inl"`
`#include "../../inl/QxCommon/QxStringCvt_FromVariant.inl"`
`#include "../../inl/QxCommon/QxStringCvt_Qt.inl"`

Go to the source code of this file.

## Classes
struct | qx::cvt::detail::QxStringCvtGeneric< T >
struct | qx::cvt::detail::QxStringCvtGeneric< T >::cvtQVariant< isQVariantCompatible, dummy >
struct | qx::cvt::detail::QxStringCvtGeneric< T >::cvtQVariant< true, dummy >
struct | qx::cvt::detail::QxStringCvtPtr< T >
struct | qx::cvt::detail::QxStringCvtRegistered< T >
struct | qx::cvt::detail::QxStringCvtContainer< T >
struct | qx::cvt::detail::QxStringCvtEnum< T >
struct | qx::cvt::detail::QxStringCvtHelper< T >
struct | qx::cvt::detail::QxStringCvt_ToString< T >
struct | qx::cvt::detail::QxStringCvt_FromString< T >
struct | qx::cvt::detail::QxStringCvt_ToVariant< T >
struct | qx::cvt::detail::QxStringCvt_FromVariant< T >
## 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.
## Defines
#define | QX_STR_CVT_QDATE_FORMAT "yyyyMMdd"
#define | QX_STR_CVT_QTIME_FORMAT "hhmmsszzz"
#define | QX_STR_CVT_QDATETIME_FORMAT "yyyyMMddhhmmsszzz"
#define | QX_STR_CVT_DEFAULT_ARCHIVE qx::serialization::polymorphic_xml
#define | QX_STR_CVT_BY_USING_ARCHIVE_IMPL(className)

## Define Documentation

#define QX_STR_CVT_BY_USING_ARCHIVE_IMPL | ( |  | className | ) |

Value:

    namespace qx { namespace cvt { namespace detail { \
    template <> struct QxStringCvt_ToString< className > { \
    static inline QString toString(const className & t, const QString & format, int index) \
    { Q_UNUSED(format); Q_UNUSED(index); return QX_STR_CVT_DEFAULT_ARCHIVE::to_string(t); } }; \
    template <> struct QxStringCvt_FromString< className > { \
    static inline qx_bool fromString(const QString & s, className & t, const QString & format, int index) \
    { Q_UNUSED(format); Q_UNUSED(index); return QX_STR_CVT_DEFAULT_ARCHIVE::from_string(t, s); } }; \
    } } }

Definition at line 84 of file QxStringCvt_Impl.h.

#define QX_STR_CVT_DEFAULT_ARCHIVE qx::serialization::polymorphic_xml

Definition at line 75 of file QxStringCvt_Impl.h.

#define QX_STR_CVT_QDATE_FORMAT "yyyyMMdd"

Definition at line 70 of file QxStringCvt_Impl.h.

#define QX_STR_CVT_QDATETIME_FORMAT "yyyyMMddhhmmsszzz"

Definition at line 72 of file QxStringCvt_Impl.h.

#define QX_STR_CVT_QTIME_FORMAT "hhmmsszzz"

Definition at line 71 of file QxStringCvt_Impl.h.