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.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/192719
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact