Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
IoFile.h File Reference

CXStringT is a template class for handling unicode, utf8 or ansi strings. More...

Detailed Description

CXStringT is a template class for handling unicode, utf8 or ansi strings.

#include "StdioFileEx.h"
#include "FileInfo.h"

Go to the source code of this file.

Classes

class  IoFile
 IoFile is a class for reading binary or ascii file using internally a CStdioFileEx. More...
 

Macros

#define END_OF_FILE   CXFile::end
 
#define BEGIN_OF_FILE   CXFile::begin
 
#define CURRENT_POS_OF_FILE   CXFile::current
 

Typedefs

typedef enum IOFILE_FLAGS IOFILE_FLAGS
 

Enumerations

enum  IOFILE_FLAGS {
  IOFILE_NONE = 0x00 , IOFILE_SILENT_MODE = 0x01 , IOFILE_MEMORY_FILE = 0x02 , IOFILE_ALLOW_EXCEPTIONS = 0x04 ,
  IOFILE_TEXT_MODE = 0x08 , IOFILE_UNICODE_TEXT_MODE = 0x10 , IOFILE_UTF8_TEXT_MODE = 0x20 , IOFILE_IS_READING = 0x1000
}
 

Functions

DLL_TOOLSFUNCTION void ReverseBuffer (void *, int)
 

Enumeration Type Documentation

◆ IOFILE_FLAGS

Specify the way an IoFile is opened

Enumerator
IOFILE_TEXT_MODE 

When reading, this will also automatically process file as unicode file if a BOM is present. When writing, the file is output as non unicode file.

IOFILE_UNICODE_TEXT_MODE 

When reading this acts as IOFILE_TEXT_MODE. When writing must be specified to write in Unicode mode.

IOFILE_UTF8_TEXT_MODE 

Combine with IOFILE_TEXT_MODE to force UTF8. Windows only.