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

📄 shapedecorator.hpp

📁 financal instrument pricing using c
💻 HPP
字号:
// ShapeDecorator.hpp
//
// Base class for shape decorators
//
// (C) Datasim Education BV 1998

#ifndef ShapeDecorator_hpp
#define ShapeDecorator_hpp

#include "Shape.hpp"

class ShapeDecorator: public Shape
{
private:
	Shape* shape;

public:
	// Constructors and destructors
	ShapeDecorator();								// Default constructor
	ShapeDecorator(const Shape& s);					// Normal constructor
	ShapeDecorator(const ShapeDecorator& source);	// Copy constructor
	virtual ~ShapeDecorator();						// Destructor

	// Selectors
	Shape* getShape() const;						// Get the contained shape
	
	// Operators
	ShapeDecorator& operator = (const ShapeDecorator& source);
};

#endif // ShapeDecorator_hpp

⌨️ 快捷键说明

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