Radium Engine
1.6.3
Loading...
Searching...
No Matches
StringUtils.hpp
1
#pragma once
2
3
#include <Core/RaCore.hpp>
4
#include <cstddef>
5
#include <string>
6
#include <string_view>
7
8
namespace
Ra
{
9
namespace
Core {
10
namespace
Utils {
11
//
12
// File names and paths.
13
// Todo : support backward slashes in windows paths.
14
//
15
17
RA_CORE_API
std::string
getFileExt(
const
std::string
& str );
18
22
RA_CORE_API
std::string
getDirName(
const
std::string
& path );
23
31
RA_CORE_API
std::string
getBaseName(
const
std::string
& path,
bool
keepExtension =
true
);
32
40
RA_CORE_API
std::size_t
41
replaceAllInString(
std::string
& inout, std::string_view what, std::string_view with );
42
49
RA_CORE_API
std::size_t
removeAllInString(
std::string
& inout, std::string_view what );
50
51
}
// namespace Utils
52
}
// namespace Core
53
}
// namespace Ra
std::string
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:4
std::size_t
src
Core
Utils
StringUtils.hpp
Generated by
1.12.0