ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
APRTests
libname.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include <string>
6
#include <iostream>
7
8
/* MN: putting common functionality of the test driver in one place
9
*/
10
11
#include "
DataModelRoot/RootType.h
"
12
#include "GaudiKernel/System.h"
13
14
15
namespace
pool
{}
16
using namespace
pool
;
17
void
TestDriver::loadLibraries
(
const
std::vector<std::string>& libraries )
18
{
19
for
( std::vector<std::string>::const_iterator iLibrary = libraries.begin();
20
iLibrary != libraries.end(); ++iLibrary ) {
21
const
std::string& library = *iLibrary;
22
std::cout <<
"Loading library "
<< library << std::endl;
23
24
System::ImageHandle libhandle;
25
if
( System::loadDynamicLib(library, &libhandle) != 1 ) {
26
std::cout <<
"Error! library loading failed"
<< std::endl;
27
}
28
}
29
}
RootType.h
TestDriver::loadLibraries
static void loadLibraries(const std::vector< std::string > &libraries)
pool
Framework include files.
Definition
libname.h:15
Generated on
for ATLAS Offline Software by
1.17.0