Belle II Software development
PersistenceManagerFactory.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <reconstruction/persistenceManager/PersistenceManager.h>
12
13namespace Belle2::VariablePersistenceManager {
14
23 public:
34 static std::unique_ptr<PersistenceManager> create(const std::string& storageType);
35 };
36
37} // namespace Belle2::VariablePersistenceManager
A factory class that creates specific PersistenceManager objects.
static std::unique_ptr< PersistenceManager > create(const std::string &storageType)
Creates a PersistenceManager instance based on the specified storage type.