Aprepro  5.0x
apr_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 SEAMS {
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 SEAMS
21 #endif
SEAMS
Definition: apr_aprepro.cc:41
SEAMS::tokenize
std::vector< std::string > tokenize(const std::string &str, const std::string &separators)
Definition: apr_tokenize.cc:10