ORE Studio 0.0.4
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
importer Class Reference

Imports domain objects from their ORE XML representation. More...

#include <importer.hpp>

Collaboration diagram for importer:
Collaboration graph

Static Public Member Functions

static std::string validate_currency (const refdata::domain::currency &currency)
 Validates a currency against XSD schema requirements.
 
static std::vector< refdata::domain::currencyimport_currency_config (const std::filesystem::path &path)
 

Detailed Description

Imports domain objects from their ORE XML representation.

Member Function Documentation

◆ validate_currency()

std::string validate_currency ( const refdata::domain::currency currency)
static

Validates a currency against XSD schema requirements.

Performs lightweight validation checking required fields per assets/xsds/currencyconfig.xsd without requiring external libraries.

Parameters
currencyCurrency to validate
Returns
Empty string if valid, otherwise error message describing issues
Here is the caller graph for this function: