KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_symbol.h File Reference
#include <eda_item.h>
#include <core/typeinfo.h>
#include <layer_ids.h>
#include <lib_id.h>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include <wx/arrstr.h>
#include <wx/chartype.h>
#include <wx/string.h>
#include <schematic.h>
#include <symbol.h>
#include <sch_field.h>
#include <sch_pin.h>
#include <sch_sheet_path.h>
#include <transform.h>

Go to the source code of this file.

Classes

class  SCH_SYMBOL
 Schematic symbol object. More...
 

Typedefs

typedef std::vector< SCH_FIELDSCH_FIELDS
 A container for several SCH_FIELD items.
 
typedef std::weak_ptr< LIB_SYMBOLPART_REF
 

Functions

std::string toUTFTildaText (const wxString &txt)
 Convert a wxString to UTF8 and replace any control characters with a ~, where a control character is one of the first ASCII values up to ' ' 32d.
 

Typedef Documentation

◆ PART_REF

typedef std::weak_ptr<LIB_SYMBOL> PART_REF

Definition at line 67 of file sch_symbol.h.

◆ SCH_FIELDS

typedef std::vector<SCH_FIELD> SCH_FIELDS

A container for several SCH_FIELD items.

Definition at line 65 of file sch_symbol.h.

Function Documentation

◆ toUTFTildaText()

std::string toUTFTildaText ( const wxString &  txt)

Convert a wxString to UTF8 and replace any control characters with a ~, where a control character is one of the first ASCII values up to ' ' 32d.

Definition at line 56 of file sch_symbol.cpp.

References TO_UTF8.

Referenced by SCH_IO_KICAD_LEGACY::saveSymbol(), and SCH_IO_KICAD_SEXPR::saveSymbol().