32 #ifndef _QORE_CLASS_INTERN_QORESERIALIZABLE_H
34 #define _QORE_CLASS_INTERN_QORESERIALIZABLE_H
37 #include "qore/intern/StreamReader.h"
38 #include "qore/intern/StreamWriter.h"
45 typedef std::map<std::string, QoreObject*> oimap_t;
48 typedef std::map<std::string, std::string> imap_t;
51 typedef std::set<std::string> mset_t;
55 enum qore_stream_type :
unsigned char {
77 class ObjectIndexMap :
public oimap_t {
82 DLLLOCAL ~ObjectIndexMap();
89 friend class QoreInternalSerializationContext;
90 friend class QoreInternalDeserializationContext;
108 DLLLOCAL
virtual ~QoreSerializable() {}
145 DLLLOCAL
static QoreObject* deserializeIndexedObject(
const char* key,
const oimap_t& oimap,
ExceptionSink* xsink);
168 #endif // _QORE_CLASS_INTERN_QORESERIALIZABLE_H