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

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

#include <eagle_parser.h>

Inheritance diagram for EATTR:
EAGLE_BASE

Public Types

enum  { Off , VALUE , NAME , BOTH }
 

Public Member Functions

 EATTR (wxXmlNode *aTree, IO_BASE *aIo=nullptr)
 
 EATTR ()
 
void Report (const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED)
 
void AdvanceProgressPhase ()
 

Public Attributes

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

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 792 of file eagle_parser.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Off 
VALUE 
NAME 
BOTH 

Definition at line 824 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EATTR() [1/2]

EATTR::EATTR ( wxXmlNode *  aTree,
IO_BASE aIo = nullptr 
)

◆ EATTR() [2/2]

EATTR::EATTR ( )
inline

Definition at line 838 of file eagle_parser.h.

Member Function Documentation

◆ AdvanceProgressPhase()

◆ Report()

void EAGLE_BASE::Report ( const wxString &  aMsg,
SEVERITY  aSeverity = RPT_SEVERITY_UNDEFINED 
)
inherited

Definition at line 494 of file eagle_parser.cpp.

References EAGLE_BASE::io, and IO_BASE::Report().

Member Data Documentation

◆ align

opt_int EATTR::align

Definition at line 833 of file eagle_parser.h.

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

◆ constant

opt_bool EATTR::constant

Definition at line 831 of file eagle_parser.h.

◆ display

opt_int EATTR::display

Definition at line 832 of file eagle_parser.h.

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

◆ font

opt_wxString EATTR::font

Definition at line 820 of file eagle_parser.h.

◆ io

IO_BASE* EAGLE_BASE::io
inherited

Definition at line 403 of file eagle_parser.h.

Referenced by EAGLE_BASE::AdvanceProgressPhase(), and EAGLE_BASE::Report().

◆ layer

opt_int EATTR::layer

Definition at line 819 of file eagle_parser.h.

Referenced by EATTR().

◆ name

wxString EATTR::name

Definition at line 814 of file eagle_parser.h.

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

◆ ratio

opt_double EATTR::ratio

Definition at line 821 of file eagle_parser.h.

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

◆ rot

opt_erot EATTR::rot

Definition at line 822 of file eagle_parser.h.

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

◆ size

opt_ecoord EATTR::size

Definition at line 818 of file eagle_parser.h.

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

◆ value

opt_wxString EATTR::value

Definition at line 815 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 816 of file eagle_parser.h.

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

◆ y

opt_ecoord EATTR::y

Definition at line 817 of file eagle_parser.h.

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


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