| - Cal3D 0.9 API Reference - |
#include <platform.h>
Static Public Methods | |
| bool | readBytes (std::istream &input, void *pBuffer, int length) |
| Reads a number of bytes. More... | |
| bool | readFloat (std::istream &input, float &value) |
| Reads a float. More... | |
| bool | readInteger (std::istream &input, int &value) |
| Reads an integer. More... | |
| bool | readString (std::istream &input, std::string &strValue) |
| Reads a string. More... | |
| bool | readBytes (char *input, void *pBuffer, int length) |
| Reads a number of bytes. More... | |
| bool | readFloat (char *input, float &value) |
| Reads a float. More... | |
| bool | readInteger (char *input, int &value) |
| Reads an integer. More... | |
| bool | readString (char *input, std::string &strValue) |
| Reads a string. More... | |
| bool | writeBytes (std::ostream &output, const void *pBuffer, int length) |
| Writes a number of bytes. More... | |
| bool | writeFloat (std::ostream &output, float value) |
| Writes a float. More... | |
| bool | writeInteger (std::ostream &output, int value) |
| Writes an integer. More... | |
| bool | writeString (std::ostream &output, const std::string &strValue) |
| Writes a string. More... | |
Protected Methods | |
| CalPlatform () | |
| Constructs the platform instance. More... | |
| virtual | ~CalPlatform () |
| Destructs the platform instance. More... | |
|
|
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.
|
1.2.14
© 1997-2001
Dimitri van Heesch