QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::repository::DatabaseFactory Class Reference

Factory to get a database accessor. More...

#include <DatabaseFactory.h>

Collaboration diagram for o2::quality_control::repository::DatabaseFactory:

Static Public Member Functions

static std::unique_ptr< DatabaseInterfacecreate (std::string name)
 Create a new instance of a DatabaseInterface. The DatabaseInterface actual class is decided based on the parameters passed. The ownership is returned as well. More...
 

Detailed Description

Factory to get a database accessor.

Member Function Documentation

std::unique_ptr< DatabaseInterface > o2::quality_control::repository::DatabaseFactory::create ( std::string  name)
static

Create a new instance of a DatabaseInterface. The DatabaseInterface actual class is decided based on the parameters passed. The ownership is returned as well.

Parameters
namePossible values : "MySql", "CCDB"
Author
Barthelemy von Haller

The documentation for this class was generated from the following files: