Hi,
I previously sent out out an email that was not clear, this email is meant
to fix that.
---previous message
I've been searching for a way to serialize an object's vector using sqlite3
but are yet find a working solution. How do I go about making it happen, an
example would be of great help.
A second question I have is whether it is possible to serialize an object
which doesn't have attributes. An answer has been provided, which is that
it's not possible but I would like to be sure.
Here's an example; TRAY.h
#ifndef TRAY_H
#define TRAY_H
#include <vector>
#include "EGG.h";
#include "FLOUR.h";
class TRAY
{
double price;
std::vector<EGG> dozen;
public:
TRAY(int number); ~TRAY();
double getTotalPrice();
std::vector<EGG> getEggs();
};
#endif
In the above example, how, if it is possible, do I serialize a TRAY object?
Regards,
Mike
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users