#include <cel_stdstream.h>

Public Types | |
| enum | FileMode { fmText = 0, fmBinary = 1 } |
Public Member Functions | |
| virtual void | setMode (FileMode inMode)=0 |
Static Public Member Functions | |
| static AutoPtr< StdioStream > | create (std::FILE *inFile, bool inCloseOnDelete=false) |
Definition at line 19 of file cel_stdstream.h.
This enumeration defines Text Mode and Binary Mode.
Definition at line 25 of file cel_stdstream.h.
| virtual void Celartem::StdioStream::setMode | ( | FileMode | inMode | ) | [pure virtual] |
Set file mode of the StdioStream instance.
This function works only with Windows platform.
| static AutoPtr<StdioStream> Celartem::StdioStream::create | ( | std::FILE * | inFile, | |
| bool | inCloseOnDelete = false | |||
| ) | [static] |
This function creates a StdioStream instance.
| inFile | A valid FILE pointer. | |
| inCloseOnDelete | If this value is true, the instance to be created finally closes the FILE handle in the destructor. | |
| Pointer | to the newly created StdioStream instance. |