Classes | Macros | Typedefs | Functions
xsfile.h File Reference
#include "xstypesconfig.h"
#include "pstdint.h"
#include <stdio.h>
#include "xsresultvalue.h"
#include "xsfilepos.h"
#include "xsstring.h"
Include dependency graph for xsfile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XsFile
 Encapsulates a file, providing a platform independent interface. More...
 

Macros

#define XS_MAX_FILENAME_LENGTH   PATH_MAX
 
#define XSFILE_INITIALIZER   { 0 }
 

Typedefs

typedef struct XsFile XsFile
 

Macro Definition Documentation

◆ XS_MAX_FILENAME_LENGTH

#define XS_MAX_FILENAME_LENGTH   PATH_MAX

Definition at line 78 of file xsfile.h.

◆ XSFILE_INITIALIZER

#define XSFILE_INITIALIZER   { 0 }

Definition at line 86 of file xsfile.h.

Typedef Documentation

◆ XsFile

typedef struct XsFile XsFile

Definition at line 326 of file xsfile.h.

Function Documentation

◆ XsFile_close()

XSTYPES_DLL_API XsResultValue XsFile_close ( struct XsFile thisPtr)
related

◆ XsFile_create()

XSTYPES_DLL_API XsResultValue XsFile_create ( struct XsFile thisPtr,
const struct XsString filename,
int  writeOnly 
)
related

◆ XsFile_createText()

XSTYPES_DLL_API XsResultValue XsFile_createText ( struct XsFile thisPtr,
const struct XsString filename,
int  writeOnly 
)
related

◆ XsFile_destruct()

XSTYPES_DLL_API void XsFile_destruct ( struct XsFile thisPtr)
related

◆ XsFile_eof()

XSTYPES_DLL_API int XsFile_eof ( struct XsFile const *  thisPtr)
related

◆ XsFile_erase()

XSTYPES_DLL_API XsResultValue XsFile_erase ( const struct XsString filename)
related

◆ XsFile_error()

XSTYPES_DLL_API XsResultValue XsFile_error ( struct XsFile const *  thisPtr)
related

◆ XsFile_exists()

XSTYPES_DLL_API int XsFile_exists ( const struct XsString filename)
related

◆ XsFile_flush()

XSTYPES_DLL_API XsResultValue XsFile_flush ( struct XsFile thisPtr)
related

◆ XsFile_fullPath()

XSTYPES_DLL_API XsResultValue XsFile_fullPath ( const struct XsString filename,
struct XsString fullPath 
)
related

◆ XsFile_getc()

XSTYPES_DLL_API int XsFile_getc ( struct XsFile thisPtr)
related

◆ XsFile_getline()

XSTYPES_DLL_API XsResultValue XsFile_getline ( struct XsFile thisPtr,
struct XsString line 
)
related

◆ XsFile_gets()

XSTYPES_DLL_API char* XsFile_gets ( struct XsFile thisPtr,
char *  str,
int  num 
)
related

◆ XsFile_handle()

XSTYPES_DLL_API FILE* XsFile_handle ( struct XsFile thisPtr)
related

◆ XsFile_isOpen()

XSTYPES_DLL_API int XsFile_isOpen ( const struct XsFile thisPtr)
related

◆ XsFile_open()

XSTYPES_DLL_API XsResultValue XsFile_open ( struct XsFile thisPtr,
const struct XsString filename,
int  readOnly 
)
related

◆ XsFile_openText()

XSTYPES_DLL_API XsResultValue XsFile_openText ( struct XsFile thisPtr,
const struct XsString filename,
int  readOnly 
)
related

◆ XsFile_putc()

XSTYPES_DLL_API XsResultValue XsFile_putc ( struct XsFile thisPtr,
int  character 
)
related

◆ XsFile_puts()

XSTYPES_DLL_API XsResultValue XsFile_puts ( struct XsFile thisPtr,
const char *  str 
)
related

◆ XsFile_read()

XSTYPES_DLL_API XsFilePos XsFile_read ( struct XsFile thisPtr,
void *  destination,
XsFilePos  size,
XsFilePos  count 
)
related

◆ XsFile_reopen()

XSTYPES_DLL_API XsResultValue XsFile_reopen ( struct XsFile thisPtr,
const struct XsString filename,
const struct XsString mode 
)
related

◆ XsFile_resize()

XSTYPES_DLL_API XsResultValue XsFile_resize ( struct XsFile thisPtr,
XsFilePos  fileSize 
)
related

◆ XsFile_seek()

XSTYPES_DLL_API XsResultValue XsFile_seek ( struct XsFile thisPtr,
XsFilePos  offset 
)
related

◆ XsFile_seek_r()

XSTYPES_DLL_API XsResultValue XsFile_seek_r ( struct XsFile thisPtr,
XsFilePos  offset 
)
related

◆ XsFile_tell()

XSTYPES_DLL_API XsFilePos XsFile_tell ( struct XsFile const *  thisPtr)
related

◆ XsFile_truncate()

XSTYPES_DLL_API XsResultValue XsFile_truncate ( struct XsFile thisPtr,
XsFilePos  fileSize 
)
related

◆ XsFile_write()

XSTYPES_DLL_API XsFilePos XsFile_write ( struct XsFile thisPtr,
const void *  source,
XsFilePos  size,
XsFilePos  count 
)
related


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21