99#include " QualityControl/MonitorObject.h"
1010#include < memory>
1111
12- namespace AliceO2 {
13- namespace QualityControl {
14- namespace Repository {
12+ namespace o2 {
13+ namespace quality_control {
14+ namespace repository {
1515
1616// / \brief The interface to the MonitorObject's repository.
1717// /
@@ -30,15 +30,15 @@ class DatabaseInterface
3030
3131 virtual void connect (std::string username, std::string password) = 0;
3232 virtual void connect (std::string host, std::string database, std::string username, std::string password) = 0;
33- virtual void store (AliceO2::QualityControl::Core ::MonitorObject* mo) = 0;
33+ virtual void store (o2::quality_control::core ::MonitorObject* mo) = 0;
3434
3535 /* *
3636 * Look up an object of a task and return it.
3737 * \details It returns the object if found or nullptr if not.
3838 * TODO evaluate whether we should have more methods to retrieve objects of different types (with or without templates)
3939 * TODO evaluate whether we should have a method to retrieve a list of objects (optimization)
4040 */
41- virtual AliceO2::QualityControl::Core ::MonitorObject* retrieve (std::string taskName, std::string objectName) = 0;
41+ virtual o2::quality_control::core ::MonitorObject* retrieve (std::string taskName, std::string objectName) = 0;
4242 virtual void disconnect () = 0;
4343 /* *
4444 * \brief Prepare the container, such as a table in a relational database, that will contain the MonitorObject's for the given Task.
@@ -49,8 +49,8 @@ class DatabaseInterface
4949 virtual std::vector<std::string> getPublishedObjectNames (std::string taskName) = 0;
5050};
5151
52- } /* namespace Repository */
52+ } /* namespace repository */
5353} /* namespace QualityControl */
54- } /* namespace AliceO2 */
54+ } /* namespace o2 */
5555
5656#endif /* QUALITYCONTROL_REPOSITORY_DATABASE_INTERFACE_H_ */
0 commit comments