ATLAS Offline Software
Loading...
Searching...
No Matches
rcu_locate.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7//
8// includes
9//
10
12
13#include <iostream>
15
16//
17// method implementations
18//
19
20int main (int argc, char **argv)
21{
22 if (argc != 2)
23 {
24 std::cerr << "usage: " << argv[0] << " locations" << std::endl;
25 return 1;
26 }
27
28 std::cout << RCU::locate (argv[1]) << std::endl;
29 return 0;
30}
int main()
Definition hello.cxx:18
std::string locate(const std::string &locations)
effects: find the file with the given name from a list of locations separated by "::".
Definition Locate.cxx:25