ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
image Struct Referencefinal

Represents a dynamically loaded image (typically SVG). More...

#include <image.hpp>

Collaboration diagram for image:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
boost::uuids::uuid image_id
 Unique identifier for the image (UUID).
 
std::string key
 Unique key used by the application (e.g., 'ro', 'us', 'gb').
 
std::string description
 Human-readable description of the image.
 
std::string svg_data
 The entire SVG content stored as plain text.
 
std::string recorded_by
 Username of the person who recorded this version in the system.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded in the system.
 

Detailed Description

Represents a dynamically loaded image (typically SVG).

Member Data Documentation

◆ description

std::string description

Human-readable description of the image.

Example: "Flag for country code RO (Romania)"

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).