Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
cbd4ee88
Commit
cbd4ee88
authored
Dec 13, 2010
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
document LIB_TABLE better, extend scope of SCH namespace, and fix typos
parent
cba930fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
6 deletions
+24
-6
CHANGELOG.txt
CHANGELOG.txt
+1
-1
design.h
new/design.h
+23
-5
No files found.
CHANGELOG.txt
View file @
cbd4ee88
...
...
@@ -7,7 +7,7 @@ email address.
2010-Dec-13 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
++eeschema:
Committed a new design for a "Distributed Library
Managment
System".
Committed a new design for a "Distributed Library System".
To make the html docs, run doxygen in <kicad_base>/new with that as your
current working directory, or run the shell script in there. You need
Doxygen installed.
...
...
new/design.h
View file @
cbd4ee88
namespace
SCH
{
/** @mainpage
...
...
@@ -392,8 +393,6 @@ struct PARSE_ERROR : public IO_ERROR
/** @} exception_types Exception Types */
namespace
SCH
{
/**
* Class PART
...
...
@@ -433,12 +432,16 @@ protected: // not likely to have C++ descendants, but protected none-the-le
// 3 separate lists for speed:
/// A property list.
PROPERTIES
properties
;
/// A drawing list for graphics
DRAWINGS
drawings
;
/// A pin list
PINS
pins
;
/// Alternate body forms.
ALTERNATES
alternates
;
// lots of other stuff, like the mandatory properties.
...
...
@@ -692,7 +695,7 @@ protected: ///< derived classes must implement
* to honor this portion of the API contract.
*
* @param aQuery is a string holding a domain specific query language expression. One candidate
* here is an s-expression that uses (and ..) and (or ..) operators and use
d
them as RPN. For example
* here is an s-expression that uses (and ..) and (or ..) operators and use
s
them as RPN. For example
* "(and (footprint 0805)(value 33ohm)(category passives))".
* The UI can shield the user from this if it wants.
*
...
...
@@ -1026,8 +1029,8 @@ public:
/**
* Function GetModel
* returns a spreadsheet table model that allows both reading and writing to
* rows in a spreadsheet. The UI hold the actual screen widgets, but
* th
e table model is th
is.
* rows in a spreadsheet. The UI hold
s
the actual screen widgets, but
* th
is is the table model, i.e. the PARTS_LIST
is.
*/
SPREADSHEET_TABLE_MODEL
*
GetModel
();
};
...
...
@@ -1104,6 +1107,21 @@ public:
*/
class
LIB_TABLE
{
public
:
/**
* Constructor LIB_TABLE
* builds a library table from an s-expression form of the library table.
* @param aLibraryTable is an s-expression form of all the rows in a library
* table fragment. These rows take presedence over rows in @a aFallBackTable.
* @param aFallBackTable is another LIB_TABLE which is searched only when
* a record is not found in this table.
*/
LIB_TABLE
(
const
STRING
&
aLibraryTable
,
LIB_TABLE
*
aFallBackTable
=
NULL
)
{
// s-expression is chosen so we can read a table fragment from either
// a schematic or a disk file.
}
};
}
// namespace SCH
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment