CppTaskManager 1.0.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Task Class Reference

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)
 

Detailed Description

Represents a single task in the system.

Constructor & Destructor Documentation

◆ Task()

Task::Task ( const std::string &  title,
bool  completed = false 
)

Member Function Documentation

◆ deserialize()

Task Task::deserialize ( const std::string &  line)
static

◆ getTitle()

std::string Task::getTitle ( ) const

◆ isCompleted()

bool Task::isCompleted ( ) const

◆ markComplete()

void Task::markComplete ( )

◆ serialize()

std::string Task::serialize ( ) const

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