9 #ifndef DUMP_EPILOGUE_H 10 #define DUMP_EPILOGUE_H 17 typename enable_if< Not<is_fundamental<B> >,
void >::T
18 dumpp(dump_t& t,
const string& d, B& a)
24 typename enable_if<is_container<T>,
bool>::T
25 is_basic_container() {
26 return is_fundamental<typename T::value_type>::value;
30 typename enable_if<Not<is_container<T> >,
bool>::T
31 is_basic_container() {
return false;}
39 Format(std::ostream& o,
const string& d): tab(-1), o(o)
42 && !is_basic_container<T>() )
51 o<<std::setw(tab+2)<<
"}"<<std::endl;
56 const classdesc::string& d,
const T& a)
59 dumpp(o,d,const_cast<T&>(a));
81 template <
class T>
struct access_dump<cd::
PolyPack<T> >:
88 template <
class T>
struct access_dump<cd::
PolyJson<T> >:
95 template <
class T>
struct access_dump<cd::
PolyXML<T> >:
100 template <
class T,
class U>
struct access_dump<cd::
Factory<T,U> >
Definition: polyJsonBase.h:23
determines if this is a string
Definition: classdesc.h:280
Definition: dump_base.h:180
helper for constructing null descriptors
Definition: classdesc.h:784
void dump(dump_t &o, const string &d, const T &a)
forward declare generic dump operation
Definition: dump_epilogue.h:55
Definition: dump_base.h:29
utility class for defining pack descriptors for polymorphic types
Definition: polyPackBase.h:45
Contains definitions related to classdesc functionality.
Definition: arrays.h:2514
Definition: polyXMLBase.h:25
Definition: polyXMLBase.h:17
interface for applying pack descriptors to polymorphic objects
Definition: polyPackBase.h:18
Contains access_* structs, and nothing else. These structs are used to gain access to private members...
Definition: accessor.h:55
Definition: polyJsonBase.h:15