Skip to content

GuitarPrometheus::Profiles::DefaultProfiles

GuitarPrometheus::Profiles::DefaultProfiles

Accessor for the compiled-in bundled default profiles. More…

#include <DefaultProfiles.h>

Public Functions

Name
std::vector< std::string_view >getBundledJson()
const std::vector< juce::Uuid > &getBundledUuids()

Detailed Description

class GuitarPrometheus::Profiles::DefaultProfiles;

Accessor for the compiled-in bundled default profiles.

Each returned string is a valid profile JSON document that validates cleanly against the v1 schema (enforced by a test). [ProfileStore](/api-reference/classes/classguitarprometheus_1_1profiles_1_1profilestore/) parses these and merges them with user profiles at load time; user profiles shadow bundled profiles when they share a UUID.

Public Functions Documentation

function getBundledJson

static std::vector< std::string_view > getBundledJson()

Return: JSON string views of every bundled default, in a stable order.

function getBundledUuids

static const std::vector< juce::Uuid > & getBundledUuids()

Return: The set of UUIDs declared by bundled JSON documents. Computed once on first call and cached in process. Empty UUIDs (parse failure) are excluded so callers can compare with count(uuid) safely.


Updated on 2026-05-29 at 07:39:52 +0000