DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
ers
include
ers
internal
Util.hpp
Go to the documentation of this file.
1
/*
2
* DUNE DAQ modification notice:
3
* This file has been modified from the original ATLAS ers source for the DUNE DAQ project.
4
* Fork baseline commit: 8267df82a4f6fe6bf02c4014923eba19eddc4614 (2020-04-14).
5
* Renamed since fork: yes (from ers/internal/Util.h to include/ers/internal/Util.hpp).
6
*
7
* Original copyright:
8
* Copyright (C) 2001-2020 CERN for the benefit of the ATLAS collaboration.
9
* Licensed under the Apache License, Version 2.0.
10
*/
11
12
/*
13
* Util.h
14
* ers
15
*
16
* Created by Serguei Kolos on 26.08.05.
17
* Copyright 2005 CERN. All rights reserved.
18
*
19
*/
20
25
26
#ifndef ERS_UTIL_H
27
#define ERS_UTIL_H
28
29
#include <string>
30
#include <vector>
31
32
namespace
ers
33
{
34
void
tokenize
(
const
std::string & text,
35
const
std::string & separators,
36
std::vector<std::string> & tokens );
37
38
int
read_from_environment
(
const
char
* name,
int
default_value );
39
40
const
char
*
read_from_environment
(
const
char
* name,
const
char
* default_value );
41
}
42
43
#endif
ers
Definition
Logger.hxx:202
ers::read_from_environment
int read_from_environment(const char *name, int default_value)
Definition
Util.cpp:38
ers::tokenize
void tokenize(const std::string &text, const std::string &separators, std::vector< std::string > &tokens)
Definition
Util.cpp:18
Generated on
for DUNE-DAQ by
1.17.0