NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CCSVExporter Class Reference

Search Toolkit Book for CCSVExporter

#include <gui/widgets/wx/csv_exporter.hpp>

Public Member Functions

 CCSVExporter (CNcbiOstream &os, char delimiter, char quote, bool quote_all=true)
 
void Field (const string &value)
 
void Field (const wxString &value)
 
void Field (long value)
 
void Field (double value)
 
void NewRow ()
 

Protected Attributes

CNcbiOstreamm_OS
 
char m_Delimiter
 
char m_Quote
 
bool m_NewRow
 
bool m_QuoteAll
 

Detailed Description

Definition at line 41 of file csv_exporter.hpp.

Constructor & Destructor Documentation

◆ CCSVExporter()

CCSVExporter::CCSVExporter ( CNcbiOstream os,
char  delimiter,
char  quote,
bool  quote_all = true 
)
inline

Definition at line 44 of file csv_exporter.hpp.

Member Function Documentation

◆ Field() [1/4]

void CCSVExporter::Field ( const string value)

◆ Field() [2/4]

void CCSVExporter::Field ( const wxString &  value)

Definition at line 71 of file csv_exporter.cpp.

References Field(), and rapidjson::value.

◆ Field() [3/4]

void CCSVExporter::Field ( double  value)

Definition at line 85 of file csv_exporter.cpp.

References m_Delimiter, m_NewRow, m_OS, and rapidjson::value.

◆ Field() [4/4]

void CCSVExporter::Field ( long  value)

Definition at line 76 of file csv_exporter.cpp.

References m_Delimiter, m_NewRow, m_OS, and rapidjson::value.

◆ NewRow()

void CCSVExporter::NewRow ( )

Member Data Documentation

◆ m_Delimiter

char CCSVExporter::m_Delimiter
protected

Definition at line 55 of file csv_exporter.hpp.

Referenced by Field().

◆ m_NewRow

bool CCSVExporter::m_NewRow
protected

Definition at line 57 of file csv_exporter.hpp.

Referenced by Field(), and NewRow().

◆ m_OS

CNcbiOstream& CCSVExporter::m_OS
protected

Definition at line 54 of file csv_exporter.hpp.

Referenced by Field(), and NewRow().

◆ m_Quote

char CCSVExporter::m_Quote
protected

Definition at line 56 of file csv_exporter.hpp.

Referenced by Field().

◆ m_QuoteAll

bool CCSVExporter::m_QuoteAll
protected

Definition at line 58 of file csv_exporter.hpp.

Referenced by Field().


The documentation for this class was generated from the following files:
Modified on Tue May 28 05:48:48 2024 by modify_doxy.py rev. 669887