18 #ifndef EQFABRIC_ERRORREGISTRY_H
19 #define EQFABRIC_ERRORREGISTRY_H
22 #include <eq/fabric/types.h>
28 namespace detail {
class ErrorRegistry; }
50 EQFABRIC_API
const std::string&
getString(
const uint32_t error )
const;
53 EQFABRIC_API
void setString(
const uint32_t error,
54 const std::string& text );
57 EQFABRIC_API
void eraseString(
const uint32_t error );
59 EQFABRIC_API
bool isEmpty()
const;
64 detail::ErrorRegistry*
const _impl;
69 #endif // EQFABRIC_ERRORREGISTRY_H
Defines export visibility macros for library EqualizerFabric.
EQFABRIC_API void eraseString(const uint32_t error)
Clear a given error code string.
The registry translating error codes to strings.
EQFABRIC_API void setString(const uint32_t error, const std::string &text)
Set an error string for the given error code.
EQFABRIC_API const std::string & getString(const uint32_t error) const