We present a general technique to support reflection in C++, exploiting template metaprogramming techniques. The technique is used for building an object interface to relational database tables. By just annotating a class definition 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.

Template Metaprogramming an Object Interface to Relational Tables

ATTARDI, GIUSEPPE;CISTERNINO, ANTONIO
2001-01-01

Abstract

We present a general technique to support reflection in C++, exploiting template metaprogramming techniques. The technique is used for building an object interface to relational database tables. By just annotating a class definition 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/177241
 Attenzione

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

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