|
CppTaskManager 1.0.0
|
Represents a single task in the system. More...
#include <Task.h>
Public Member Functions | |
| Task (const std::string &title, bool completed=false) | |
| void | markComplete () |
| std::string | serialize () const |
| std::string | getTitle () const |
| bool | isCompleted () const |
Static Public Member Functions | |
| static Task | deserialize (const std::string &line) |
Represents a single task in the system.
| Task::Task | ( | const std::string & | title, |
| bool | completed = false |
||
| ) |
|
static |
| std::string Task::getTitle | ( | ) | const |
| bool Task::isCompleted | ( | ) | const |
| void Task::markComplete | ( | ) |
| std::string Task::serialize | ( | ) | const |