AYON Usd Resolver  1.0.0
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1#ifndef CONFIG_H
2#define CONFIG_H
3
4#include <array>
5#include <cstdint>
6#include <string_view>
7
8#define PRECACHE_SIZE 64
9
10#define ENABLE_STATIC_GLOBAL_CACHE_ENV_KEY "AYON_USD_RESOLVER_ENABLE_PINNING"
11
12#define PINNING_ROOTS_ENV_KEY "AYON_USD_RESOLVER_PINNING_ROOTS"
13#define PINNING_FILE_PATH_ENV_KEY "AYON_USD_RESOLVER_PINNING_FILE"
14
15namespace Config {
16
17// TODO implement Config as lock less read only Singleton as there is no need to write to the config nor is there a need
18// to have this data initiated twice
20 std::array<std::string_view, 2> ayonUriOptions = {"ayon:", "ayon+entity:"};
21 std::array<uint8_t, 2> ayonUriOptionsSize = {uint8_t(5), uint8_t(12)};
22};
23
24} // namespace Config
25
26#endif // CONFIG_H
Definition: config.h:15
Definition: config.h:19
std::array< std::string_view, 2 > ayonUriOptions
Definition: config.h:20
std::array< uint8_t, 2 > ayonUriOptionsSize
Definition: config.h:21