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