Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions
CloudSyncDTO.h File Reference
#include <cstdint>
#include <string>
#include <string_view>
#include <optional>
#include <unordered_set>
#include <vector>
#include <memory>
#include <wx/string.h>
Include dependency graph for CloudSyncDTO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  audacity::cloud::audiocom::sync::LockedBlock
 
struct  audacity::cloud::audiocom::sync::ProjectForm
 
struct  audacity::cloud::audiocom::sync::UploadUrls
 
struct  audacity::cloud::audiocom::sync::VersionInfo
 
struct  audacity::cloud::audiocom::sync::SnapshotBlockInfo
 
struct  audacity::cloud::audiocom::sync::SnapshotInfo
 
struct  audacity::cloud::audiocom::sync::ProjectInfo
 
struct  audacity::cloud::audiocom::sync::ProjectSyncState
 
struct  audacity::cloud::audiocom::sync::CreateSnapshotResponse
 
struct  audacity::cloud::audiocom::sync::PaginationInfo
 
struct  audacity::cloud::audiocom::sync::PaginatedProjectsResponse
 
struct  audacity::cloud::audiocom::sync::NetworkStats
 

Namespaces

namespace  audacity
 
namespace  audacity::cloud
 
namespace  audacity::cloud::audiocom
 
namespace  audacity::cloud::audiocom::sync
 

Typedefs

using SampleBlockPtr = std::shared_ptr< SampleBlock >
 
using SampleBlockID = long long
 
using SampleBlockIDSet = std::unordered_set< SampleBlockID >
 
using audacity::cloud::audiocom::sync::BlockID = int64_t
 
using audacity::cloud::audiocom::sync::BlockHash = std::string
 
using audacity::cloud::audiocom::sync::SampleBlockHashes = std::vector< BlockHash >
 

Functions

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)
 
std::string audacity::cloud::audiocom::sync::Serialize (NetworkStats stats)
 
wxString audacity::cloud::audiocom::sync::MakeSafeProjectPath (const wxString &rootDir, const wxString &projectName)
 

Typedef Documentation

◆ SampleBlockID

using SampleBlockID = long long

Definition at line 26 of file CloudSyncDTO.h.

◆ SampleBlockIDSet

using SampleBlockIDSet = std::unordered_set<SampleBlockID>

Definition at line 27 of file CloudSyncDTO.h.

◆ SampleBlockPtr

using SampleBlockPtr = std::shared_ptr<SampleBlock>

Definition at line 25 of file CloudSyncDTO.h.