KiCad PCB EDA Suite
|
Helper functions and common defines between schematic and PCB Archive files. More...
#include <richio.h>
#include <wx/string.h>
#include <functional>
#include <map>
#include <set>
#include <vector>
#include <xnode.h>
#include <math/vector2d.h>
#include <io/cadstar/cadstar_archive_objects.h>
Go to the source code of this file.
Macros | |
#define | THROW_MISSING_NODE_IO_ERROR(nodename, location) THROW_IO_ERROR( wxString::Format( _( "Missing node '%s' in '%s'" ), nodename, location ) ) |
#define | THROW_UNKNOWN_NODE_IO_ERROR(nodename, location) THROW_IO_ERROR( wxString::Format( _( "Unknown node '%s' in '%s'" ), nodename, location ) ) |
#define | THROW_MISSING_PARAMETER_IO_ERROR(param, location) THROW_IO_ERROR( wxString::Format( _( "Missing Parameter '%s' in '%s'" ), param, location ) ) |
#define | THROW_UNKNOWN_PARAMETER_IO_ERROR(param, location) THROW_IO_ERROR( wxString::Format( _( "Unknown Parameter '%s' in '%s'" ), param, location ) ) |
#define | THROW_PARSING_IO_ERROR(param, location) THROW_IO_ERROR( wxString::Format( _( "Unable to parse '%s' in '%s'" ), param, location ) ) |
#define | UNDEFINED_LAYER_ID ( LAYER_ID ) wxEmptyString |
#define | COMPONENT_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__COMPONENT_NAME__" ) |
Component Name Attribute ID - typically used for placement of designators on silk screen. | |
#define | COMPONENT_NAME_2_ATTRID ( ATTRIBUTE_ID ) wxT( "__COMPONENT_NAME_2__" ) |
Component Name 2 Attribute ID - typically used for indicating the placement of designators in placement drawings. | |
#define | SYMBOL_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__SYMBOL_NAME__" ) |
Symbol Name attribute ID - used for placement of designators on the schematic. | |
#define | LINK_ORIGIN_ATTRID ( ATTRIBUTE_ID ) wxT( "__LINK_ORIGIN__" ) |
#define | SIGNALNAME_ORIGIN_ATTRID ( ATTRIBUTE_ID ) wxT( "__SIGNALNAME_ORIGIN__" ) |
#define | PART_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__PART_NAME__" ) |
Helper functions and common defines between schematic and PCB Archive files.
Definition in file cadstar_archive_parser.h.
#define COMPONENT_NAME_2_ATTRID ( ATTRIBUTE_ID ) wxT( "__COMPONENT_NAME_2__" ) |
Component Name 2 Attribute ID - typically used for indicating the placement of designators in placement drawings.
Definition at line 72 of file cadstar_archive_parser.h.
#define COMPONENT_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__COMPONENT_NAME__" ) |
Component Name Attribute ID - typically used for placement of designators on silk screen.
Definition at line 66 of file cadstar_archive_parser.h.
#define LINK_ORIGIN_ATTRID ( ATTRIBUTE_ID ) wxT( "__LINK_ORIGIN__" ) |
Definition at line 78 of file cadstar_archive_parser.h.
#define PART_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__PART_NAME__" ) |
Definition at line 80 of file cadstar_archive_parser.h.
#define SIGNALNAME_ORIGIN_ATTRID ( ATTRIBUTE_ID ) wxT( "__SIGNALNAME_ORIGIN__" ) |
Definition at line 79 of file cadstar_archive_parser.h.
#define SYMBOL_NAME_ATTRID ( ATTRIBUTE_ID ) wxT( "__SYMBOL_NAME__" ) |
Symbol Name attribute ID - used for placement of designators on the schematic.
Definition at line 77 of file cadstar_archive_parser.h.
#define THROW_MISSING_NODE_IO_ERROR | ( | nodename, | |
location | |||
) | THROW_IO_ERROR( wxString::Format( _( "Missing node '%s' in '%s'" ), nodename, location ) ) |
Definition at line 42 of file cadstar_archive_parser.h.
#define THROW_MISSING_PARAMETER_IO_ERROR | ( | param, | |
location | |||
) | THROW_IO_ERROR( wxString::Format( _( "Missing Parameter '%s' in '%s'" ), param, location ) ) |
Definition at line 48 of file cadstar_archive_parser.h.
#define THROW_PARSING_IO_ERROR | ( | param, | |
location | |||
) | THROW_IO_ERROR( wxString::Format( _( "Unable to parse '%s' in '%s'" ), param, location ) ) |
Definition at line 54 of file cadstar_archive_parser.h.
#define THROW_UNKNOWN_NODE_IO_ERROR | ( | nodename, | |
location | |||
) | THROW_IO_ERROR( wxString::Format( _( "Unknown node '%s' in '%s'" ), nodename, location ) ) |
Definition at line 45 of file cadstar_archive_parser.h.
#define THROW_UNKNOWN_PARAMETER_IO_ERROR | ( | param, | |
location | |||
) | THROW_IO_ERROR( wxString::Format( _( "Unknown Parameter '%s' in '%s'" ), param, location ) ) |
Definition at line 51 of file cadstar_archive_parser.h.
#define UNDEFINED_LAYER_ID ( LAYER_ID ) wxEmptyString |
Definition at line 60 of file cadstar_archive_parser.h.