QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches
qx::QxArchive_ToByteArray< T, ArchiveInput, ArchiveOutput > Class Template Reference

qx::QxArchive_ToByteArray : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.) More...

#include <QxArchive.h>

Public Types

typedef qx::trait::archive_wide_traits< ArchiveInput >::type_string type_string
 

Static Public Member Functions

static QByteArray toByteArray (const T &obj, type_string *owner=NULL, unsigned int flags=boost::archive::no_header)
 

Detailed Description

template<class T, class ArchiveInput = QX_DEFAULT_ARCHIVE_INPUT, class ArchiveOutput = QX_DEFAULT_ARCHIVE_OUTPUT>
class qx::QxArchive_ToByteArray< T, ArchiveInput, ArchiveOutput >

qx::QxArchive_ToByteArray : provide some tools to serialize a class registered into QxOrm context into/from binary/text/XML archives (file, string, etc.)

Definition at line 129 of file QxArchive.h.

Member Typedef Documentation

◆ type_string

template<class T , class ArchiveInput = QX_DEFAULT_ARCHIVE_INPUT, class ArchiveOutput = QX_DEFAULT_ARCHIVE_OUTPUT>
typedef qx::trait::archive_wide_traits<ArchiveInput>::type_string qx::QxArchive_ToByteArray< T, ArchiveInput, ArchiveOutput >::type_string

Definition at line 130 of file QxArchive.h.

Member Function Documentation

◆ toByteArray()

template<class T , class ArchiveInput = QX_DEFAULT_ARCHIVE_INPUT, class ArchiveOutput = QX_DEFAULT_ARCHIVE_OUTPUT>
static QByteArray qx::QxArchive_ToByteArray< T, ArchiveInput, ArchiveOutput >::toByteArray ( const T & obj,
type_string * owner = NULL,
unsigned int flags = boost::archive::no_header )
static

The documentation for this class was generated from the following file: