⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exceldriver.hpp

📁 financal instrument pricing using c
💻 HPP
字号:
// ExcelDriver.hpp
//
// Class that enables us to send output to Excel
//
// (C) Datasim Component Technology 2000

#ifndef ExcelDriver_hpp
#define ExcelDriver_hpp

#include "imports.hpp"

#include "NumericMatrix.hpp"

class ExcelDriver
{
private:
	Excel::_ApplicationPtr m_pXL;

public:
	// Constructors & destructor
	ExcelDriver();
	ExcelDriver(const ExcelDriver& source);
	virtual ~ExcelDriver();

	// Selectors
	Excel::_ApplicationPtr Application() const;

	// Modifiers

	// Operations
	void OpenExcel();
	void CloseExcel();
	void AddWorkbook();
	void FillRange(double ll, double ul, double steps, int row);
	void CreateChart(int startRow, int rows, int columns, const std::string& chartTitle, const std::string& categoryTitle, const std::string& valueTitle);

	void SetActiveSheet(const std::string& name);
	void SetActiveChart(const std::string& name);

	// Operators
	ExcelDriver& operator = (const ExcelDriver& source);
};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -