KiCad PCB EDA Suite
|
#include <odb_util.h>
Classes | |
class | ARRAY_PROXY |
Public Member Functions | |
ODB_TEXT_WRITER (std::ostream &aStream) | |
virtual | ~ODB_TEXT_WRITER () |
void | WriteEquationLine (const std::string &var, int value) |
void | WriteEquationLine (const wxString &var, const wxString &value) |
template<typename T > | |
void | write_line_enum (const std::string &var, const T &value) |
ARRAY_PROXY | MakeArrayProxy (const std::string &aStr) |
Private Member Functions | |
void | WriteIndent () |
void | BeginArray (const std::string &a) |
void | EndArray () |
Private Attributes | |
std::ostream & | m_ostream |
bool | in_array = false |
Definition at line 263 of file odb_util.h.
|
inline |
Definition at line 266 of file odb_util.h.
|
inlinevirtual |
Definition at line 267 of file odb_util.h.
|
private |
Definition at line 297 of file odb_util.cpp.
References in_array, and m_ostream.
Referenced by ODB_TEXT_WRITER::ARRAY_PROXY::ARRAY_PROXY().
|
private |
Definition at line 306 of file odb_util.cpp.
|
inline |
Definition at line 299 of file odb_util.h.
Referenced by ODB_DRILL_TOOLS::GenerateFile(), and ODB_MATRIX_ENTITY::GenerateFiles().
|
inline |
Definition at line 273 of file odb_util.h.
References ODB::Enum2String(), and WriteEquationLine().
Referenced by ODB_MATRIX_ENTITY::GenerateFiles().
void ODB_TEXT_WRITER::WriteEquationLine | ( | const std::string & | var, |
int | value | ||
) |
Definition at line 276 of file odb_util.cpp.
References m_ostream, and WriteIndent().
Referenced by ODB_DRILL_TOOLS::GenerateFile(), ODB_MATRIX_ENTITY::GenerateFiles(), ODB_MISC_ENTITY::GenerateFiles(), ODB_STEP_ENTITY::GenerateStepHeaderFile(), and write_line_enum().
void ODB_TEXT_WRITER::WriteEquationLine | ( | const wxString & | var, |
const wxString & | value | ||
) |
Definition at line 283 of file odb_util.cpp.
References m_ostream, and WriteIndent().
|
private |
Definition at line 290 of file odb_util.cpp.
References in_array, and m_ostream.
Referenced by WriteEquationLine().
|
private |
Definition at line 312 of file odb_util.h.
Referenced by BeginArray(), EndArray(), and WriteIndent().
|
private |
Definition at line 311 of file odb_util.h.
Referenced by BeginArray(), EndArray(), WriteEquationLine(), and WriteIndent().