blob: 0bb0c85306ed56bed30b95956a25bbfc9d8eeef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
/** \file
* \ingroup freestyle
* \brief String utilities
*/
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "BLI_path_util.h"
#include "BLI_string.h"
using namespace std;
namespace Freestyle {
namespace StringUtils {
void getPathName(const string &path, const string &base, vector<string> &pathnames);
// STL related
struct ltstr {
bool operator()(const char *s1, const char *s2) const
{
return strcmp(s1, s2) < 0;
}
};
} // end of namespace StringUtils
} /* namespace Freestyle */
|