IOSS  2.0
tokenize.h
Go to the documentation of this file.
1 /*
2  * Copyright(C) 1999-2020 National Technology & Engineering Solutions
3  * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4  * NTESS, the U.S. Government retains certain rights in this software.
5  *
6  * See packages/seacas/LICENSE for details
7  */
8 #ifndef TOKENIZE_H
9 #define TOKENIZE_H
10 
11 #include <string>
12 #include <vector>
13 
14 namespace Ioss {
15  /**
16  * Take the 'str' argument and split it using the list of characters
17  * in separators as separators. Use tokens to return the result.
18  */
19  std::vector<std::string> tokenize(const std::string &str, const std::string &separators);
20 } // namespace Ioss
21 #endif
Ioss
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:40
Ioss::tokenize
std::vector< std::string > tokenize(const std::string &str, const std::string &separators)
Definition: tokenize.C:11