dlua_chunk Class Reference

#include <dlua.h>

List of all members.

Public Member Functions

 dlua_chunk (const std::string &_context="dlua_chunk")
 dlua_chunk (lua_State *ls)
std::string describe (const std::string &chunkname) const
void clear ()
void add (int line, const std::string &line2)
void set_chunk (const std::string &s)
int load (CLua &interp)
int run (CLua &interp)
int load_call (CLua &interp, const char *function)
void set_file (const std::string &s)
const std::stringlua_string () const
std::string orig_error () const
bool rewrite_chunk_errors (std::string &err) const
bool empty () const
const std::stringcompiled_chunk () const
void write (writer &) const
void read (reader &)

Static Public Member Functions

static dlua_chunk precompiled (const std::string &compiled)

Public Attributes

std::string error


Constructor & Destructor Documentation

dlua_chunk::dlua_chunk ( const std::string _context = "dlua_chunk"  ) 

Here is the call graph for this function:

dlua_chunk::dlua_chunk ( lua_State *  ls  ) 

Here is the call graph for this function:


Member Function Documentation

dlua_chunk dlua_chunk::precompiled ( const std::string compiled  )  [static]

std::string dlua_chunk::describe ( const std::string chunkname  )  const

Here is the call graph for this function:

void dlua_chunk::clear (  ) 

void dlua_chunk::add ( int  line,
const std::string line2 
)

void dlua_chunk::set_chunk ( const std::string s  ) 

int dlua_chunk::load ( CLua interp  ) 

Here is the call graph for this function:

int dlua_chunk::run ( CLua interp  ) 

Here is the call graph for this function:

int dlua_chunk::load_call ( CLua interp,
const char *  function 
)

Here is the call graph for this function:

void dlua_chunk::set_file ( const std::string s  ) 

const std::string& dlua_chunk::lua_string (  )  const [inline]

std::string dlua_chunk::orig_error (  )  const

Here is the call graph for this function:

bool dlua_chunk::rewrite_chunk_errors ( std::string err  )  const

Here is the call graph for this function:

bool dlua_chunk::empty (  )  const

Here is the call graph for this function:

const std::string& dlua_chunk::compiled_chunk (  )  const [inline]

void dlua_chunk::write ( writer outf  )  const

Here is the call graph for this function:

void dlua_chunk::read ( reader inf  ) 

Here is the call graph for this function:


Member Data Documentation


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

Generated on Thu Jan 13 13:33:15 2011 by  doxygen 1.5.6