| 
    KiCad PCB EDA Suite
    
   | 
 
#include <kiid.h>
 Public Member Functions | |
| KIID_PATH () | |
| KIID_PATH (const wxString &aString) | |
| bool | MakeRelativeTo (const KIID_PATH &aPath) | 
| bool | EndsWith (const KIID_PATH &aPath) const | 
| Test if aPath from the last path towards the first path.   | |
| wxString | AsString () const | 
| bool | operator== (KIID_PATH const &rhs) const | 
| bool | operator< (KIID_PATH const &rhs) const | 
| bool | operator> (KIID_PATH const &rhs) const | 
| KIID_PATH & | operator+= (const KIID_PATH &aRhs) | 
Friends | |
| KIID_PATH | operator+ (KIID_PATH aLhs, const KIID_PATH &aRhs) | 
      
  | 
  inline | 
Definition at line 142 of file kiid.h.
Referenced by EndsWith(), MakeRelativeTo(), operator+, operator+=(), operator<(), operator==(), and operator>().
| wxString KIID_PATH::AsString | ( | ) | const | 
Definition at line 356 of file kiid.cpp.
References KIID::AsString(), and path.
Referenced by SCH_SYMBOL::AddHierarchicalReference(), SCH_SHEET::addInstance(), SCH_EDIT_FRAME::AnnotateSymbols(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), SCH_SHEET_LIST::CheckForMissingSymbolInstances(), SCH_SHEET_PATH::CheckForMissingSymbolInstances(), PCB_IO_KICAD_SEXPR::format(), SCH_FIELD::GetShownText(), SCH_FIELD::getUnescapedText(), SCH_SHEET_PATH::IsContainedWithin(), SCH_EDIT_FRAME::mapExistingAnnotation(), SCH_SHEET::RemoveInstance(), SCH_SYMBOL::RemoveInstance(), SCH_IO_KICAD_SEXPR::saveSymbol(), PCB_SELECTION_TOOL::selectSameSheet(), SCH_EDIT_FRAME::SetCurrentSheet(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), BOARD_NETLIST_UPDATER::updateFootprintParameters(), SCH_EDITOR_CONTROL::updatePastedSymbol(), and SCH_SHEET_LIST::UpdateSymbolInstanceData().
| bool KIID_PATH::EndsWith | ( | const KIID_PATH & | aPath | ) | const | 
Test if aPath from the last path towards the first path.
This is useful for testing for existing schematic symbol and sheet instances when copying or adding a new sheet that is lower in the hierarchy than the current path.
| aPath | is the path to compare this path against. | 
Definition at line 335 of file kiid.cpp.
References KIID_PATH().
Referenced by BOOST_AUTO_TEST_CASE(), and SCH_EDITOR_CONTROL::updatePastedSymbol().
| bool KIID_PATH::MakeRelativeTo | ( | const KIID_PATH & | aPath | ) | 
Definition at line 311 of file kiid.cpp.
References copy, and KIID_PATH().
Referenced by SCH_IO_KICAD_SEXPR::saveSymbol().
Definition at line 211 of file kiid.h.
References KIID_PATH().
      
  | 
  inline | 
Definition at line 177 of file kiid.h.
References KIID_PATH().
      
  | 
  inline | 
Definition at line 163 of file kiid.h.
References KIID_PATH().
      
  | 
  inline | 
Definition at line 194 of file kiid.h.
References KIID_PATH().
Definition at line 219 of file kiid.h.
References KIID_PATH().