KiCad PCB EDA Suite
Loading...
Searching...
No Matches
orcad_library.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* Based on the dsn2kicad reference implementation and on OrCAD file format
7
* documentation from the OpenOrCadParser project (MIT licensed).
8
*
9
* This program is free software: you can redistribute it and/or modify it
10
* under the terms of the GNU General Public License as published by the
11
* Free Software Foundation, either version 3 of the License, or (at your
12
* option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful, but
15
* WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <https://www.gnu.org/licenses/>.
21
*/
22
30
31
#ifndef ORCAD_LIBRARY_H_
32
#define ORCAD_LIBRARY_H_
33
34
#include <vector>
35
36
#include <
sch_io/orcad/orcad_records.h
>
37
#include <
sch_io/orcad/orcad_stream.h
>
38
44
ORCAD_PAGE_SETTINGS
OrcadParsePageSettings
(
ORCAD_STREAM
& aStream );
45
69
ORCAD_LIBRARY_INFO
OrcadParseLibrary
(
const
std::vector<char>& aData );
70
71
#endif
// ORCAD_LIBRARY_H_
ORCAD_STREAM
Little-endian byte cursor over one OrCAD Capture DSN stream.
Definition
orcad_stream.h:58
OrcadParsePageSettings
ORCAD_PAGE_SETTINGS OrcadParsePageSettings(ORCAD_STREAM &aStream)
Read one 156-byte PageSettings block at the current cursor (embedded both in the Library stream and i...
Definition
orcad_library.cpp:45
OrcadParseLibrary
ORCAD_LIBRARY_INFO OrcadParseLibrary(const std::vector< char > &aData)
Parse the whole 'Library' stream.
Definition
orcad_library.cpp:75
orcad_records.h
Plain data records produced by the OrCAD Capture DSN stream parsers and consumed by ORCAD_CONVERTER.
orcad_stream.h
ORCAD_LIBRARY_INFO
Decoded Library stream: format version, fonts, and the string table that all property name/value indi...
Definition
orcad_records.h:571
ORCAD_PAGE_SETTINGS
The 156-byte PageSettings block embedded in the Library stream and in every Page stream: 8 bytes crea...
Definition
orcad_records.h:550
src
eeschema
sch_io
orcad
orcad_library.h
Generated on Sat Jul 25 2026 00:05:55 for KiCad PCB EDA Suite by
1.13.2