KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EATTR Struct Reference

Parse an Eagle "attribute" XML element. More...

#include <eagle_parser.h>

Public Types

enum  { Off , VALUE , NAME , BOTH }
 

Public Member Functions

 EATTR (wxXmlNode *aTree)
 
 EATTR ()
 

Public Attributes

wxString name
 
opt_wxString value
 
opt_ecoord x
 
opt_ecoord y
 
opt_ecoord size
 
opt_int layer
 
opt_double ratio
 
opt_erot rot
 
opt_int display
 
opt_int align
 

Detailed Description

Parse an Eagle "attribute" XML element.

Note
An attribute element is different than an XML element attribute. The attribute element is a full XML node in and of itself, and has attributes of its own. Blame Eagle.

Definition at line 600 of file eagle_parser.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Off 
VALUE 
NAME 
BOTH 

Definition at line 611 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EATTR() [1/2]

EATTR::EATTR ( wxXmlNode *  aTree)

Definition at line 611 of file eagle_parser.cpp.

References align, BOTH, DEFAULT_ALIGNMENT, display, layer, name, NAME, Off, parseAlignment(), ratio, rot, size, value, VALUE, x, and y.

◆ EATTR() [2/2]

EATTR::EATTR ( )
inline

Definition at line 621 of file eagle_parser.h.

Member Data Documentation

◆ align

opt_int EATTR::align

Definition at line 618 of file eagle_parser.h.

Referenced by EATTR(), SCH_IO_EAGLE::loadInstance(), and PCB_IO_EAGLE::orientFPText().

◆ display

opt_int EATTR::display

Definition at line 617 of file eagle_parser.h.

Referenced by EATTR(), PCB_IO_EAGLE::loadElements(), and SCH_IO_EAGLE::loadInstance().

◆ layer

opt_int EATTR::layer

Definition at line 607 of file eagle_parser.h.

Referenced by EATTR().

◆ name

wxString EATTR::name

Definition at line 602 of file eagle_parser.h.

Referenced by EATTR(), PCB_IO_EAGLE::loadElements(), and SCH_IO_EAGLE::loadInstance().

◆ ratio

opt_double EATTR::ratio

Definition at line 608 of file eagle_parser.h.

Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().

◆ rot

opt_erot EATTR::rot

Definition at line 609 of file eagle_parser.h.

Referenced by EATTR(), SCH_IO_EAGLE::loadInstance(), and PCB_IO_EAGLE::orientFPText().

◆ size

opt_ecoord EATTR::size

Definition at line 606 of file eagle_parser.h.

Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().

◆ value

opt_wxString EATTR::value

Definition at line 603 of file eagle_parser.h.

Referenced by EATTR(), PCB_IO_EAGLE::loadElements(), and PCB_IO_EAGLE::orientFPText().

◆ x

opt_ecoord EATTR::x

Definition at line 604 of file eagle_parser.h.

Referenced by EATTR(), SCH_IO_EAGLE::loadInstance(), and PCB_IO_EAGLE::orientFPText().

◆ y

opt_ecoord EATTR::y

Definition at line 605 of file eagle_parser.h.

Referenced by EATTR(), SCH_IO_EAGLE::loadInstance(), and PCB_IO_EAGLE::orientFPText().


The documentation for this struct was generated from the following files: