KiCad PCB EDA Suite
BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< SEXPR::SEXPR > Struct Reference

Boost print helper for SEXPR objects. More...

#include <sexpr_test_utils.h>

Public Member Functions

void operator() (std::ostream &os, const SEXPR::SEXPR &aSexpr)

Detailed Description

Boost print helper for SEXPR objects.

Definition at line 234 of file sexpr_test_utils.h.

Member Function Documentation

◆ operator()()

void BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< SEXPR::SEXPR >::operator() ( std::ostream &  os,
const SEXPR::SEXPR aSexpr 

Definition at line 236 of file sexpr_test_utils.h.

237 {
238 os << "SEXPR [ " << KI_TEST::GetSexprDebugType( aSexpr ) << " ]\n " << aSexpr.AsString();
239 }
std::string AsString(size_t aLevel=0) const
Definition: sexpr.cpp:151
std::string GetSexprDebugType(const SEXPR::SEXPR &aSexpr)

References SEXPR::SEXPR::AsString(), and KI_TEST::GetSexprDebugType().

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