KiCad PCB EDA Suite
Loading...
Searching...
No Matches
orcad_stream.cpp File Reference
#include <sch_io/orcad/orcad_stream.h>
#include <algorithm>
#include <cstring>
#include <ki_exception.h>
#include <wx/strconv.h>

Go to the source code of this file.

Functions

static wxString hexOf (const uint8_t *aBytes, size_t aCount)
 
wxString FromOrcadString (const std::string &aText)
 Use an 8-bit fallback if Windows-1252 decoding fails.
 
static char orcadFold (char aChar)
 
std::string OrcadLower (std::string_view aText)
 Fold ASCII letters only.
 
bool OrcadIEquals (std::string_view aLeft, std::string_view aRight)
 Case-insensitive comparison with the folding of OrcadLower.
 

Function Documentation

◆ FromOrcadString()

◆ hexOf()

static wxString hexOf ( const uint8_t * aBytes,
size_t aCount )
static

Definition at line 32 of file orcad_stream.cpp.

Referenced by ORCAD_STREAM::Expect().

◆ orcadFold()

static char orcadFold ( char aChar)
static

Definition at line 300 of file orcad_stream.cpp.

Referenced by OrcadLower().

◆ OrcadIEquals()

◆ OrcadLower()