File: README.md

package info (click to toggle)
librepcb 1.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 58,484 kB
  • sloc: cpp: 267,986; python: 12,100; ansic: 6,899; xml: 234; sh: 215; makefile: 115; perl: 73
file content (30 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ParsEagle

This is a C++/Qt library for parsing XML files created by EAGLE.

## Build Systems

The library provides both support for qmake (Qt5) and cmake (Qt5/Qt6).

## Error Handling

- Fatal errors while parsing an EAGLE XML file (e.g. invalid numbers) will
  throw a `std::exception`.
- Non-fatal parsing errors (e.g. unknown XML nodes or unknown enum values)
  will be ignored, i.e. parsing is not aborted. Optionally, a `QStringList`
  can be provided where these error messages are appended to. Unknown
  enum attributes will be set to a special value named `Unknown`.
- Any errors after parsing (e.g. failed type conversions in getters) won't
  throw any exceptions but report their success e.g. with a boolean return
  value. So users of this library don't need to handle exceptions anymore
  once the parsing succeeded.

## License

Licensed under either of

- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
  http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.