C ++ "reflection" technology

xiaoxiao2021-03-06  41

LIT WINDOW LIBRARY

From

http://sourceforge.net/projects/litwindow probably looked at it, using macro to establish a more complex data structure to provide member findings and members access.

Tinybind

From

http://sourceforge.net/projects/tinybind/ This should not be reflected, but pass the binding between members and XML ELEMENT to automatically implement XML <-> Class, for implementing C by defining a binding function "Reflection" also has a certain reference.

OODBC

From

http://www.garret.ru/~ Knizhnik/cpp.html This should also be reflected, and a linked list of the offset position in the class through the macro. Automatically implement the binding of the database field and the member, a little Hibernate's taste. Ha ha. At the same time, there are several other technologies, such as FASTDB, GigaBase, Goods, and Post , provided by the authors.

转载请注明原文地址:https://www.9cbs.com/read-51341.html

New Post(0)