Home | All Classes | Grouped Classes | Index | Search

Class CL_OutputSource_File

Outputsource writing to file. More...

Derived from: CL_OutputSource
Derived by: none
Group: Core (I/O Data)

#include <ClanLib/core.h>

Construction:

CL_OutputSource_File

Construct file output source.

Attributes:

tell

Returns current position in output source.

size

Returns the size of the output source.

Operations:

write

Writes larger amounts of data (no endian and 64 bit conversion):

open

Opens the output source. By default, it is open.

close

Closes the output source.

clone

Make a copy of the current outputsource, standing at the same position.

Detailed description:

!group=Core/IO Data! !header=core.h!

CL_OutputSource_File provides write access to files while internally dealing with endianess. CL_OutputSource_File should not be instantiated directly, but rather CL_OutputSourceProvider should create the appropriate output source.



Questions or comments, write to the
ClanLib mailing list.