synfig::CanvasParser Class Reference

#include <loadcanvas.h>

List of all members.

Public Member Functions

 CanvasParser ()
CanvasParserset_allow_errors (bool x)
CanvasParserset_max_warnings (int i)
 Sets the maximum number of warnings before a fatal error is thrown.
int get_max_warnings ()
 Returns the maximum number of warnings before a fatal_error is thrown.
int error_count () const
 Returns the number of errors in the last parse.
int warning_count () const
 Returns the number of warnings in the last parse.
void set_path (const synfig::String &x)
const synfig::Stringget_path () const
Canvas::Handle parse_from_file (const String &filename)
Canvas::Handle parse_from_file_as (const String &filename, const String &as)
Canvas::Handle parse_from_string (const String &data)


Detailed Description

Todo:
writeme


Constructor & Destructor Documentation

synfig::CanvasParser::CanvasParser  )  [inline]
 


Member Function Documentation

CanvasParser& synfig::CanvasParser::set_allow_errors bool  x  )  [inline]
 

Todo:
writeme

CanvasParser& synfig::CanvasParser::set_max_warnings int  i  )  [inline]
 

Sets the maximum number of warnings before a fatal error is thrown.

int synfig::CanvasParser::get_max_warnings  )  [inline]
 

Returns the maximum number of warnings before a fatal_error is thrown.

int synfig::CanvasParser::error_count  )  const [inline]
 

Returns the number of errors in the last parse.

int synfig::CanvasParser::warning_count  )  const [inline]
 

Returns the number of warnings in the last parse.

void synfig::CanvasParser::set_path const synfig::String x  )  [inline]
 

const synfig::String& synfig::CanvasParser::get_path  )  const [inline]
 

Canvas::Handle CanvasParser::parse_from_file const String filename  ) 
 

Todo:
writeme

Canvas::Handle CanvasParser::parse_from_file_as const String filename,
const String as
 

Canvas::Handle CanvasParser::parse_from_string const String data  ) 
 

Todo:
writeme


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 15:20:51 2006 for synfig by  doxygen 1.4.6