All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
xorn.geda.read.DefaultLog Class Reference

Default behavior for handling file read errors and warnings. More...

Public Member Functions

def __init__
def error
def warn

Public Attributes


Detailed Description

Default behavior for handling file read errors and warnings.

When reading a file, a log object can be specified which handles any errors and warnings which occur while reading the file. If no log object is specified, a new DefaultLog instance is used instead.

The behavior of DefaultLog is to print any messages to sys.stderr along with the file name passed to the constructor, and to raise a ParseError exception on error.

Definition at line 46 of file read.py.

Constructor & Destructor Documentation

def xorn.geda.read.DefaultLog.__init__ (   self,

Definition at line 47 of file read.py.

Member Function Documentation

def xorn.geda.read.DefaultLog.error (   self,

Definition at line 51 of file read.py.

def xorn.geda.read.DefaultLog.warn (   self,

Definition at line 56 of file read.py.

Member Data Documentation


Definition at line 49 of file read.py.


Definition at line 48 of file read.py.

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