Enhancement - FF4 Parsing

- Implemented TDB::load
- Changed Record to inherit from std::map <std::string, Att>
- Changed Filter to inherit from std::vector <Att>
This commit is contained in:
Paul Beckingham 2009-05-23 23:29:47 -04:00
parent 2e5e20e3e5
commit b7866b7434
9 changed files with 87 additions and 45 deletions

View file

@ -31,7 +31,7 @@
#include <map>
#include "Att.h"
class Record
class Record : public std::map <std::string, Att>
{
public:
Record (); // Default constructor
@ -45,13 +45,10 @@ public:
std::vector <Att> all ();
const std::string get (const std::string&);
int getInt (const std::string&);
int get_int (const std::string&);
void set (const std::string&, const std::string&);
void set (const std::string&, int);
void remove (const std::string&);
private:
std::map <std::string, Att> mAtts;
};
#endif