14 #ifndef __INCLUDED_SCOPIRA_TOOL_BINFLOW_H__ 15 #define __INCLUDED_SCOPIRA_TOOL_BINFLOW_H__ 17 #include <scopira/tool/flow.h> 18 #include <scopira/tool/export.h> 56 SCOPIRA_EXPORT
virtual bool failed(
void)
const;
59 SCOPIRA_EXPORT
virtual size_t read(
byte_t* _buf,
size_t _maxsize);
61 SCOPIRA_EXPORT
virtual bool read_bool(
bool&);
62 SCOPIRA_EXPORT
virtual bool read_char(
char&);
63 SCOPIRA_EXPORT
virtual bool read_short(
short&);
64 SCOPIRA_EXPORT
virtual bool read_int(
int&);
67 SCOPIRA_EXPORT
virtual bool read_long(
long&);
68 SCOPIRA_EXPORT
virtual bool read_float(
float&);
70 SCOPIRA_EXPORT
virtual bool read_string(std::string&);
75 SCOPIRA_EXPORT
void close(
void);
100 SCOPIRA_EXPORT
virtual ~
binoflow(
void);
103 SCOPIRA_EXPORT
virtual bool failed(
void)
const;
106 SCOPIRA_EXPORT
virtual size_t write(
const byte_t* _buf,
size_t _size);
108 SCOPIRA_EXPORT
virtual void write_bool(
bool val);
109 SCOPIRA_EXPORT
virtual void write_char(
char val);
110 SCOPIRA_EXPORT
virtual void write_short(
short val);
111 SCOPIRA_EXPORT
virtual void write_int(
int val);
112 SCOPIRA_EXPORT
virtual void write_size_t(
size_t val);
113 SCOPIRA_EXPORT
virtual void write_int64_t(int64_t val);
114 SCOPIRA_EXPORT
virtual void write_long(
long val);
115 SCOPIRA_EXPORT
virtual void write_float(
float val);
116 SCOPIRA_EXPORT
virtual void write_double(
double val);
117 SCOPIRA_EXPORT
virtual void write_string(
const std::string& val);
122 SCOPIRA_EXPORT
void close(
void);
144 SCOPIRA_EXPORT
virtual bool read_long(
long&);
166 SCOPIRA_EXPORT
virtual void write_size_t(
size_t val);
167 SCOPIRA_EXPORT
virtual void write_long(
long val);
Definition: archiveflow.h:20