Hi,
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;
1. #ifndef BREAD_H
2. #define BREAD_H
3. #include "EGGS.h";
4. #include "FLOUR.h";
5. class BREAD
6. {
7. public:
8. BREAD();~BREAD();
9. //lame example
10. std::vector<string> selectIngredient(std::vector<FLOUR>grocery);
11.
12. };
13. #endif
In the above example, how, if it is possible, do I serialize a BREAD object?
Regards,
Mike
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users