kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #15161
Re: [PATCH] Fix absence of PCB_TARGET class in python interface.
In response to a message written on 13.10.2014 13:16, from jp charras:
> No problem.
> Just lack of time (I was away last week)
> Committed.
> Thanks.
BTW. In the name of code clarification, is that „GetClass() const” should be
renamed to simpler „ClassName()” ?
--
Best Regards,
LordBlick
Searching for regex:'GetClass\.*\(\.*\)'...
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/kicad_plugin.cpp':
478: wxFAIL_MSG( wxT( "Cannot format item " ) + aItem->GetClass() );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_zone.h':
429: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_track.h':
279: wxString GetClass() const
356: wxString GetClass() const
422: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_text_mod.h':
165: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_pcb_text.h':
92: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_pad.h':
376: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_netclass.h':
94: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_netclass.cpp':
230: os << '<' << GetClass().Lower().mb_str() << ">\n";
239: os << "</" << GetClass().Lower().mb_str() << ">\n";
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_module.h':
466: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_module.cpp':
719: std::cout << GetClass().mb_str() << ' ';
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_mire.h':
87: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_edge_mod.h':
92: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_drawsegment.h':
189: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_dimension.h':
218: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_board.h':
965: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/class_board.cpp':
958: std::cout << GetClass().mb_str() << ' ';
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/board_undo_redo.cpp':
295: GetClass().GetData() );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/pcbnew/scripting/board_item.i':
59: ct = self.GetClass()
91: ct = self.GetClass()
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/include/sch_item_struct.h':
128: virtual wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/include/class_sch_screen.h':
107: virtual wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/include/class_board_item.h':
217: wxMessageBox( wxT( "virtual BOARD_ITEM::Move used, should not occur" ), GetClass() );
228: wxMessageBox( wxT( "virtual BOARD_ITEM::Rotate used, should not occur" ), GetClass() );
238: wxMessageBox( wxT( "virtual BOARD_ITEM::Flip used, should not occur" ), GetClass() );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/include/class_base_screen.h':
460: virtual wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/include/base_struct.h':
557: virtual wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/gerbview/class_gerber_draw_item.h':
269: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/gerbview/class_gerber_draw_item.cpp':
616: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str() <<
627: os << "</" << GetClass().Lower().mb_str() << ">\n";
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sheet.cpp':
373: GetChars( aSheet->GetClass() ) ) );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/schedit.cpp':
460: GetChars( item->GetClass() ) ) );
816: GetChars( item->GetClass() ) ) );
932: GetChars( item->GetClass() ) ) );
1006: GetChars( item->GetClass() ) ) );
1086: GetChars( item->GetClass() ) ) );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_text.h':
94: virtual wxString GetClass() const
239: wxString GetClass() const
288: wxString GetClass() const
341: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_text.cpp':
801: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_sheet_pin.cpp':
86: GetChars( aItem->GetClass() ) ) );
502: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_sheet.h':
91: wxString GetClass() const
245: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_sheet.cpp':
318: GetChars( aItem->GetClass() ) ) );
1185: wxT( "Cannot assign object type " ) + aItem.GetClass() + wxT( " to type " ) +
1186: GetClass() );
1218: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_screen.cpp':
1555: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str() << ">\n";
1562: NestedSpace( nestLevel, os ) << "</" << GetClass().Lower().mb_str() << ">\n";
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_no_connect.h':
49: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_marker.h':
65: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_marker.cpp':
88: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str()
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_line.h':
59: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_line.cpp':
106: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str()
113: << GetClass().Lower().mb_str() << ">\n";
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_junction.h':
48: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_junction.cpp':
196: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_field.h':
70: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_component.h':
131: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_component.cpp':
962: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str()
983: NestedSpace( nestLevel, os ) << "</" << TO_UTF8( GetClass().Lower() ) << ">\n";
1851: wxT( "Cannot assign object type " ) + aItem.GetClass() + wxT( " to type " ) +
1852: GetClass() );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_bus_entry.h':
130: wxString GetClass() const
156: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_bitmap.h':
81: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/sch_bitmap.cpp':
65: wxT( "Cannot assign object type " ) + aItem.GetClass() + wxT( " to type " ) +
66: GetClass() );
127: GetChars( aItem->GetClass() ) ) );
270: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/onleftclick.cpp':
93: item->GetClass() + wxT( "> is already being edited." ) );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/libedit_onleftclick.cpp':
207: wxFAIL_MSG( wxT( "Unhandled item <" ) + m_drawItem->GetClass() + wxT( ">" ) );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_text.h':
64: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_rectangle.h':
57: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_polyline.h':
55: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_pin.h':
114: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_pin.cpp':
2243: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str()
2247:// NestedSpace( nestLevel, os ) << "</" << GetClass().Lower().mb_str() << ">\n";
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_field.h':
94: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_circle.h':
54: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_bezier.h':
56: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/lib_arc.h':
93: wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/eeschema/class_libentry.h':
106: virtual wxString GetClass() const
238: virtual wxString GetClass() const
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/common/sch_item_struct.cpp':
90: wxFAIL_MSG( wxT( "SwapData() method not implemented for class " ) + GetClass() );
97: wxT( "Less than operator not defined for " ) + GetClass() );
103: wxFAIL_MSG( wxT( "Plot() method not implemented for class " ) + GetClass() );
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/common/base_struct.cpp':
105: wxCHECK_MSG( false, NULL, wxT( "Clone not implemented in derived class " ) + GetClass() +
135: std::cout << GetClass().mb_str() << ' ';
157: GetClass() );
159: return wxString( wxT( "Undefined menu text for " ) + GetClass() );
193: wxT( "Attempt to replace text in <" ) + GetClass() + wxT( "> item." ) );
223: GetChars( GetClass() ) ) );
283: wxString s = GetClass();
In:'~/rpm/BUILD/kicad-sources-BZR.5178-main/common/base_screen.cpp':
396: NestedSpace( nestLevel, os ) << '<' << GetClass().Lower().mb_str() << ">\n";
405: NestedSpace( nestLevel, os ) << "</" << GetClass().Lower().mb_str() << ">\n";
Follow ups
References