KiCad PCB EDA Suite
|
#include <csv.h>
Public Member Functions | |
CSV_WRITER (wxOutputStream &aStream) | |
void | WriteLine (const std::vector< wxString > &aCols) |
Write a single row to the stream. | |
void | WriteLines (const std::vector< std::vector< wxString > > &aRows) |
Write a vector of rows to the stream. | |
void | SetDelimiter (const wxString &aDelimiter) |
void | SetEscape (const wxString &aEscape) |
Set the delimiter escape char. | |
Private Attributes | |
wxOutputStream & | m_stream |
wxString | m_delimiter |
wxString | m_quote |
wxString | m_lineTerminator |
wxString | m_escape |
|
inline |
Definition at line 48 of file csv.h.
References m_delimiter.
|
inline |
void CSV_WRITER::WriteLine | ( | const std::vector< wxString > & | aCols | ) |
Write a single row to the stream.
Definition at line 27 of file csv.cpp.
References m_delimiter, m_escape, m_lineTerminator, m_quote, and m_stream.
Referenced by WriteLines().
void CSV_WRITER::WriteLines | ( | const std::vector< std::vector< wxString > > & | aRows | ) |
Write a vector of rows to the stream.
cols | The rows to write. |
Definition at line 18 of file csv.cpp.
References WriteLine().
Referenced by BOOST_AUTO_TEST_CASE(), PIN_TABLE_EXPORT::ExportData(), and SaveTabularDataToClipboard().
|
private |
Definition at line 64 of file csv.h.
Referenced by SetDelimiter(), and WriteLine().
|
private |
Definition at line 67 of file csv.h.
Referenced by SetEscape(), and WriteLine().
|
private |
Definition at line 66 of file csv.h.
Referenced by WriteLine().
|
private |
Definition at line 65 of file csv.h.
Referenced by WriteLine().
|
private |
Definition at line 63 of file csv.h.
Referenced by WriteLine().