Classdesc 3.44
xml_pack_t Class Reference

#include <xml_pack_base.h>

Collaboration diagram for xml_pack_t:
Collaboration graph

Classes

struct  PackAborted
 set to true to cancel packing from another thread More...
class  Tag
 <utility structure for handling tag/endtag More...

Public Member Functions

 xml_pack_t (std::ostream &o, const string &schema="")
template<class T>
enable_if< is_floating_point< T >, std::ostream & >::T put (std::ostream &o, T x)
template<class T>
enable_if< Not< is_floating_point< T > >, std::ostream & >::T put (std::ostream &o, const T &x)
template<class T>
void pack (const string &d, const T &x)
template<class T>
void pack_notag (const string &d, const T &x)

Public Attributes

string schema
bool prettyPrint
volatile bool abort
 if true, the layout XML in more human friendly form

Friends

class Tag

Detailed Description

XML serialisation object

Member Function Documentation

◆ pack()

template<class T>
void pack ( const string & d,
const T & x )
inline

pack simple type

References abort.

Referenced by classdesc::xml_packp().

◆ pack_notag()

template<class T>
void pack_notag ( const string & d,
const T & x )
inline

pack an untagged simple type

References abort.


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