KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_pattern_match.cpp File Reference
#include <eda_pattern_match.h>
#include <limits>
#include <wx/log.h>
#include <wx/tokenzr.h>
#include <algorithm>

Go to the source code of this file.

Classes

class  WX_LOGLEVEL_CONTEXT
 Context class to set wx loglevel for a block, and always restore it at the end. More...
 

Macros

#define CLAMPED_VAL_INT_MAX(x)
 

Macro Definition Documentation

◆ CLAMPED_VAL_INT_MAX

#define CLAMPED_VAL_INT_MAX ( x)
Value:
std::min( x, static_cast<size_t>( std::numeric_limits<int>::max() ) )

Definition at line 32 of file eda_pattern_match.cpp.

Referenced by EDA_PATTERN_MATCH_REGEX::Find(), EDA_PATTERN_MATCH_RELATIONAL::Find(), and EDA_PATTERN_MATCH_RELATIONAL::FindOne().