ginga 1.0
The Ginga iTV middleware
Loading...
Searching...
No Matches
ginga::ParserLua Class Reference

Static Public Member Functions

static DocumentparseBuffer (const void *, size_t, string *)
 Parses NCL-ltab from memory buffer.
 
static DocumentparseFile (const string &, string *)
 Parses NCL-ltab from Lua script.
 

Member Function Documentation

◆ parseBuffer()

Document * ginga::ParserLua::parseBuffer ( const void * buf,
size_t size,
string * errmsg )
static

Parses NCL-ltab from memory buffer.

Parameters
bufBuffer.
sizeBuffer size in bytes.
[out]errmsgVariable to store the error message (if any).
Returns
The resulting #Document if successful, or null otherwise.

◆ parseFile()

Document * ginga::ParserLua::parseFile ( const string & path,
string * errmsg )
static

Parses NCL-ltab from Lua script.

Parameters
pathFile path.
[out]errmsgVariable to store the error message (if any).
Returns
The resulting #Document if successful, or null otherwise.

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