ATLAS Offline Software
Loading...
Searching...
No Matches
CloneService.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENAKERNEL_CLONESERVICE_H
6#define ATHENAKERNEL_CLONESERVICE_H
7#include "GaudiKernel/StatusCode.h"
8#include <string>
9class IService;
10class Service;
11namespace CloneService {
13 StatusCode clone(const IService* parent, const std::string& childName,
14 Service*& child);
15}
16#endif
StatusCode clone(const IService *parent, const std::string &childName, Service *&child)
given a reference to a parent svc sets a reference to a cloned child