teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | Public Attributes | List of all members
teditor::todo::CalendarItem Struct Reference

#include <objects.h>

Public Member Functions

 CalendarItem ()
 
 CalendarItem (const TimePoint &s, RepeatType r, const std::string &d)
 
 CalendarItem (const TimePoint &s, const TimePoint &e, RepeatType r, const std::string &d)
 
void clear ()
 
TimePoint getNextOccurence (const TimePoint &pt) const
 

Public Attributes

TimePoint start
 
bool hasStart
 
TimePoint end
 
bool hasEnd
 
RepeatType repeat
 
std::string description
 

Constructor & Destructor Documentation

◆ CalendarItem() [1/3]

teditor::todo::CalendarItem::CalendarItem ( )
inline

◆ CalendarItem() [2/3]

teditor::todo::CalendarItem::CalendarItem ( const TimePoint s,
RepeatType  r,
const std::string &  d 
)

◆ CalendarItem() [3/3]

teditor::todo::CalendarItem::CalendarItem ( const TimePoint s,
const TimePoint e,
RepeatType  r,
const std::string &  d 
)

Member Function Documentation

◆ clear()

void teditor::todo::CalendarItem::clear ( )

◆ getNextOccurence()

TimePoint teditor::todo::CalendarItem::getNextOccurence ( const TimePoint pt) const

Member Data Documentation

◆ description

std::string teditor::todo::CalendarItem::description

◆ end

TimePoint teditor::todo::CalendarItem::end

◆ hasEnd

bool teditor::todo::CalendarItem::hasEnd

◆ hasStart

bool teditor::todo::CalendarItem::hasStart

◆ repeat

RepeatType teditor::todo::CalendarItem::repeat

◆ start

TimePoint teditor::todo::CalendarItem::start

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