Enhancement - Record object

- Added Record::Record (const std::string&)
- Added basic unit test for Record, which currently throws.
This commit is contained in:
Paul Beckingham 2009-05-28 21:31:48 -04:00
parent 4fda101f28
commit 7c0aee4a5f
4 changed files with 86 additions and 3 deletions

View file

@ -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 ();