Main   GitHub

Methods | List of all members
FileStreamObject Class Reference

Inherits StreamObject, and StreamObject.

Methods

void close ()
 
void close ()
 
bool open (filename, mode)
 
bool open (filename, mode)
 
- Methods inherited from StreamObject
bool copyFrom (StreamObject other)
 
bool copyFrom (StreamObject other)
 
int getPosition ()
 
int getPosition ()
 
string getStatus ()
 
string getStatus ()
 
int getStreamSize ()
 
int getStreamSize ()
 
bool isEOF ()
 
bool isEOF ()
 
bool isEOS ()
 
bool isEOS ()
 
string readLine ()
 
string readLine ()
 
string readLongString (maxLength)
 
string readLongString (maxLength)
 
string readString ()
 
string readString ()
 
string readSTString ([caseSensitive=false])
 
string readSTString ([caseSensitive=false])
 
bool setPosition (newPosition)
 
bool setPosition (newPosition)
 
void writeLine (line)
 
void writeLine (line)
 
void writeLongString (maxLength, string)
 
void writeLongString (maxLength, string)
 
void writeString (string,[maxLength=255])
 
void writeString (string,[maxLength=255])
 
- Methods inherited from SimObject
void addFieldFilter (fieldName)
 
void addFieldFilter (fieldName)
 
string call (%args)
 
string call (%args)
 
int clone ([bool copyDynamicFields?=false])
 
int clone ([bool copyDynamicFields?=false])
 
void delete ()
 
void delete ()
 
void dump ()
 
void dump ()
 
void dumpClassHierarchy ()
 
void dumpClassHierarchy ()
 
string getClassName ()
 
string getClassName ()
 
string getClassNamespace ()
 
string getClassNamespace ()
 
string getDynamicField (index)
 
string getDynamicField (index)
 
int getDynamicFieldCount ()
 
int getDynamicFieldCount ()
 
string getField (int index)
 
string getField (int index)
 
int getFieldCount ()
 
int getFieldCount ()
 
string getFieldType (fieldName)
 
string getFieldType (fieldName)
 
string getFieldValue (fieldName)
 
string getFieldValue (fieldName)
 
int getGroup ()
 
int getGroup ()
 
int getId ()
 
int getId ()
 
string getInternalName ()
 
string getInternalName ()
 
string getName ()
 
string getName ()
 
string getProgenitorFile ()
 
string getProgenitorFile ()
 
string getSuperClassNamespace ()
 
string getSuperClassNamespace ()
 
int getType ()
 
int getType ()
 
bool isChildOfGroup ()
 
bool isChildOfGroup ()
 
bool isMemberOfClass (string classname)
 
bool isMemberOfClass (string classname)
 
bool isMethod (string method name)
 
bool isMethod (string method name)
 
bool isTimerActive ()
 
bool isTimerActive ()
 
void removeFieldFilter (fieldName)
 
void removeFieldFilter (fieldName)
 
bool save (fileName,[selectedOnly])
 
bool save (fileName,[selectedOnly])
 
int schedule (time, command,< arg1...argN >)
 
int schedule (time, command,< arg1...argN >)
 
void setClassNamespace ()
 
void setClassNamespace ()
 
bool setFieldValue (fieldName, value)
 
bool setFieldValue (fieldName, value)
 
void setInternalName ()
 
void setInternalName ()
 
void setName (newName)
 
void setName (newName)
 
void setProgenitorFile (file)
 
void setProgenitorFile (file)
 
void setSuperClassNamespace ()
 
void setSuperClassNamespace ()
 
bool startTimer (callbackFunction, float timePeriod,[repeat])
 
bool startTimer (callbackFunction, float timePeriod,[repeat])
 
void stopTimer ()
 
void stopTimer ()
 

Fields

SimBase
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
Namespace Linking
string superclass
 
string class
 
- Fields inherited from StreamObject
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from SimObject
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 

Methods

void FileStreamObject::close ( )

Close the file.

void FileStreamObject::close ( )

Close the file.

bool FileStreamObject::open ( filename  ,
mode   
)

Open a file. Mode can be one of Read, Write, ReadWrite or WriteAppend.

bool FileStreamObject::open ( filename  ,
mode   
)

Open a file. Mode can be one of Read, Write, ReadWrite or WriteAppend.

Member Data Documentation

bool FileStreamObject::canSaveDynamicFields
string FileStreamObject::class

Script SuperClass of object.

string FileStreamObject::internalName
SimObjectPtr FileStreamObject::parentGroup

Group hierarchy parent of the object.

string FileStreamObject::superclass

Script Class of object.



Copyright © 2013 GarageGames, LLC. All Rights Reserved.