mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
Enhancement - Record object
- Added Record::Record (const std::string&) - Added basic unit test for Record, which currently throws.
This commit is contained in:
parent
4fda101f28
commit
7c0aee4a5f
4 changed files with 86 additions and 3 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "Att.h"
|
||||
|
||||
class Record : public std::map <std::string, Att>
|
||||
|
@ -36,12 +37,12 @@ class Record : public std::map <std::string, Att>
|
|||
public:
|
||||
Record (); // Default constructor
|
||||
Record (const Record&); // Copy constructor
|
||||
Record (const std::string&); // Copy constructor
|
||||
Record& operator= (const Record&); // Assignment operator
|
||||
virtual ~Record (); // Destructor
|
||||
|
||||
virtual std::string composeCSV () = 0;
|
||||
|
||||
std::string composeF4 ();
|
||||
std::string composeCSV ();
|
||||
void parse (const std::string&);
|
||||
|
||||
std::vector <Att> all ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue