8#include "Arp/System/Core/Enum.hxx" 
   20ARP_DEPRECATED(
"This implementation is deprecated, use Arp::Enum<T> instead.")
 
   21ARP_CXX_SYMBOL_EXPORT const 
char* GetEnumString(T value);
 
   31ARP_CXX_SYMBOL_EXPORT 
bool TryGetEnumValue(const 
char* name, T& value);
 
   41    friend const char* GetEnumString<>(T key);
 
   42    friend bool TryGetEnumValue<>(
const char* name, T& value);
 
   44    typedef std::map<T, const char*>    Dictionary;
 
   52    static const char* GetEntry(T key)
 
   54        return GetEnumString<T>(key);
 
   63    static bool TryGetEntryValue(
const char* name, T& value)
 
   65        return TryGetEnumValue<T>(name, value);
 
   69    static const Dictionary Values;
 
   72    EnumStrings(
void) = 
delete;
 
Adapter class for enums to make them loggable and parsable from e.g. XML files.
Definition: Enum.hxx:21
 
Root namespace for the PLCnext API
 
class ARP_DEPRECATED("Use Arp::Enum<T> instead.") EnumStrings
Deprecated! The class implements an adapter for enums to define the string literals of the enum entri...
Definition: EnumStrings.hxx:38