diff --git a/GeoModelIO/GeoModelDBManager/GeoModelDBManager/definitions.h b/GeoModelIO/GeoModelDBManager/GeoModelDBManager/definitions.h new file mode 100644 index 0000000000000000000000000000000000000000..e32142821d1a44ae8f0741112c74643bbfdc7507 --- /dev/null +++ b/GeoModelIO/GeoModelDBManager/GeoModelDBManager/definitions.h @@ -0,0 +1,24 @@ +// Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration + +/* + * This header file provides global definitions used + * in the I/O of GeoModel into and from an SQLite file. + * + * Author: Riccardo Maria BIANCHI @ CERN + * Created on: May, 2024 + * + */ + + +#ifndef GEOMODELDBMANAGER_DEFINITIONS_H +#define GEOMODELDBMANAGER_DEFINITIONS_H + +#include <vector> +#include <variant> + +// define the data types used to retrieve and store data from the DB +using DBRecordEntry = std::variant<int,long,float,double,std::string>; +using DBRowEntry = std::vector<DBRecordEntry>; +using DBRowsList = std::vector<DBRowEntry>; + +#endif \ No newline at end of file