| - Cal3D 0.11 API Reference - |
#include <platform.h>
Static Public Member Functions | |
| static bool | readBytes (std::istream &input, void *pBuffer, int length) |
| Reads a number of bytes. | |
| static bool | readFloat (std::istream &input, float &value) |
| Reads a float. | |
| static bool | readInteger (std::istream &input, int &value) |
| Reads an integer. | |
| static bool | readString (std::istream &input, std::string &strValue) |
| Reads a string. | |
| static bool | readBytes (char *input, void *pBuffer, int length) |
| Reads a number of bytes. | |
| static bool | readFloat (char *input, float &value) |
| Reads a float. | |
| static bool | readInteger (char *input, int &value) |
| Reads an integer. | |
| static bool | readString (char *input, std::string &strValue) |
| Reads a string. | |
| static bool | writeBytes (std::ostream &output, const void *pBuffer, int length) |
| Writes a number of bytes. | |
| static bool | writeFloat (std::ostream &output, float value) |
| Writes a float. | |
| static bool | writeInteger (std::ostream &output, int value) |
| Writes an integer. | |
| static bool | writeString (std::ostream &output, const std::string &strValue) |
| Writes a string. | |
Protected Member Functions | |
| CalPlatform () | |
| Constructs the platform instance. | |
| virtual | ~CalPlatform () |
| Destructs the platform instance. | |
|
|
Constructs the platform instance. This function is the default constructor of the platform instance. |
|
|
Destructs the platform instance. This function is the destructor of the platform instance. |
|
||||||||||||||||
|
Reads a number of bytes. This function reads a given number of bytes from a memory buffer.
|
|
||||||||||||||||
|
Reads a number of bytes. This function reads a given number of bytes from an input stream.
|
|
||||||||||||
|
Reads a float. This function reads a float from a memory buffer.
|
|
||||||||||||
|
Reads a float. This function reads a float from an input stream.
|
|
||||||||||||
|
Reads an integer. This function reads an integer from a memory buffer.
|
|
||||||||||||
|
Reads an integer. This function reads an integer from an input stream.
|
|
||||||||||||
|
Reads a string. This function reads a string from a memory buffer.
|
|
||||||||||||
|
Reads a string. This function reads a string from an input stream.
|
|
||||||||||||||||
|
Writes a number of bytes. This function writes a given number of bytes to an output stream.
|
|
||||||||||||
|
Writes a float. This function writes a float to an output stream.
|
|
||||||||||||
|
Writes an integer. This function writes an integer to an output stream.
|
|
||||||||||||
|
Writes a string. This function writes a string to an output stream.
|