CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Parse.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_Parse_h
2 #define FWCore_Utilities_Parse_h
3 
4 #include <string>
5 #include <vector>
6 namespace edm {
8  std::string read_whole_file(std::string const& filename);
9 
10  void read_from_cin(std::string & output);
11 
12  std::string withoutQuotes(std::string const& from);
13 
15  std::vector<std::string> tokenize(std::string const& input, std::string const& separator);
16 }
17 
18 #endif
std::string read_whole_file(std::string const &filename)
only does the yacc interpretation
Definition: Parse.cc:10
tuple input
Definition: collect_tpl.py:10
static std::string from(" from ")
std::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
Definition: Parse.cc:57
tuple filename
Definition: lut2db_cfg.py:20
void read_from_cin(std::string &output)
Definition: Parse.cc:27
std::string withoutQuotes(std::string const &from)
Definition: Parse.cc:36