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

Describes the properties of a gEDA schematic/symbol file format version. More...

Public Member Functions

def __init__
 Create a new instance from a version number pair and derive its properties. More...
 

Public Attributes

 release_ver
 libgeda release version number More...
 
 fileformat_ver
 libgeda file format version number More...
 
 supports_text_alignment
 Is the text alignment attribute supported? More...
 
 supports_linefill_attributes
 Are line and fill attributes supported? More...
 
 enhanced_pinbus_format
 Are bus pins, whichend and ripperdir attributes supported? More...
 
 supports_multiline_text
 Can text objects have multiple lines? More...
 

Detailed Description

Describes the properties of a gEDA schematic/symbol file format version.

The file format version of a gEDA file is described by a line of the form

 v release_version fileformat_version

where release_version is an eight-digit number representing a date and fileformat_version is a low integer (usually 1 or 2). These represent the file format features that are used:

Feature Release version File format version
Text alignment attribute >= February 20th, 2000
Line and fill attributes > September 4th, 2000
Bus pins, whichend and ripperdir attribute > August 25th, 2002
Text objects with multiple lines (October 2003) >= 1
Path objects (November 2008) >= 2

Depending on the version of the file format, the file is parsed differently. The unspecified parameters in the older file formats are set to default values.

In older libgeda file format versions there was no information about the active end of pins.

Definition at line 66 of file plainread.py.

Constructor & Destructor Documentation

def xorn.geda.plainread.FileFormat.__init__ (   self,
  release_ver,
  fileformat_ver 
)

Create a new instance from a version number pair and derive its properties.

Definition at line 69 of file plainread.py.

Member Data Documentation

xorn.geda.plainread.FileFormat.enhanced_pinbus_format

Are bus pins, whichend and ripperdir attributes supported?

Definition at line 84 of file plainread.py.

xorn.geda.plainread.FileFormat.fileformat_ver

libgeda file format version number

Definition at line 73 of file plainread.py.

xorn.geda.plainread.FileFormat.release_ver

libgeda release version number

Definition at line 71 of file plainread.py.

xorn.geda.plainread.FileFormat.supports_linefill_attributes

Are line and fill attributes supported?

Definition at line 81 of file plainread.py.

xorn.geda.plainread.FileFormat.supports_multiline_text

Can text objects have multiple lines?

Definition at line 87 of file plainread.py.

xorn.geda.plainread.FileFormat.supports_text_alignment

Is the text alignment attribute supported?

Definition at line 76 of file plainread.py.


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