TorqueScript  0.2
Public Member Functions | Public Attributes | List of all members
TorqueScript::FileHandleBase Class Referenceabstract
Inheritance diagram for TorqueScript::FileHandleBase:
Inheritance graph
[legend]

Public Member Functions

 FileHandleBase (const std::string &path)
 
virtual bool isOpen ()=0
 
virtual void seek (const std::streampos &position)=0
 
virtual void seek (const std::streampos &offset, std::ios_base::seekdir way)=0
 
virtual void read (char *out, const std::size_t size)=0
 
virtual void close ()
 
virtual bool isEOF ()=0
 
virtual void write (const char *buffer, const std::size_t size)=0
 
virtual std::string readLine ()=0
 
virtual std::streampos tell ()=0
 
virtual void openForWrite ()=0
 
virtual void openForRead ()=0
 
virtual void openForReadAndWrite ()=0
 
virtual bool exists ()=0
 
virtual bool deleteFile ()=0
 

Public Attributes

const std::string mPath
 The file path this handle refers to.
 

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