// WindLog.cpp//// Class for managing wind log information//// Version 01// 28/02/2019 Vu Thanh Long Started//---------------------------------------------------------------------------------//----------------------------------------------------------------------------// Includes#include <iostream>#include "WindLog.h"//----------------------------------------------------------------------------// Default constructorWindLog::WindLog(){d = Date(0,0,0);t = Time(0,0);w = Weather(0,0,0);}//----------------------------------------------------------------------------// Second constructorWindLog::WindLog(Date d, Time t, Weather w){this->d = d;this->t = t;this->w = w;}//----------------------------------------------------------------------------// This function will set the value of Datevoid WindLog::setDate(Date d){this->d = d;}//----------------------------------------------------------------------------// This function will set the value of Timevoid WindLog::setTime(Time t){this->t = t;}//----------------------------------------------------------------------------// This function will set the value of Weathervoid WindLog::setWeather(Weather w){this->w = w;}//----------------------------------------------------------------------------// This function will set the value of Date, Time and Weathervoid WindLog::setFull(Date d, Time t, Weather w){this->d = d;this->t = t;this->w = w;}//----------------------------------------------------------------------------