Shiokaze Framework
A research-oriented fluid solver for computer graphics
deadline Class Reference

Class that tells you the next deadline. More...

#include <deadline.h>

Public Member Functions

void add_deadline (std::string name, int month, int day)
 Add a new deadline. More...
 
void get_next_deadline (std::string &name, int &days) const
 Get days until next closest deadline. More...
 

Detailed Description

Class that tells you the next deadline.

Member Function Documentation

◆ add_deadline()

void deadline::add_deadline ( std::string  name,
int  month,
int  day 
)

Add a new deadline.

Parameters
[in]nameName of the deadline.
[in]monthMonth of the deadline.
[in]dayDay of the deadline.

◆ get_next_deadline()

void deadline::get_next_deadline ( std::string &  name,
int &  days 
) const

Get days until next closest deadline.

Parameters
[out]nameName of the deadline.
[out]daysDays until the deadline.

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