![]() |
Audacity 3.2.0
|
Namespaces | |
namespace | anonymous_namespace{Uuid.cpp} |
namespace | network_manager |
namespace | sentry |
Classes | |
struct | ApplicationSettings |
Provides an access to application-wise settings. More... | |
class | BasicSettings |
Base class for objects that provide facility to store data persistently, and access it with string keys that are formed similarly to how paths in tree are formed. More... | |
struct | GoldenRatio |
struct | GoldenRatio< 4 > |
struct | GoldenRatio< 8 > |
class | TypedAny |
Generates distinct, non-interconvertible types wrapping std::any. More... | |
class | Uuid |
Utility class that generates and parses UUIDs. More... | |
Typedefs | |
using | SystemTime = std::chrono::system_clock::time_point |
Functions | |
std::string | ToUTF8 (const std::wstring &wstr) |
std::string | ToUTF8 (const wchar_t *wstr) |
std::string | ToUTF8 (const wxString &wstr) |
std::wstring | ToWString (const std::string &str) |
STRING_UTILS_API std::wstring | ToWString (std::string_view str) |
std::wstring | ToWString (const char *str) |
std::wstring | ToWString (const wxString &str) |
wxString | ToWXString (const std::string &str) |
STRING_UTILS_API wxString | ToWXString (std::string_view str) |
STRING_UTILS_API wxString | ToWXString (const char *str) |
wxString | ToWXString (const std::wstring &str) |
bool | ParseRFC822Date (const std::string &dateString, SystemTime *time) |
std::string | SerializeRFC822Date (SystemTime timePoint) |
uint8_t | HexCharToNum (char c) noexcept |
std::string | UrlDecode (const std::string &url) |
std::string | UrlEncode (const std::string &url) |
template<typename Tag > | |
void | swap (TypedAny< Tag > &x, TypedAny< Tag > &y) |
Non-member swap. More... | |
Variables | |
constexpr int | BRACED_UUID_LENGTH = 38 |
constexpr int | UUID_LENGTH = 36 |
constexpr int | HEX_UUID_LENGTH = 32 |
using audacity::SystemTime = typedef std::chrono::system_clock::time_point |
Definition at line 19 of file DateTimeConversions.h.
|
inlinenoexcept |
Definition at line 20 of file HexHelpers.h.
Referenced by audacity::anonymous_namespace{Uuid.cpp}::readByte(), and UrlDecode().
STRING_UTILS_API bool audacity::ParseRFC822Date | ( | const std::string & | dateString, |
SystemTime * | time | ||
) |
Definition at line 20 of file DateTimeConversions.cpp.
References PackedArray::end().
Referenced by audacity::network_manager::Cookie::Parse().
STRING_UTILS_API std::string audacity::SerializeRFC822Date | ( | SystemTime | timePoint | ) |
Definition at line 34 of file DateTimeConversions.cpp.
References ToUTF8().
Referenced by audacity::network_manager::Cookie::toString().
Non-member swap.
Definition at line 89 of file TypedAny.h.
References audacity::TypedAny< Tag >::swap().
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const std::wstring & | wstr | ) |
Definition at line 19 of file CodeConversions.cpp.
Referenced by audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddOSContext(), cloud::audiocom::OAuthService::AuthoriseRefreshToken(), cloud::audiocom::UserService::DownloadAvatar(), ErrorReportDialog::ErrorReportDialog(), ExportFFmpegOptions::ExportFFmpegOptions(), ExportFFmpegOptions::FetchCompatibleFormatList(), cloud::audiocom::anonymous_namespace{UploadService.cpp}::GetUploadRequestPayload(), anonymous_namespace{AudacityApp.cpp}::InitCrashreports(), anonymous_namespace{ExportFFmpeg.cpp}::ExportOptionsFFmpegCustomEditor::Load(), LV2EffectBase::LoadFactoryPreset(), cloud::audiocom::LinkAccountDialog::OnContinue(), ErrorReportDialog::OnSend(), SerializeRFC822Date(), cloud::audiocom::ServiceConfig::ServiceConfig(), audacity::network_manager::anonymous_namespace{CurlHandleManager.cpp}::CurlConfig::UpdatePrefs(), and OpusExportProcessor::WriteTags().
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const wchar_t * | wstr | ) |
Definition at line 24 of file CodeConversions.cpp.
STRING_UTILS_API std::string audacity::ToUTF8 | ( | const wxString & | wstr | ) |
Definition at line 29 of file CodeConversions.cpp.
STRING_UTILS_API std::wstring audacity::ToWString | ( | const char * | str | ) |
STRING_UTILS_API std::wstring audacity::ToWString | ( | const std::string & | str | ) |
Definition at line 34 of file CodeConversions.cpp.
References str.
Referenced by ProjectFileIO::ShowError().
STRING_UTILS_API std::wstring audacity::ToWString | ( | const wxString & | str | ) |
Definition at line 50 of file CodeConversions.cpp.
References str.
STRING_UTILS_API std::wstring audacity::ToWString | ( | std::string_view | str | ) |
STRING_UTILS_API wxString audacity::ToWXString | ( | const char * | str | ) |
Definition at line 65 of file CodeConversions.cpp.
References str.
STRING_UTILS_API wxString audacity::ToWXString | ( | const std::string & | str | ) |
Definition at line 55 of file CodeConversions.cpp.
References str.
Referenced by anonymous_namespace{ImportMP3_MPG123.cpp}::GetId3v2Genre(), OpusImportFileHandle::Import(), WavPackImportFileHandle::Import(), cloud::audiocom::ShareAudioDialog::InitialStatePanel::OnLinkButtonPressed(), anonymous_namespace{ImportMP3_MPG123.cpp}::MP3ImportFileHandle::ReadTags(), audacity::sentry::AnonymizedMessage::ToWXString(), and cloud::audiocom::UserService::UpdateUserData().
STRING_UTILS_API wxString audacity::ToWXString | ( | const std::wstring & | str | ) |
Definition at line 70 of file CodeConversions.cpp.
References str.
STRING_UTILS_API wxString audacity::ToWXString | ( | std::string_view | str | ) |
Definition at line 60 of file CodeConversions.cpp.
References str.
STRING_UTILS_API std::string audacity::UrlDecode | ( | const std::string & | url | ) |
Definition at line 18 of file UrlDecode.cpp.
References PackedArray::end(), and HexCharToNum().
Referenced by cloud::audiocom::OAuthService::HandleLinkURI().
STRING_UTILS_API std::string audacity::UrlEncode | ( | const std::string & | url | ) |
Definition at line 16 of file UrlEncode.cpp.
|
constexpr |
Definition at line 38 of file Uuid.cpp.
Referenced by audacity::Uuid::FromString().
|
constexpr |
Definition at line 40 of file Uuid.cpp.
Referenced by audacity::Uuid::ToHexString().
|
constexpr |
Definition at line 39 of file Uuid.cpp.
Referenced by audacity::Uuid::FromString(), and audacity::Uuid::ToString().