KiCad PCB EDA Suite
Loading...
Searching...
No Matches
orcad_stream.h File Reference
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <vector>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  ORCAD_STREAM
 The caller owns the buffer. More...
 
class  ORCAD_STREAM::NEST_GUARD
 Bound shared parser recursion; entering a level above MAX_NESTING throws IO_ERROR. More...
 
class  ORCAD_STREAM::LIMIT_GUARD
 Limit reads to one record so a malformed body cannot consume the next record. More...
 

Functions

wxString FromOrcadString (const std::string &aText)
 Use an 8-bit fallback if Windows-1252 decoding fails.
 
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()

◆ OrcadIEquals()

◆ OrcadLower()