[libsmi] Beginnings of C++ interface to libsmi.