KiCad PCB EDA Suite
Loading...
Searching...
No Matches
odb_util.cpp File Reference
#include <string>
#include <algorithm>
#include <locale>
#include "odb_util.h"
#include <wx/chartype.h>
#include <wx/dir.h>
#include <wx/regex.h>
#include "idf_helpers.h"
#include "odb_defines.h"
#include "pcb_io_odbpp.h"

Go to the source code of this file.

Namespaces

namespace  ODB
 

Functions

wxString ODB::GenODBString (const wxString &aStr)
 
wxString ODB::GenLegalNetName (const wxString &aStr)
 
wxString ODB::GenLegalEntityName (const wxString &aStr)
 
void ODB::RemoveWhitespace (wxString &aStr)
 
wxString ODB::Double2String (double aVal)
 
std::string ODB::Double2String (double aVal, int32_t aDigits)
 
wxString ODB::SymDouble2String (double aVal)
 
wxString ODB::Data2String (double aVal)
 
std::pair< wxString, wxString > ODB::AddXY (const VECTOR2I &aVec)
 
VECTOR2I ODB::GetShapePosition (const PCB_SHAPE &aShape)