42 #ifndef DATRW_WRITEANY_H_VERSION 44 #define DATRW_WRITEANY_H_VERSION \ 45 "DATRW_WRITEANY_H V1.5" 62 #define ANYDELEGATE( function ) function() const { return(Mos->function()); } 83 const bool&
debug=
false);
85 oanystream(std::ostream&,
const std::string& format,
86 const bool&
debug=
false);
96 static std::ios_base::openmode openmode(
const Eformat& format);
97 static std::ios_base::openmode openmode(
const std::string& format);
104 void open(std::ostream& os, std::string format,
105 const bool&
debug=
false);
131 #endif // DATRW_WRITEANY_H_VERSION (includeguard)
oanystream & operator=(const oanystream &)
no copy
datrw::odatstream & odatstream()
oanystream(std::ostream &, const Eformat &format, const bool &debug=false)
deprecated constructor, not taking format modifier
bool debug()
indicate debug mode
Root namespace of library.
bool debug()
indicate debug mode
odatstream & operator<<(odatstream &os, const sff::WID2 &wid2)
describe data properties (prototypes)
void open(std::ostream &os, std::string format, const bool &debug=false)
actually open stream (to be called by constructor)
Class to write any type of data file.
#define ANYDELEGATE(function)
Delegate member function to underlying output stream.
generic interface definition (prototypes)
void debug(const bool &debug)
set debug mode