Home | All Classes | Grouped Classes | Index | Search
Interface to write data to different types of output sources. More...
Derived from:
none
Derived by:
CL_OutputSource_File
CL_OutputSource_Memory
CL_OutputSource_NetPacket
CL_OutputSource_NetStream
CL_OutputSource_Socket
CL_OutputSource_Zipped
Group: Core (I/O Data)
#include <ClanLib/core.h>
Construction:
Output Source constructor. |
Attributes:
Returns current position in output source. | |
Returns the size of the output source. |
Operations:
Changes output data endianess to the local systems mode. | |
Changes output data endianess to big endian mode. | |
Changes output data endianess to little endian mode. This is the default setting. | |
Writes a signed 64 bit integer to output source. | |
Writes an unsigned 64 bit integer to output source. | |
Writes a signed 32 bit integer to output source. | |
Writes an unsigned 32 bit integer to output source. | |
Writes a signed 16 bit integer to output source. | |
Writes an unsigned 16 bit integer to output source. | |
Writes a signed 8 bit integer to output source. | |
Writes an unsigned 8 bit integer to output source. | |
Writes a signed 16 bit integer (short) to output source. | |
Writes an unsigned 16 bit integer (short) to output source. | |
Writes a signed 8 bit integer (char) to output source. | |
Writes an unsigned 8 bit integer (char) to output source. | |
Writes an ieee format floating point to output source. | |
Writes an ieee format double to output source. | |
Writes a bool to output source. | |
Writes a string to the output source. | |
Writes larger amounts of data (no endian and 64 bit conversion). | |
Opens the output source. By default, it is open. | |
Closes the output source. | |
Make a copy of the current outputsource, standing at the same position. |
Implementation:
Detailed description:
!group=Core/IO Data! !header=core.h!CL_OutputSource is used to write data to different types of input sources. In most cases, this is regular files and ClanLib zlib compressed datafiles.
To access some system specific output source types, such as datafiles and regular ones, use the static create functions in the CL_OutputSourceProvider class.
CL_OutputSourceProvider - Interface to open output sources with.