gEDA-dev: [pcb] attributes

Peter TB Brett peter at peter-b.co.uk
Wed Aug 30 12:08:33 EDT 2006


On Wednesday 30 August 2006 17:01, DJ Delorie wrote:
> > Would there be any mileage in the concept of attribute "namespaces"?
>
> If a tool wants to put "<tool>:" in front of all its attribute names,
> that's fine with me.  Were you thinking of something more formal?
>
> gattrib:cols = 4
> gattrib:colnames:1 = "Footprint"

I was thinking of including a mechanism built-in that all tools _had_ to use.  
In order to avoid tools trampling on each others attributes by accident.

That way if a tool wanted to access an attribute 'belonging' to another tool, 
it would have to request so specifically.

  addAttribute('pcb', 'footprint', 'DIP20')

Peter

-- 
Fisher Society publicity officer            http://tinyurl.com/o39w2
CUSBC novices, match and league secretary   http://tinyurl.com/mwrc9
Quake II build tools maintainer             http://tinyurl.com/fkldd

v3sw6YChw7$ln3pr6$ck3ma8u7+Lw3+2m0l7Ci6e4+8t4Gb8en6g6Pa2Xs5Mr4p4
  hackerkey.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20060830/673323ee/attachment.pgp


More information about the geda-dev mailing list