ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <script_ext_file.h>

Inheritance diagram for Wintermute::SXFile:
Collaboration diagram for Wintermute::SXFile:

List of all members.

Public Member Functions

ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
const char * scToString () override
 SXFile (BaseGame *inGame, ScStack *Stack)
 ~SXFile () override

Private Member Functions

void close ()
void cleanup ()
uint32 getPos ()
uint32 getLength ()
bool setPos (uint32 pos, int whence=SEEK_SET)
Common::WriteStreamopenForWrite (const Common::String &filename, bool binary)
Common::WriteStreamopenForAppend (const Common::String &filename, bool binary)

Private Attributes

Common::SeekableReadStream_readFile
Common::WriteStream_writeFile
int32 _mode
bool _textMode
char * _filename

Detailed Description

Definition at line 40 of file script_ext_file.h.


Constructor & Destructor Documentation

Wintermute::SXFile::SXFile ( BaseGame inGame,
ScStack Stack 
)

Definition at line 51 of file script_ext_file.cpp.

Wintermute::SXFile::~SXFile (  )  [override]

Definition at line 69 of file script_ext_file.cpp.


Member Function Documentation

void Wintermute::SXFile::cleanup (  )  [private]

Definition at line 74 of file script_ext_file.cpp.

void Wintermute::SXFile::close (  )  [private]

Definition at line 82 of file script_ext_file.cpp.

uint32 Wintermute::SXFile::getLength (  )  [private]

Definition at line 748 of file script_ext_file.cpp.

uint32 Wintermute::SXFile::getPos (  )  [private]

Definition at line 722 of file script_ext_file.cpp.

Common::WriteStream * Wintermute::SXFile::openForAppend ( const Common::String filename,
bool  binary 
) [private]

Definition at line 824 of file script_ext_file.cpp.

Common::WriteStream * Wintermute::SXFile::openForWrite ( const Common::String filename,
bool  binary 
) [private]

Definition at line 819 of file script_ext_file.cpp.

bool Wintermute::SXFile::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 107 of file script_ext_file.cpp.

ScValue * Wintermute::SXFile::scGetProperty ( const Common::String name  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 644 of file script_ext_file.cpp.

bool Wintermute::SXFile::scSetProperty ( const char *  name,
ScValue value 
) [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 700 of file script_ext_file.cpp.

const char * Wintermute::SXFile::scToString (  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 97 of file script_ext_file.cpp.

bool Wintermute::SXFile::setPos ( uint32  pos,
int  whence = SEEK_SET 
) [private]

Definition at line 735 of file script_ext_file.cpp.


Member Data Documentation

Definition at line 59 of file script_ext_file.h.

Definition at line 52 of file script_ext_file.h.

Definition at line 53 of file script_ext_file.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:06:31 for ResidualVM by doxygen 1.7.1
curved edge   curved edge