Blender  V3.3
StringUtils.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
10 #include <cstring>
11 #include <iostream>
12 #include <sstream>
13 #include <string>
14 #include <vector>
15 
16 #include "BLI_path_util.h"
17 #include "BLI_string.h"
18 
19 using namespace std;
20 
21 namespace Freestyle {
22 
23 namespace StringUtils {
24 
25 void getPathName(const string &path, const string &base, vector<string> &pathnames);
26 
27 // STL related
28 struct ltstr {
29  bool operator()(const char *s1, const char *s2) const
30  {
31  return strcmp(s1, s2) < 0;
32  }
33 };
34 
35 } // end of namespace StringUtils
36 
37 } /* namespace Freestyle */
void getPathName(const string &path, const string &base, vector< string > &pathnames)
Definition: StringUtils.cpp:15
inherits from class Rep
Definition: AppCanvas.cpp:18
bool operator()(const char *s1, const char *s2) const
Definition: StringUtils.h:29