KiCad PCB EDA Suite
|
#include <string_view>
#include <wx/gdicmn.h>
#include <wx/string.h>
Go to the source code of this file.
Classes | |
struct | std::hash< wxPoint > |
struct | std::less< wxPoint > |
Namespaces | |
namespace | std |
STL namespace. | |
Macros | |
#define | USE_KICAD_WXPOINT_LESS_AND_HASH |
Required to use wxPoint as key type in maps. | |
Functions | |
wxString | TowxString (const std::string_view &view) |
std::ostream & | operator<< (std::ostream &out, const wxSize &size) |
Helper function to print the given wxSize to a stream. | |
std::ostream & | operator<< (std::ostream &out, const wxPoint &pt) |
Helper function to print the given wxPoint to a stream. | |
#define USE_KICAD_WXPOINT_LESS_AND_HASH |
Required to use wxPoint as key type in maps.
Definition at line 29 of file wx_stl_compat.h.
std::ostream & operator<< | ( | std::ostream & | out, |
const wxPoint & | pt | ||
) |
Helper function to print the given wxPoint to a stream.
Used for debugging functions like EDA_ITEM::Show and also in unit testing fixtures.
Definition at line 55 of file wx_stl_compat.cpp.
References operator<<().
std::ostream & operator<< | ( | std::ostream & | out, |
const wxSize & | size | ||
) |
Helper function to print the given wxSize to a stream.
Used for debugging functions like EDA_ITEM::Show and also in unit testing fixtures.
Definition at line 48 of file wx_stl_compat.cpp.
References operator<<().
wxString TowxString | ( | const std::string_view & | view | ) |
Definition at line 42 of file wx_stl_compat.cpp.
Referenced by TOOL_ACTION::TOOL_ACTION().