KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB Namespace Reference

Classes

class  CHECK_ONCE
 
class  EnumStringMap
 

Functions

wxString GenODBString (const wxString &aStr)
 
wxString GenLegalNetName (const wxString &aStr)
 
wxString GenLegalEntityName (const wxString &aStr)
 
wxString Double2String (double aVal)
 
std::string Double2String (double aVal, int32_t aDigits)
 
wxString SymDouble2String (double aVal)
 
wxString Data2String (double aVal)
 
std::pair< wxString, wxString > AddXY (const VECTOR2I &aVec)
 
VECTOR2I GetShapePosition (const PCB_SHAPE &aShape)
 
template<typename T >
std::string Enum2String (T value)
 

Function Documentation

◆ AddXY()

◆ Data2String()

wxString ODB::Data2String ( double  aVal)

◆ Double2String() [1/2]

◆ Double2String() [2/2]

std::string ODB::Double2String ( double  aVal,
int32_t  aDigits 
)

Definition at line 134 of file odb_util.cpp.

◆ Enum2String()

template<typename T >
std::string ODB::Enum2String ( value)

Definition at line 172 of file odb_util.h.

References ODB::EnumStringMap< T >::GetMap().

Referenced by ODB_TEXT_WRITER::write_line_enum().

◆ GenLegalEntityName()

wxString ODB::GenLegalEntityName ( const wxString &  aStr)

◆ GenLegalNetName()

wxString ODB::GenLegalNetName ( const wxString &  aStr)

Definition at line 56 of file odb_util.cpp.

Referenced by ODB_NET_LIST::WriteNetPointRecords().

◆ GenODBString()

wxString ODB::GenODBString ( const wxString &  aStr)

Definition at line 34 of file odb_util.cpp.

◆ GetShapePosition()

VECTOR2I ODB::GetShapePosition ( const PCB_SHAPE aShape)

◆ SymDouble2String()