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
38
45
69ORCAD_LIBRARY_INFO OrcadParseLibrary( const std::vector<char>& aData );
70
71#endif // ORCAD_LIBRARY_H_
Little-endian byte cursor over one OrCAD Capture DSN stream.
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...
ORCAD_LIBRARY_INFO OrcadParseLibrary(const std::vector< char > &aData)
Parse the whole 'Library' stream.
Plain data records produced by the OrCAD Capture DSN stream parsers and consumed by ORCAD_CONVERTER.
Decoded Library stream: format version, fonts, and the string table that all property name/value indi...
The 156-byte PageSettings block embedded in the Library stream and in every Page stream: 8 bytes crea...