We present a general technique to support reflection in C++, exploit- ing template metaprogramming techniques. The technique is used for building an object interface to relational database tables. By just annotating a class defi- nition with meta information, such as storage attributes or index properties of fields, a programmer can define objects that can be stored, fetched or searched in a database table. A high-performance, full text search engine has been built with this technique.
TemplateMetaprogramming an Object Interface to Relational Tables
ATTARDI, GIUSEPPE;CISTERNINO, ANTONIO
2001-01-01
Abstract
We present a general technique to support reflection in C++, exploit- ing template metaprogramming techniques. The technique is used for building an object interface to relational database tables. By just annotating a class defi- nition with meta information, such as storage attributes or index properties of fields, a programmer can define objects that can be stored, fetched or searched in a database table. A high-performance, full text search engine has been built with this technique.File in questo prodotto:
Non ci sono file associati a questo prodotto.
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.