Go to the documentation of this file.
31 #define BINIO_ENABLE_STRING 1
37 #define BINIO_ENABLE_IOSTREAM 1
43 #define BINIO_ISO_STDLIB 1
53 #define BINIO_WITH_MATH 1
59 #pragma warning(disable : 4250)
62 #if BINIO_ENABLE_STRING
94 virtual streampos
pos() = 0;
99 typedef unsigned char Byte;
124 unsigned long readString(
char *str,
unsigned long amount);
125 unsigned long readString(
char *str,
unsigned long maxlen,
const char delim);
126 #if BINIO_ENABLE_STRING
127 std::string
readString(
const char delim =
'\0');
134 void ignore(
unsigned long amount = 1);
138 virtual void getRaw(
char *c, streamsize n) = 0;
152 unsigned long writeString(
const char *str,
unsigned long amount = 0);
153 #if BINIO_ENABLE_STRING
159 virtual void putRaw(
const char *c, streamsize n) = 0;
Float peekFloat(FType ft)
unsigned long readString(char *str, unsigned long amount)
void float2ieee_double(Float f, Byte *data)
void writeFloat(Float f, FType ft)
void writeInt(Int val, unsigned int size)
void ignore(unsigned long amount=1)
virtual void seek(long, Offset=Set)=0
G0 G2 FVC Y DV Numeric Numeric Numeric Zeeman LowerQuantumNumbers void * data
Numeric pow(const Rational base, Numeric exp)
Power of.
virtual void putByte(Byte)=0
Int peekInt(unsigned int size)
Float ieee_double2float(Byte *data)
virtual streampos pos()=0
static Flags detect_system_flags()
virtual void putRaw(const char *c, streamsize n)=0
static const Flags system_flags
Float ieee_single2float(Byte *data)
virtual void getRaw(char *c, streamsize n)=0
void setFlag(Flag f, bool set=true)
unsigned long writeString(const char *str, unsigned long amount=0)
Vector x(Workspace &ws) noexcept
Int readInt(unsigned int size)
Float readFloat(FType ft)
The global header file for ARTS.
void float2ieee_single(Float f, Byte *data)