HDK
|
#include <OpenColorIO.h>
Public Member Functions | |
BuiltinConfigRegistry (const BuiltinConfigRegistry &)=delete | |
BuiltinConfigRegistry & | operator= (const BuiltinConfigRegistry &)=delete |
virtual size_t | getNumBuiltinConfigs () const noexcept=0 |
Get the number of built-in configs available. More... | |
virtual const char * | getBuiltinConfigName (size_t configIndex) const =0 |
virtual const char * | getBuiltinConfigUIName (size_t configIndex) const =0 |
Throws for illegal index. More... | |
virtual const char * | getBuiltinConfig (size_t configIndex) const =0 |
virtual const char * | getBuiltinConfigByName (const char *configName) const =0 |
virtual bool | isBuiltinConfigRecommended (size_t configIndex) const =0 |
Check if a specific built-in config is recommended. More... | |
virtual const char * | getDefaultBuiltinConfigName () const =0 |
Static Public Member Functions | |
static const BuiltinConfigRegistry & | Get () noexcept |
Get the current built-in configs registry. More... | |
Protected Member Functions | |
BuiltinConfigRegistry ()=default | |
virtual | ~BuiltinConfigRegistry ()=default |
The built-in configs registry contains information about all the existing built-in configs.
Definition at line 3731 of file OpenColorIO.h.
|
delete |
|
protecteddefault |
|
protectedvirtualdefault |
|
staticnoexcept |
Get the current built-in configs registry.
|
pure virtual |
Get Yaml text of the built-in config at the specified index. Throws for illegal index.
|
pure virtual |
Get the Yaml text of the built-in config with the specified name. Throws if the name is not found.
|
pure virtual |
Get the name of the config at the specified (zero-based) index. Throws for illegal index.
|
pure virtual |
Throws for illegal index.
|
pure virtual |
|
pure virtualnoexcept |
Get the number of built-in configs available.
|
pure virtual |
Check if a specific built-in config is recommended.
For backwards compatibility reasons, configs will remain in the registry even if they have been superseded. If an app is presenting a list of configs to users, it should not include configs that are no longer recommended.
Throws if the name is not found.
configIndex | Index of built-in config. |
|
delete |