49 std::string
getline (
bool strip_crlf =
false );
bool next_line(std::string &line, bool strip_crlf)
static bool SaveFromString(const char *filename, const std::string &s, bool binary)
static bool LoadIntoString(std::string &s, const char *filename)
bool write(const void *data, unsigned len)
bool read(void *data, unsigned len)
bool enum_lines(bool(*callback)(const std::string &line, int line_number, long lparam), long lparam, bool strip_crlf)
File(const char *filename, const char *mode)
const File & operator=(const File &)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
const GLuint GLenum const GLvoid * binary
_Check_return_opt_ _CRTIMP int __cdecl fgetc(_Inout_ FILE *_File)
_Check_return_ _CRTIMP int __cdecl feof(_In_ FILE *_File)
_Check_return_opt_ _CRTIMP size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fputc(_In_ int _Ch, _Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP int __cdecl fseek(_Inout_ FILE *_File, _In_ long _Offset, _In_ int _Origin)
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
static IPrintDialogCallback callback