World Ocean Simulation System (WOSS) library
woss::SimTime Struct Reference

Struct that stores start and end Time. More...

#include <time-definitions.h>

Collaboration diagram for woss::SimTime:
Collaboration graph

Public Member Functions

 SimTime (Time time1=Time(), Time time2=Time())

Public Attributes

Time start_time
Time end_time

Friends

std::ostream & operator<< (std::ostream &os, const SimTime &instance)

Detailed Description

Struct that stores start and end Time.

woss::SimeTime is a pair of woss::Time objects for simulation purposes. A start Time and a end Time

Constructor & Destructor Documentation

◆ SimTime()

woss::SimTime::SimTime ( Time time1 = Time(),
Time time2 = Time() )
inline

References end_time, and start_time.

Referenced by operator<<.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const SimTime & instance )
friend

References end_time, SimTime(), and start_time.

Member Data Documentation

◆ end_time

◆ start_time


The documentation for this struct was generated from the following file: