![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Outputsource writing to file.
Contained in: global
Derived from:
CL_OutputSource
Derived by:
none
Group: Core (I/O Data)
#include <ClanLib/core.h>
public function member index: |
||
Construction: |
||
CL_OutputSource_File | (const std::string& file); | |
CL_OutputSource_File | (); | |
virtual | ~CL_OutputSource_File | (); |
Attributes: |
||
virtual int | tell | () const; |
virtual int | size | () const; |
std::string | get_data | () const; |
Operations: |
||
virtual int | write | (const void* data, int size); |
virtual void | open | (); |
virtual void | close | (); |
virtual CL_OutputSource* | clone | (); |
Returns - The copy of the output source.
Returns - Pointer to the data written.
Returns - Current size of output source.
Returns - Current position in source.
data - Points to the array written.
size - Number of bytes to write.
Returns - Num bytes actually written.