14 #ifndef __INCLUDED_SCOPIRA_TOOL_POLYFLOW_H__ 15 #define __INCLUDED_SCOPIRA_TOOL_POLYFLOW_H__ 17 #include <scopira/tool/flow.h> 18 #include <scopira/tool/export.h> 54 bool read_object_impl(
object* &out);
55 typedef std::map<int, const std::type_info*> typemap_t;
68 SCOPIRA_EXPORT
virtual bool failed(
void)
const;
71 SCOPIRA_EXPORT
virtual size_t read(
byte_t* _buf,
size_t _maxsize);
73 SCOPIRA_EXPORT
virtual bool read_bool(
bool&);
74 SCOPIRA_EXPORT
virtual bool read_char(
char&);
75 SCOPIRA_EXPORT
virtual bool read_short(
short&);
76 SCOPIRA_EXPORT
virtual bool read_int(
int&);
79 SCOPIRA_EXPORT
virtual bool read_long(
long&);
80 SCOPIRA_EXPORT
virtual bool read_float(
float&);
82 SCOPIRA_EXPORT
virtual bool read_string(std::string&);
85 SCOPIRA_EXPORT
virtual bool read_object(
object* &out);
97 SCOPIRA_EXPORT
void close(
void);
113 typedef std::map<std::string, int> typemap_t;
116 typemap_t dm_typemap;
124 SCOPIRA_EXPORT
virtual ~polyoflow();
127 SCOPIRA_EXPORT
virtual bool failed(
void)
const;
130 SCOPIRA_EXPORT
virtual size_t write(
const byte_t* _buf,
size_t _size);
132 SCOPIRA_EXPORT
virtual void write_bool(
bool val);
133 SCOPIRA_EXPORT
virtual void write_char(
char val);
134 SCOPIRA_EXPORT
virtual void write_short(
short val);
135 SCOPIRA_EXPORT
virtual void write_int(
int val);
136 SCOPIRA_EXPORT
virtual void write_size_t(
size_t val);
137 SCOPIRA_EXPORT
virtual void write_int64_t(int64_t val);
138 SCOPIRA_EXPORT
virtual void write_long(
long val);
139 SCOPIRA_EXPORT
virtual void write_float(
float val);
140 SCOPIRA_EXPORT
virtual void write_double(
double val);
141 SCOPIRA_EXPORT
virtual void write_string(
const std::string& val);
156 SCOPIRA_EXPORT
void close(
void);
175 typedef std::map<int, scopira::tool::object*> idmap_t;
183 SCOPIRA_EXPORT
virtual ~isoiflow();
186 SCOPIRA_EXPORT
virtual bool read_object(
object* &out);
205 typedef std::map<const scopira::tool::object*, int> ptrmap_t;
214 SCOPIRA_EXPORT
virtual ~isooflow();
Definition: archiveflow.h:20