Files
UoL/CM2005 Object Oriented Programming/Topic 3/3.4.2/OrderBookEntry.cpp

15 lines
381 B
C++

#include "OrderBookEntry.h"
OrderBookEntry::OrderBookEntry( double _price,
double _amount,
std::string _timestamp,
std::string _product,
OrderBookType _orderType)
: price(_price),
amount(_amount),
timestamp(_timestamp),
product(_product),
orderType(_orderType)
{
}