DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
Util.hpp
Go to the documentation of this file.
1/*
2 * Util.h
3 * ers
4 *
5 * Created by Serguei Kolos on 26.08.05.
6 * Copyright 2005 CERN. All rights reserved.
7 *
8 */
9
15#ifndef ERS_UTIL_H
16#define ERS_UTIL_H
17
18#include <string>
19#include <vector>
20
21namespace ers
22{
23 void tokenize( const std::string & text,
24 const std::string & separators,
25 std::vector<std::string> & tokens );
26
27 int read_from_environment( const char * name, int default_value );
28
29 const char * read_from_environment( const char * name, const char * default_value );
30}
31
32#endif
int read_from_environment(const char *name, int default_value)
Definition Util.cpp:27
void tokenize(const std::string &text, const std::string &separators, std::vector< std::string > &tokens)
Definition Util.cpp:7