开发者

Database schema to C++ Code Generator

I want to know if there is an open source or proprietary software that开发者_Python百科 I can use to generate a C++ code from a database schema.


If you want to generate classes for your tables, getters/setters for the data & inheritance/composition/aggregation for the relationships in your tables you can do this by creating a domain specific language for handling your task. Compiler-Compiler tools like lex/yacc can be of help to you. You can define a grammar (this wont be very easy task for your problem statement) and then use lex/yacc to solve your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜