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

Wintermute::SXMemBuffer Class Reference

#include <script_ext_mem_buffer.h>

Inheritance diagram for Wintermute::SXMemBuffer:
Collaboration diagram for Wintermute::SXMemBuffer:

List of all members.

Public Member Functions

int scCompare (BaseScriptable *Val) override
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
 SXMemBuffer (BaseGame *inGame, ScStack *stack)
 SXMemBuffer (BaseGame *inGame, void *buffer)
 ~SXMemBuffer () override
void * scToMemBuffer () override

Private Member Functions

bool resize (int newSize)
void cleanup ()
bool checkBounds (ScScript *script, int start, int length)

Private Attributes

int32 _size
void * _buffer

Detailed Description

Definition at line 37 of file script_ext_mem_buffer.h.


Constructor & Destructor Documentation

Wintermute::SXMemBuffer::SXMemBuffer ( BaseGame inGame,
ScStack stack 
)

Definition at line 45 of file script_ext_mem_buffer.cpp.

Wintermute::SXMemBuffer::SXMemBuffer ( BaseGame inGame,
void *  buffer 
)

Definition at line 55 of file script_ext_mem_buffer.cpp.

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

Definition at line 62 of file script_ext_mem_buffer.cpp.


Member Function Documentation

bool Wintermute::SXMemBuffer::checkBounds ( ScScript script,
int  start,
int  length 
) [private]

Definition at line 111 of file script_ext_mem_buffer.cpp.

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

Definition at line 72 of file script_ext_mem_buffer.cpp.

bool Wintermute::SXMemBuffer::resize ( int  newSize  )  [private]

Definition at line 81 of file script_ext_mem_buffer.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 135 of file script_ext_mem_buffer.cpp.

int Wintermute::SXMemBuffer::scCompare ( BaseScriptable Val  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 521 of file script_ext_mem_buffer.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 450 of file script_ext_mem_buffer.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 474 of file script_ext_mem_buffer.cpp.

void * Wintermute::SXMemBuffer::scToMemBuffer (  )  [override, virtual]

Reimplemented from Wintermute::BaseScriptable.

Definition at line 67 of file script_ext_mem_buffer.cpp.

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

Reimplemented from Wintermute::BaseScriptable.

Definition at line 129 of file script_ext_mem_buffer.cpp.


Member Data Documentation

Definition at line 53 of file script_ext_mem_buffer.h.

Definition at line 50 of file script_ext_mem_buffer.h.


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


Generated on Sat Sep 26 2020 05:04:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge