Stride Reference Manual  - generated for commit 9643b11
stride::DaysOffSchool Class Reference

Schools closed. More...

#include <DaysOffSchool.h>

Inheritance diagram for stride::DaysOffSchool:
Inheritance graph
Collaboration diagram for stride::DaysOffSchool:
Collaboration graph

Public Member Functions

 DaysOffSchool (std::shared_ptr< Calendar > cal)
 Initialize calendar. More...
 
bool IsWorkOff () override
 See DaysOffInterface. More...
 
bool IsSchoolOff () override
 See DaysOffInterface. More...
 
- Public Member Functions inherited from stride::DaysOffInterface
virtual ~DaysOffInterface ()=default
 Virtual destructor. More...
 

Private Attributes

std::shared_ptr< Calendarm_calendar
 Management of calendar. More...
 

Detailed Description

Schools closed.

Definition at line 30 of file DaysOffSchool.h.

Constructor & Destructor Documentation

stride::DaysOffSchool::DaysOffSchool ( std::shared_ptr< Calendar cal)
inlineexplicit

Initialize calendar.

Definition at line 34 of file DaysOffSchool.h.

Member Function Documentation

bool stride::DaysOffSchool::IsWorkOff ( )
inlineoverridevirtual

See DaysOffInterface.

Implements stride::DaysOffInterface.

Definition at line 37 of file DaysOffSchool.h.

References m_calendar.

bool stride::DaysOffSchool::IsSchoolOff ( )
inlineoverridevirtual

See DaysOffInterface.

Implements stride::DaysOffInterface.

Definition at line 40 of file DaysOffSchool.h.

Member Data Documentation

std::shared_ptr<Calendar> stride::DaysOffSchool::m_calendar
private

Management of calendar.

Definition at line 43 of file DaysOffSchool.h.

Referenced by IsWorkOff().


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