|
long | operator+ (const std::streampos &l, int r) |
| Adds an integer to streampos. More...
|
|
long | operator+ (const std::streampos &l, long r) |
| Adds an integer to streampos. More...
|
|
unsigned long | operator+ (const std::streampos &l, unsigned long r) |
| Adds an unsigned integer to streampos. More...
|
|
long | operator- (const std::streampos &l, int r) |
| Subtracts an unsigned integer from streampos. More...
|
|
long | operator- (const std::streampos &l, long r) |
| Subtracts an integer from streampos. More...
|
|
long | operator- (const std::streampos &l, unsigned long r) |
| Subtracts an integer from streampos. More...
|
|
template<class T_ > |
void | ReadArray (std::istream &stream, T_ *data, unsigned long size) |
| Reads an array from the stream. More...
|
|
bool | ReadBool (std::istream &stream) |
| Reads a boolean value. In resource 1.0, booleans are stored as 32bit integers. More...
|
|
double | ReadDouble (std::istream &stream) |
| Reads a 64 bit IEEE double precision floating point number from the stream. More...
|
|
template<class E_ > |
E_ | ReadEnum32 (std::istream &stream) |
| Reads an enumeration that is saved as 32bit integer. More...
|
|
float | ReadFloat (std::istream &stream) |
| Reads a 32 bit IEEE floating point number from the stream. More...
|
|
SGuid | ReadGuid (std::istream &stream) |
| Reads a GUID from the given stream. More...
|
|
int | ReadInt16 (std::istream &stream) |
| Reads a 16-bit integer from the stream. More...
|
|
long | ReadInt32 (std::istream &stream) |
| Reads a 32-bit integer from the stream. More...
|
|
char | ReadInt8 (std::istream &stream) |
| Reads an 8-bit integer from the stream. More...
|
|
Geometry::Point | ReadPoint (std::istream &stream) |
|
Geometry::Pointf | ReadPointf (std::istream &stream) |
|
Graphics::RGBA | ReadRGBA (std::istream &stream) |
| Reads a RGBA color, R will be read first. More...
|
|
Graphics::RGBAf | ReadRGBAf (std::istream &stream) |
| Reads a RGBAf color, R will be read first. More...
|
|
Geometry::Size | ReadSize (std::istream &stream) |
|
std::string | ReadString (std::istream &stream) |
| Reads a string from a given stream. More...
|
|
std::string | ReadString (std::istream &stream, unsigned long size) |
| Reads a string with the given size. More...
|
|
unsigned | ReadUInt16 (std::istream &stream) |
| Reads a 16-bit unsigned integer from the stream. More...
|
|
unsigned long | ReadUInt32 (std::istream &stream) |
| Reads a 32-bit unsigned integer from the stream. More...
|
|
Byte | ReadUInt8 (std::istream &stream) |
| Reads an 8-bit unsigned integer from the stream. More...
|
|
template<class T_ > |
void | WriteArray (std::ostream &stream, const T_ *data, unsigned long size) |
| Writes an array to the stream. More...
|
|
void | WriteBool (std::ostream &stream, bool value) |
| Writes a boolean value. In resource 1.0, booleans are stored as 32bit integers. More...
|
|
void | WriteDouble (std::ostream &stream, double value) |
| Writes a 64 bit IEEE double precision floating point number from the stream. More...
|
|
template<class E_ > |
void | WriteEnum32 (std::ostream &stream, E_ v) |
| Writes an enumeration as a 32-bit integer. More...
|
|
void | WriteFloat (std::ostream &stream, float value) |
| Writes a 32 bit IEEE floating point number from the stream. More...
|
|
void | WriteGuid (std::ostream &stream, const SGuid &value) |
| Writes a GUID from the given stream. More...
|
|
void | WriteInt16 (std::ostream &stream, int value) |
| Writes a 16-bit integer from the stream. More...
|
|
void | WriteInt32 (std::ostream &stream, long value) |
| Writes a 32-bit integer to the stream. More...
|
|
void | WriteInt8 (std::ostream &stream, char value) |
| Writes an 8-bit integer from the stream. More...
|
|
void | WritePoint (std::ostream &stream, Geometry::Point p) |
| Saves the point as two consecutive 32bit integers. More...
|
|
template<class F_ = Float> |
std::enable_if< std::is_same< F_, float >::value, void >::type | WritePointf (std::ostream &stream, Geometry::Pointf p) |
| Saves the point as two consecutive floats. This function will not work if float type is double. More...
|
|
void | WriteRGBA (std::ostream &stream, Graphics::RGBA value) |
| Writes a RGBA color, R will be saved first. More...
|
|
void | WriteRGBAf (std::ostream &stream, Graphics::RGBAf value) |
| Writes a RGBAf color, R will be saved first. More...
|
|
void | WriteSize (std::ostream &stream, Geometry::Size s) |
| Saves the size as two consecutive 32bit integers. More...
|
|
void | WriteString (std::ostream &stream, const std::string &value) |
| Writes a string without its size. More...
|
|
void | WriteStringWithSize (std::ostream &stream, const std::string &value) |
| Writes a string from a given stream. More...
|
|
void | WriteUInt16 (std::ostream &stream, unsigned value) |
| Writes a 16-bit unsigned integer from the stream. More...
|
|
void | WriteUInt32 (std::ostream &stream, unsigned long value) |
| Writes a 32-bit unsigned integer from the stream. More...
|
|
void | WriteUInt8 (std::ostream &stream, Byte value) |
| Writes an 8-bit unsigned integer from the stream. More...
|
|
template<class T_ > |
void | WriteVector (std::ostream &stream, const std::vector< T_ > &data) |
| Writes a vector to the stream. More...
|
|