E-MailRelay
|
A static class for mapping between a RR type name, such as "AAAA", and its corresponding numeric value. More...
#include <gdnsmessage.h>
Static Public Member Functions | |
static unsigned int | value (std::string_view type_name) |
Returns the type value for the given type name. More... | |
static unsigned int | value (std::string_view type_name, std::nothrow_t) noexcept |
Returns the type value for the given type name, or zero on error. More... | |
static std::string | name (unsigned int type_value) |
Returns the type name for the given type value. More... | |
A static class for mapping between a RR type name, such as "AAAA", and its corresponding numeric value.
Definition at line 184 of file gdnsmessage.h.
|
static |
Returns the type name for the given type value.
Definition at line 590 of file gdnsmessage.cpp.
|
static |
Returns the type value for the given type name.
Throws on error.
Definition at line 582 of file gdnsmessage.cpp.
|
staticnoexcept |
Returns the type value for the given type name, or zero on error.
Definition at line 571 of file gdnsmessage.cpp.