Athena IO Library
Athena::io::FileWriter Class Reference
Inheritance diagram for Athena::io::FileWriter:
Inheritance graph
Collaboration diagram for Athena::io::FileWriter:
Collaboration graph

Public Member Functions

 FileWriter (const std::string &filename, bool overwrite=true)
 
void setEndian (Endian endian)
 
Endian endian () const
 
bool isBigEndian () const
 
bool isLittleEndian () const
 
void open (bool overwrite=true)
 
void close ()
 
bool isOpen () const
 
void seek (atInt64 pos, SeekOrigin origin=SeekOrigin::Current)
 
void seekAlign32 ()
 
bool atEnd () const
 
atUint64 position () const
 
atUint64 length () const
 
void writeBit (bool val)
 
void seekBit (int bit)
 
void writeUByte (atUint8 val)
 
void writeByte (atInt8 val)
 
void writeUBytes (atUint8 *data, atUint64 len)
 
void writeBytes (atInt8 *data, atUint64 len)
 
void writeUint16 (atUint16 val)
 
void writeInt16 (atInt16 val)
 
void writeUint32 (atUint32 val)
 
void writeInt32 (atInt32 val)
 
void writeUint64 (atUint64 val)
 
void writeInt64 (atInt64 val)
 
void writeDouble (double val)
 
void writeFloat (float val)
 
void writeBool (bool val)
 
void writeString (const std::string &val)
 
void writeUnicode (const std::string &str)
 
void fill (atInt8 byte, atUint64 len)
 
void fill (atUint8 byte, atUint64 len)
 

Detailed Description

Definition at line 26 of file FileWriter.hpp.


The documentation for this class was generated from the following file: