Skip to content
Snippets Groups Projects
Commit 056650ed authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny: Committed by Johannes Junggeburth
Browse files

Add definitions for GeoModel I/O types

parent 24135ee7
No related branches found
No related tags found
1 merge request!327New schema for the GeoModel SQLite database and updated I/O
// 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment