Inflection
Morphology Inflection
Loading...
Searching...
No Matches
DataRegistrationService.hpp
1//
2// Created by Juan Carlos Garcia on 3/22/19.
3// Copyright 2019-2024 Apple Inc. All rights reserved.
4//
5#pragma once
6
7#include <inflection/resources/fwd.hpp>
8#include <inflection/util/ULocale.hpp>
9#include <string>
10#include <map>
11
17class INFLECTION_CLASS_API inflection::resources::DataRegistrationService final
18{
19public:
42 static void registerDataPathForLocale(const inflection::util::ULocale& locale, const std::string& path);
49 static std::string getDataPathForLocale(const inflection::util::ULocale& locale);
50};
Provides registration capabilities for registering data for Inflection to utilize.
static std::string getDataPathForLocale(const inflection::util::ULocale &locale)
static void registerDataPathForLocale(const inflection::util::ULocale &locale, const std::string &path)
An object that represents a specific geographical, political, or cultural region.
Definition ULocale.hpp:83
The C++ namespace for Inflection.
Definition fwd.hpp:11