Blender
V4.3
source
blender
freestyle
intern
system
StringUtils.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
12
#include <cstring>
13
#include <iostream>
14
#include <sstream>
15
#include <string>
16
#include <vector>
17
18
#include "
BLI_path_utils.hh
"
19
#include "
BLI_string.h
"
20
21
using namespace
std;
22
23
namespace
Freestyle
{
24
25
namespace
StringUtils {
26
27
void
getPathName
(
const
string
&path,
const
string
&base,
vector<string>
&pathnames);
28
29
// STL related
30
struct
ltstr
{
31
bool
operator()
(
const
char
*s1,
const
char
*s2)
const
32
{
33
return
strcmp(s1, s2) < 0;
34
}
35
};
36
37
}
// end of namespace StringUtils
38
39
}
/* namespace Freestyle */
BLI_path_utils.hh
BLI_string.h
vector
Definition
cycles/util/vector.h:22
Freestyle::StringUtils::getPathName
void getPathName(const string &path, const string &base, vector< string > &pathnames)
Definition
StringUtils.cpp:19
Freestyle
inherits from class Rep
Definition
AppCanvas.cpp:20
Freestyle::StringUtils::ltstr
Definition
StringUtils.h:30
Freestyle::StringUtils::ltstr::operator()
bool operator()(const char *s1, const char *s2) const
Definition
StringUtils.h:31
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0