Priceable.h
#pragma once #include "MultiStockModel.h" /** * Represents a general security */ class Priceable { public: /* Compute the price of the security */ virtual double price( const MultiStockModel& model ) const = 0; };
Downloads: Visual Studio 2012, Visual Studio 2013+, Unix, XCode, Other.
#pragma once #include "MultiStockModel.h" /** * Represents a general security */ class Priceable { public: /* Compute the price of the security */ virtual double price( const MultiStockModel& model ) const = 0; };