|
Public Member Functions |
| FUSION_EXPORT | File () |
| | DECLARE_CLASS (File, Object) |
| virtual FUSION_EXPORT int | getIndex (lua_State *l) |
| FUSION_EXPORT bool | read (double &v) |
| FUSION_EXPORT int32_t | read (void *buf, uint32_t size) |
| FUSION_EXPORT int32_t | write (const void *buf, uint32_t size) |
| FUSION_EXPORT int32_t | write (const char *buf) |
| FUSION_EXPORT int32_t | write (double d) |
| FUSION_EXPORT int32_t | write (int32_t i) |
| FUSION_EXPORT bool | open (const UTF8String &filename, const UTF8String &mode) |
| FUSION_EXPORT bool | close () |
| FUSION_EXPORT double | seek (const UTF8String &whence, double offset) |
| FUSION_EXPORT bool | setvbuf (const UTF8String &mode, double size) |
| FUSION_EXPORT void | flush () |
| FUSION_EXPORT UTF8String | readline () |
| FUSION_EXPORT bool | isEOF () const |
| FUSION_EXPORT ResultType | getError () const |
| FUSION_EXPORT DataStream * | getDataStream () |
| FUSION_EXPORT const DataStream * | getDataStream () const |
| FUSION_EXPORT bool | isNative () const |
| FUSION_EXPORT void * | getSymbol (const UTF8String &name) |
| FUSION_EXPORT UTF8String | getcwd () |
Static Public Member Functions |
| static int | _open (Args &args) |
| static int | _flush (Args &args) |
| static int | _input (Args &args) |
| static int | _output (Args &args) |
| static int | _lines (Args &args) |
| static int | _read (Args &args) |
| static int | _write (Args &args) |
| static int | _remove (Args &args) |
| static int | _rename (Args &args) |
| static int | _execute (Args &args) |
| static FUSION_EXPORT Object * | tmpfile () |
| static FUSION_EXPORT Value | type (Object *obj) |
| static FUSION_EXPORT UTF8String | getErrorString (ResultType code) |
| static FUSION_EXPORT UTF8String | openFileDialog (const Value &filter) |
| static FUSION_EXPORT ResultType | remove (const UTF8String &filename) |
| static FUSION_EXPORT ResultType | rename (const UTF8String &oldname, const UTF8String &newname) |
| static FUSION_EXPORT ResultType | execute (const UTF8String &cmd) |
Protected Member Functions |
| virtual FUSION_EXPORT | ~File () |
Static Protected Member Functions |
| static int | _setDefaultFile (Args &args, const char *name, int32_t i, const UTF8String &mode) |
| static int | _readFile (Args &args, File *f, int32_t first) |