|
TorqueScript Reference
|
Inherits SimObject.
Public Member Functions | |
| bool | copyFrom (StreamObject other) |
| int | getPosition () |
| const char * | getStatus () |
| int | getStreamSize () |
| bool | isEOF () |
| bool | isEOS () |
| const char * | readLine () |
| const char * | readLongString (maxLength) |
| const char * | readString () |
| const char * | readSTString ([caseSensitive=false]) |
| bool | setPosition (newPosition) |
| void | writeLine (line) |
| void | writeLongString (maxLength, string) |
| void | writeString (string,[maxLength=255]) |
Public Member Functions inherited from SimObject | |
| string | call (functionName,[args]*) |
| int | clone ([bool copyDynamicFields?=false]?) |
| void | delete () |
| void | dump () |
| void | dumpClassHierarchy () |
| const char * | getClassName () |
| string | getClassNamespace () |
| string | getDynamicField (index) |
| int | getDynamicFieldCount () |
| string | getField (int index) |
| int | getFieldCount () |
| const char * | getFieldType (fieldName) |
| const char * | getFieldValue (fieldName) |
| int | getGroup () |
| int | getId () |
| string | getInternalName () |
| const char * | getName () |
| string | getProgenitorFile () |
| string | getSuperClassNamespace () |
| int | getType () |
| bool | isChildOfGroup () |
| bool | isMemberOfClass (string classname) |
| bool | isMethod (const char *methodName) |
| bool | isMethod (string method name) |
| bool | isTimerActive () |
| bool | save (fileName,[selectedOnly]?) |
| int | schedule (time, command,[arg]*) |
| void | setClassNamespace () |
| bool | setFieldValue (fieldName, value) |
| void | setInternalName (string InternalName) |
| void | setName (newName) |
| void | setProgenitorFile (file) |
| void | setSuperClassNamespace () |
| bool | startTimer (callbackFunction, float timePeriod,[repeat]?) |
| void | stopTimer () |
Additional Inherited Members | |
Static Public Member Functions inherited from SimObject | |
| static S32 QSORT_CALLBACK | compareFields (const void *a, const void *b) |
| bool copyFrom | ( | StreamObject | other | ) |
Copies stream contents from current position
| other | The StreamObject from which to copy |
| int getPosition | ( | ) |
| const char* getStatus | ( | ) |
Gets the current status of the StreamObject
| int getStreamSize | ( | ) |
Get the size of the stream
| bool isEOF | ( | ) |
| bool isEOS | ( | ) |
Test for end of stream
| const char* readLine | ( | ) |
Read the stream until '\' or EOS
| const char* readLongString | ( | maxLength | ) |
Reads a string of provided length from the stream buffer.
| The | maximum length to read in |
| const char* readString | ( | ) |
Reads a string from a stream buffer
| const char* readSTString | ( | ) |
Read a String and insert it into a StringTable
| caseSensitive | A boolean representing whether the parser should ignore case or not (default false) |
| bool setPosition | ( | newPosition | ) |
Resets the current stream position
| The | desired index |
| void writeLine | ( | line | ) |
Writes a line of text to the stream buffer
| The | line to write |
| void writeLongString | ( | maxLength | , |
| string | |||
| ) |
Writes a string to buffer or provided length
| maxLength | The maximum length to write |
| string | The string to write |
| void writeString | ( | string | ) |
Write a string to the stream buffer
| string | The string to write |
| maxLength | The maximum length to write (default 255). |
1.8.3.1