Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

LuaStateOutFile Class Reference

#include <LuaState.h>

List of all members.

Public Methods

 LuaStateOutFile ()
virtual ~LuaStateOutFile ()
virtual bool Open (const char *fileName)
virtual void Close ()
virtual void Print (const char *str,...)
bool Assign (FILE *file)

Protected Attributes

FILE * m_file
bool m_fileOwner


Detailed Description

The WriteLuaObject() facility uses a LuaStateOutFile derived class to output data to. The LuaStateOutFile class may be derived from to enable an application specific method of output.

Definition at line 1390 of file LuaState.h.


Constructor & Destructor Documentation

LuaStateOutFile::LuaStateOutFile   [inline]
 

Definition at line 1393 of file LuaState.h.

virtual LuaStateOutFile::~LuaStateOutFile   [inline, virtual]
 

Definition at line 1394 of file LuaState.h.


Member Function Documentation

bool LuaStateOutFile::Assign FILE *    file [inline]
 

Definition at line 1428 of file LuaState.h.

virtual void LuaStateOutFile::Close   [inline, virtual]
 

Definition at line 1410 of file LuaState.h.

virtual bool LuaStateOutFile::Open const char *    fileName [inline, virtual]
 

Definition at line 1400 of file LuaState.h.

virtual void LuaStateOutFile::Print const char *    str,
...   
[inline, virtual]
 

Definition at line 1416 of file LuaState.h.

Referenced by IndentFile(), and luaI_addquotedbinary().


Member Data Documentation

FILE* LuaStateOutFile::m_file [protected]
 

Definition at line 1437 of file LuaState.h.

bool LuaStateOutFile::m_fileOwner [protected]
 

Definition at line 1438 of file LuaState.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 7 21:15:17 2001 for LuaState(LuaWrapper) by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001