Re: [sqlite] looking for tools to map SQLite to C++ objects

2008-09-25 Thread Sherief N. Farouk
> What do you mean by "Mapping".  There are several api wrappers for
> sqlite written in C++.  See
> http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers
> 

After checking some of the things on that list, ruling out some for
superficial reasons (like thinking that C++ is Java and writingLikeThis), I
found sqlite3pp (http://code.google.com/p/sqlite3pp/ ) to be pretty darn
neat. My own version actually uses the same sqlite3pp namespace (lending
this one more points of course ;), and the google-hosted one has some of the
cleanest API designs I've ever seen, including the oh-so-neat iterators for
SELECT results. I'd say if you're looking for a C++ wrapper, go with this
one (I realize the OP might not be looking for an API wrapper). I didn't
look at the implementation (because I'm working on an already so-close
library), but I do hope it's not commented in Korean ;).

- Sherief

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] looking for tools to map SQLite to C++ objects

2008-09-25 Thread Jeffrey Becker
>From what I remember of CodeSmith I dont see any reason why you
couldnt simply write templates that put out C++ rather than C# or
VB.Net. If push really came to shove and you didn't have an
excessively complicated DB you could write one in vbscript pretty
easily.

On Thu, Sep 25, 2008 at 2:49 PM, Sam Carleton
<[EMAIL PROTECTED]> wrote:
> There seem to be a ton of tools out there now that will look at a
> table in a database and generate code to do selects, insert, updated,
> and deletes for languages like C#, VB.Net, Java, JavaScript, PHP  and
> other higher level languages.  I am looking for something like that
> for C++.  Here are some that I know about:
>
> http://www.sqlmaestro.com/products/sqlite/phpgenerator
> http://www.mygenerationsoftware.com
> http://www.codesmithtools.com
>
> At this point in time, I don't care about platform, I simply want to
> find a tool that will help me out.
>
> Sam
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] looking for tools to map SQLite to C++ objects

2008-09-25 Thread Sam Carleton
There seem to be a ton of tools out there now that will look at a
table in a database and generate code to do selects, insert, updated,
and deletes for languages like C#, VB.Net, Java, JavaScript, PHP  and
other higher level languages.  I am looking for something like that
for C++.  Here are some that I know about:

http://www.sqlmaestro.com/products/sqlite/phpgenerator
http://www.mygenerationsoftware.com
http://www.codesmithtools.com

At this point in time, I don't care about platform, I simply want to
find a tool that will help me out.

Sam
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users