#include <loadcanvas.h>
Public Member Functions | |
| CanvasParser () | |
| CanvasParser & | set_allow_errors (bool x) |
| CanvasParser & | set_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::String & | get_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) |
|
|
|
|
|
|
|
|
Sets the maximum number of warnings before a fatal error is thrown.
|
|
|
Returns the maximum number of warnings before a fatal_error is thrown.
|
|
|
Returns the number of errors in the last parse.
|
|
|
Returns the number of warnings in the last parse.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
1.4.6