9 #ifndef PACK_EPILOGUE_H 10 #define PACK_EPILOGUE_H 20 void operator()(
cd::pack_t& buf,
const cd::string& desc,
const T& arg)
28 void operator()(
cd::pack_t& buf,
const cd::string& desc,
const T& arg)
32 template <
class T>
typename 34 pack_container(
cd::pack_t& buf,
const cd::string& desc, T& arg,
38 template <
class T>
typename 40 pack_container(
cd::pack_t& buf,
const cd::string& desc, T& arg,
50 void operator()(
cd::pack_t& buf,
const cd::string& desc, U& arg)
51 {pack_container(buf,desc,arg);}
54 template <
class T>
typename 56 unpack_container(
cd::pack_t& buf,
const cd::string& desc, T& arg,
60 template <
class T>
typename 62 unpack_container(
cd::pack_t& buf,
const cd::string& desc, T& arg,
70 void operator()(
cd::pack_t& buf,
const cd::string& desc, U& arg)
71 {unpack_container(buf,desc,arg);}
103 template <
class T>
struct access_pack<cd::PolyPack<T> >:
109 #ifdef POLYJSONBASE_H 114 template <
class T>
struct access_pack<cd::PolyJson<T> >:
125 template <
class T>
struct access_pack<cd::PolyXML<T> >:
132 template <
class T,
class U>
struct access_pack<cd::Factory<T,U> >
142 template <
class T,
class U>
struct access_unpack<cd::Factory<T,U> >
152 #include "polyAccessPack.h" 153 #include "pack_stream.h" class to allow access to private members
Definition: classdesc_access.h:21
helper for constructing null descriptors
Definition: classdesc.h:784
class to allow access to private members
Definition: classdesc_access.h:22
serialisation for standard containers
Contains definitions related to classdesc functionality.
Definition: arrays.h:2514
Definition: pack_base.h:124
controlled template specialisation: stolen from boost::enable_if.
Definition: classdesc.h:249
Definition: classdesc.h:266
Contains access_* structs, and nothing else. These structs are used to gain access to private members...
Definition: accessor.h:55
void unpack(unpack_t &targ, const string &desc, is_treenode dum, T *&arg)
unserialise a tree.
Definition: pack_graph.h:44