| 
    KiCad PCB EDA Suite
    
   | 
 
#include <gbr_netlist_metadata.h>
Public Member Functions | |
| GBR_DATA_FIELD () | |
| void | clear () | 
| void | Clear () | 
| const wxString & | GetValue () const | 
| void | SetField (const wxString &aField, bool aUseUTF8, bool aEscapeString) | 
| bool | IsEmpty () const | 
| std::string | GetGerberString () const | 
Private Attributes | |
| wxString | m_field | 
| the Unicode text to print in Gbr file (after escape and quoting)   | |
| bool | m_useUTF8 | 
| true to use UTF8, false to escape non ASCII7 chars   | |
| bool | m_escapeString | 
| true to quote the field in gbr file   | |
A Gerber data field.
This is a Unicode string with some chars converted in escaped hexadecimal sequence when creating the file. The following characters are always escaped because they are separator in Gerber files: * , \ %. Non ASCII7 characters can be converted to UTF8 or escaped.
Definition at line 102 of file gbr_netlist_metadata.h.
      
  | 
  inline | 
Definition at line 105 of file gbr_netlist_metadata.h.
References m_escapeString, and m_useUTF8.
      
  | 
  inline | 
Definition at line 115 of file gbr_netlist_metadata.h.
References clear().
      
  | 
  inline | 
Definition at line 108 of file gbr_netlist_metadata.h.
References m_escapeString, m_field, and m_useUTF8.
Referenced by Clear().
| std::string GBR_DATA_FIELD::GetGerberString | ( | ) | const | 
Definition at line 508 of file gbr_metadata.cpp.
References ConvertNotAllowedCharsInGerber(), m_escapeString, m_field, and m_useUTF8.
Referenced by FormatNetAttribute().
      
  | 
  inline | 
Definition at line 117 of file gbr_netlist_metadata.h.
References m_field.
      
  | 
  inline | 
Definition at line 126 of file gbr_netlist_metadata.h.
References m_field.
Referenced by FormatNetAttribute().
      
  | 
  inline | 
Definition at line 119 of file gbr_netlist_metadata.h.
References m_escapeString, m_field, and m_useUTF8.
      
  | 
  private | 
true to quote the field in gbr file
Definition at line 134 of file gbr_netlist_metadata.h.
Referenced by clear(), GBR_DATA_FIELD(), GetGerberString(), and SetField().
      
  | 
  private | 
the Unicode text to print in Gbr file (after escape and quoting)
Definition at line 131 of file gbr_netlist_metadata.h.
Referenced by clear(), GetGerberString(), GetValue(), IsEmpty(), and SetField().
      
  | 
  private | 
true to use UTF8, false to escape non ASCII7 chars
Definition at line 133 of file gbr_netlist_metadata.h.
Referenced by clear(), GBR_DATA_FIELD(), GetGerberString(), and SetField().