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

📄 counter.hpp

📁 financal instrument pricing using c
💻 HPP
字号:
// Counter.hpp
//
// (C) Datasim Education BV 2001

#ifndef COUNTER_HPP
#define COUNTER_HPP

#include "Observable.hpp"

class Counter : public Observable
{
private:
	long CounterValue;

	Counter(const Counter& orig);	// Copy constructor
	Counter& operator=(const Counter& orig);	// Assignment operator
public:
	Counter();	// Default constructor
	~Counter();	// Destructor

	// Selectors
	long GetCounter() const;	// Return the counter value
	// Increase the internal counter
	void IncreaseCounter();
	// Decrease the internal counter
	void DecreaseCounter();
};

#endif

⌨️ 快捷键说明

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