Audacity 3.2.0
Functions
StringUtils.cpp File Reference
#include "StringUtils.h"
#include "CodeConversions.h"
Include dependency graph for StringUtils.cpp:

Go to the source code of this file.

Functions

std::string ToLower (const std::string &str)
 
std::string ToLower (const std::string_view &str)
 
std::string ToLower (const char *str)
 
std::wstring ToLower (const std::wstring &str)
 
std::wstring ToLower (const std::wstring_view &str)
 
std::wstring ToLower (const wchar_t *str)
 
wxString ToLower (const wxString &str)
 
std::string ToUpper (const std::string &str)
 
std::string ToUpper (const std::string_view &str)
 
std::string ToUpper (const char *str)
 
std::wstring ToUpper (const std::wstring &str)
 
std::wstring ToUpper (const std::wstring_view &str)
 
std::wstring ToUpper (const wchar_t *str)
 
wxString ToUpper (const wxString &str)
 

Function Documentation

◆ ToLower() [1/7]

std::string ToLower ( const char *  str)

Definition at line 21 of file StringUtils.cpp.

22{
24}
#define str(a)
std::string ToLower(const std::string &str)
Definition: StringUtils.cpp:11
std::string ToUTF8(const std::wstring &wstr)
wxString ToWXString(const std::string &str)

References str, ToLower(), audacity::ToUTF8(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToLower() [2/7]

std::string ToLower ( const std::string &  str)

Definition at line 11 of file StringUtils.cpp.

References str, ToLower(), audacity::ToUTF8(), and audacity::ToWXString().

Referenced by IsPrefixedInsensitive(), and ToLower().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToLower() [3/7]

std::string ToLower ( const std::string_view &  str)

Definition at line 16 of file StringUtils.cpp.

References str, ToLower(), audacity::ToUTF8(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToLower() [4/7]

std::wstring ToLower ( const std::wstring &  str)

Definition at line 26 of file StringUtils.cpp.

27{
29}
std::wstring ToWString(const std::string &str)

References str, ToLower(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToLower() [5/7]

std::wstring ToLower ( const std::wstring_view &  str)

Definition at line 31 of file StringUtils.cpp.

References str, ToLower(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToLower() [6/7]

std::wstring ToLower ( const wchar_t *  str)

Definition at line 36 of file StringUtils.cpp.

References str, ToLower(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToLower() [7/7]

wxString ToLower ( const wxString &  str)

Definition at line 41 of file StringUtils.cpp.

42{
43 return str.Lower();
44}

References str.

◆ ToUpper() [1/7]

std::string ToUpper ( const char *  str)

Definition at line 56 of file StringUtils.cpp.

57{
59}
std::string ToUpper(const std::string &str)
Definition: StringUtils.cpp:46

References str, ToUpper(), audacity::ToUTF8(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToUpper() [2/7]

std::string ToUpper ( const std::string &  str)

Definition at line 46 of file StringUtils.cpp.

References str, ToUpper(), audacity::ToUTF8(), and audacity::ToWXString().

Referenced by audacity::cloud::audiocom::sync::RemoteProjectSnapshot::CalculateKnownBlocks(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::CleanupOrphanBlocks(), audacity::cloud::audiocom::sync::LocalProjectSnapshot::ProjectBlocksLock::FillMissingBlocks(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::RemoteProjectSnapshot(), and ToUpper().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToUpper() [3/7]

std::string ToUpper ( const std::string_view &  str)

Definition at line 51 of file StringUtils.cpp.

References str, ToUpper(), audacity::ToUTF8(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToUpper() [4/7]

std::wstring ToUpper ( const std::wstring &  str)

Definition at line 61 of file StringUtils.cpp.

References str, ToUpper(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToUpper() [5/7]

std::wstring ToUpper ( const std::wstring_view &  str)

Definition at line 66 of file StringUtils.cpp.

References str, ToUpper(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToUpper() [6/7]

std::wstring ToUpper ( const wchar_t *  str)

Definition at line 71 of file StringUtils.cpp.

References str, ToUpper(), audacity::ToWString(), and audacity::ToWXString().

Here is the call graph for this function:

◆ ToUpper() [7/7]

wxString ToUpper ( const wxString &  str)

Definition at line 76 of file StringUtils.cpp.

77{
78 return str.Upper();
79}

References str.