/* [<][>][^][v][top][bottom][index][help] */
DEFINITIONS
This source file includes following definitions.
- CCsv
// Csv.h: CCsv
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CSV_H__774AFECB_4F1B_4B8E_879B_BD39411ED5B4__INCLUDED_)
#define AFX_CSV_H__774AFECB_4F1B_4B8E_879B_BD39411ED5B4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCsv
{
public:
void StripQuotation(CString &buf);
void AddQuotation(CString &buf);
int CountDQuotation(CString buf, int start, int end);
void Save(LPCTSTR path);
void AddRow(CStringArray *new_row);
void RemoveAll();
int GetColumnSize(int row);
int GetRowSize();
CString GetValue(int row, int column);
CCsv(LPCTSTR path);
virtual ~CCsv();
protected:
CArray<CStringArray, CStringArray> m_data;
};
#endif // !defined(AFX_CSV_H__774AFECB_4F1B_4B8E_879B_BD39411ED5B4__INCLUDED_)