LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
output_to.cc
Go to the documentation of this file.
1
#include "
art/Framework/Art/detail/output_to.h
"
2
3
#include <regex>
4
5
namespace
{
6
std::regex
const
re_stdout{R
"((STDOUT|cout))",
7
std::regex_constants::ECMAScript |
8
std::regex_constants::icase};
9
std::regex
const
re_stderr{R
"((STDERR|cerr))",
10
std::regex_constants::ECMAScript |
11
std::regex_constants::icase};
12
}
13
14
bool
15
art::detail::output_to_stderr
(std::string
const
& spec)
16
{
17
return
std::regex_match(spec, re_stderr);
18
}
19
20
bool
21
art::detail::output_to_stdout
(std::string
const
& spec)
22
{
23
return
std::regex_match(spec, re_stdout);
24
}
output_to.h
art::detail::output_to_stderr
bool output_to_stderr(std::string const &spec)
Definition:
output_to.cc:15
art::detail::output_to_stdout
bool output_to_stdout(std::string const &spec)
Definition:
output_to.cc:21
art
Framework
Art
detail
output_to.cc
Generated on Thu May 2 2024 20:59:28 for LArSoft by
1.8.11