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
23
24
#ifndef ORCAD_LIBRARY_H_
25
#define ORCAD_LIBRARY_H_
26
27
#include <vector>
28
29
#include <
sch_io/orcad/orcad_records.h
>
30
#include <
sch_io/orcad/orcad_stream.h
>
31
33
ORCAD_PAGE_SETTINGS
OrcadParsePageSettings
(
ORCAD_STREAM
& aStream );
34
36
ORCAD_LIBRARY_INFO
OrcadParseLibrary
(
const
std::vector<char>& aData );
37
38
#endif
// ORCAD_LIBRARY_H_
ORCAD_STREAM
The caller owns the buffer.
Definition
orcad_stream.h:36
OrcadParsePageSettings
ORCAD_PAGE_SETTINGS OrcadParsePageSettings(ORCAD_STREAM &aStream)
Consumes 156 bytes; throws IO_ERROR on overrun.
Definition
orcad_library.cpp:45
OrcadParseLibrary
ORCAD_LIBRARY_INFO OrcadParseLibrary(const std::vector< char > &aData)
The Library version selects the string-count width.
Definition
orcad_library.cpp:90
orcad_records.h
orcad_stream.h
ORCAD_LIBRARY_INFO
Definition
orcad_records.h:447
ORCAD_PAGE_SETTINGS
Dimensions use mils when isMetric is zero, otherwise micrometres.
Definition
orcad_records.h:413
src
eeschema
sch_io
orcad
orcad_library.h
Generated on Thu Sep 17 2026 00:06:14 for KiCad PCB EDA Suite by
1.13.2