Audacity 3.2.0
Namespaces | Functions
CloudSyncDTO.cpp File Reference
#include "CloudSyncDTO.h"
#include <numeric>
#include <set>
#include <unordered_set>
#include <rapidjson/document.h>
#include <rapidjson/reader.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <algorithm>
#include "wxFileNameWrapper.h"
Include dependency graph for CloudSyncDTO.cpp:

Go to the source code of this file.

Namespaces

namespace  audacity
 
namespace  audacity::cloud
 
namespace  audacity::cloud::audiocom
 
namespace  audacity::cloud::audiocom::sync
 
namespace  audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}
 

Functions

bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, std::string &result)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, int &result)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, long &result)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, long long &result)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, bool &result)
 
template<typename T >
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, std::string_view zKey, T &result)
 
template<typename T >
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::DeserializeArray (const rapidjson::Value &value, std::vector< T > &result)
 
template<typename T >
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::DeserializeArray (const rapidjson::Value &value, std::string_view zKey, std::vector< T > &result)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, UploadUrls &urls)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, VersionInfo &urls)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, SnapshotBlockInfo &urls)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, SnapshotInfo &snapshotInfo)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, ProjectInfo &projectInfo)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, ProjectSyncState &urls)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, CreateSnapshotResponse &reponse)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, PaginationInfo &info)
 
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (const rapidjson::Value &value, PaginatedProjectsResponse &response)
 
template<typename T >
bool audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::Deserialize (std::string_view data, T &result)
 
std::string audacity::cloud::audiocom::sync::Serialize (const ProjectForm &form)
 
std::optional< ProjectSyncState > audacity::cloud::audiocom::sync::DeserializeProjectSyncState (const std::string &data)
 
std::optional< CreateSnapshotResponse > audacity::cloud::audiocom::sync::DeserializeCreateSnapshotResponse (const std::string &data)
 
std::optional< PaginatedProjectsResponse > audacity::cloud::audiocom::sync::DeserializePaginatedProjectsResponse (const std::string &data)
 
std::optional< ProjectInfo > audacity::cloud::audiocom::sync::DeserializeProjectInfo (const std::string &data)
 
std::optional< SnapshotInfo > audacity::cloud::audiocom::sync::DeserializeSnapshotInfo (const std::string &data)
 
wxString audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::SafeName (wxString name)
 
wxString audacity::cloud::audiocom::sync::MakeSafeProjectPath (const wxString &rootDir, const wxString &projectName)
 
std::string audacity::cloud::audiocom::sync::Serialize (NetworkStats stats)