QxOrm  1.5.0
C++ Object Relational Mapping library
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>

List of all members.

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

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

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: