PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::client::sync_conflict Struct Reference

Represents a conflict detected during synchronization. More...

#include <sync_types.h>

Collaboration diagram for kcenon::pacs::client::sync_conflict:
Collaboration graph

Public Attributes

std::string config_id
 Config that detected this conflict.
 
std::string study_uid
 Study Instance UID.
 
std::string patient_id
 Patient ID for reference.
 
sync_conflict_type conflict_type
 Type of conflict.
 
std::chrono::system_clock::time_point local_modified
 
std::chrono::system_clock::time_point remote_modified
 
size_t local_instance_count {0}
 
size_t remote_instance_count {0}
 
bool resolved {false}
 Whether this conflict was resolved.
 
conflict_resolution resolution_used
 Resolution strategy used.
 
std::chrono::system_clock::time_point detected_at
 
std::optional< std::chrono::system_clock::time_point > resolved_at
 
int64_t pk {0}
 Primary key (0 if not persisted)
 

Detailed Description

Represents a conflict detected during synchronization.

Definition at line 220 of file sync_types.h.

Member Data Documentation

◆ config_id

std::string kcenon::pacs::client::sync_conflict::config_id

Config that detected this conflict.

Definition at line 221 of file sync_types.h.

◆ conflict_type

sync_conflict_type kcenon::pacs::client::sync_conflict::conflict_type

Type of conflict.

Definition at line 225 of file sync_types.h.

◆ detected_at

std::chrono::system_clock::time_point kcenon::pacs::client::sync_conflict::detected_at

Definition at line 236 of file sync_types.h.

◆ local_instance_count

size_t kcenon::pacs::client::sync_conflict::local_instance_count {0}

Definition at line 230 of file sync_types.h.

230{0};

◆ local_modified

std::chrono::system_clock::time_point kcenon::pacs::client::sync_conflict::local_modified

Definition at line 227 of file sync_types.h.

◆ patient_id

std::string kcenon::pacs::client::sync_conflict::patient_id

Patient ID for reference.

Definition at line 223 of file sync_types.h.

◆ pk

int64_t kcenon::pacs::client::sync_conflict::pk {0}

Primary key (0 if not persisted)

Definition at line 243 of file sync_types.h.

243{0};

◆ remote_instance_count

size_t kcenon::pacs::client::sync_conflict::remote_instance_count {0}

Definition at line 231 of file sync_types.h.

231{0};

◆ remote_modified

std::chrono::system_clock::time_point kcenon::pacs::client::sync_conflict::remote_modified

Definition at line 228 of file sync_types.h.

◆ resolution_used

conflict_resolution kcenon::pacs::client::sync_conflict::resolution_used

Resolution strategy used.

Definition at line 234 of file sync_types.h.

◆ resolved

bool kcenon::pacs::client::sync_conflict::resolved {false}

Whether this conflict was resolved.

Definition at line 233 of file sync_types.h.

233{false};

◆ resolved_at

std::optional<std::chrono::system_clock::time_point> kcenon::pacs::client::sync_conflict::resolved_at

Definition at line 237 of file sync_types.h.

◆ study_uid

std::string kcenon::pacs::client::sync_conflict::study_uid

Study Instance UID.

Definition at line 222 of file sync_types.h.


The documentation for this struct was generated from the following file: