ATLAS Offline Software
Loading...
Searching...
No Matches
rcu_locate.cxx File Reference
#include <RootCoreUtils/Global.h>
#include <iostream>
#include <RootCoreUtils/Locate.h>
Include dependency graph for rcu_locate.cxx:

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Author
Nils Krumnack

Definition at line 20 of file rcu_locate.cxx.

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}
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