KiCad PCB EDA Suite
BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< wxPoint > Struct Template Reference

Boost print helper for wxPoint. More...

#include <unit_test_utils.h>

Public Member Functions

void operator() (std::ostream &os, wxPoint const &aVec)
 

Detailed Description

template<>
struct BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< wxPoint >

Boost print helper for wxPoint.

Note operator<< for this type doesn't exist in non-DEBUG builds.

Definition at line 164 of file unit_test_utils.h.

Member Function Documentation

◆ operator()()

void BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< wxPoint >::operator() ( std::ostream &  os,
wxPoint const &  aVec 
)

Definition at line 29 of file unit_test_utils.cpp.

30 {
31  os << "WXPOINT[ x=\"" << aPt.x << "\" y=\"" << aPt.y << "\" ]";
32 }

The documentation for this struct was generated from the following files: