A C++ Implementation of the Active Record Pattern