10 #ifndef __NODAMUSHI_SVD_VALUE_VOID_VALUE_HPP__ 11 #define __NODAMUSHI_SVD_VALUE_VOID_VALUE_HPP__ 18 template<
bool attribute,
bool r,
char... name>
struct value<void,attribute,r,name...>
25 constexpr
bool empty()const noexcept{
return true;}
26 constexpr
operator bool()const noexcept{
return false;}
31 int get()const noexcept{
return 0;}
34 # if __cplusplus >= 201703 37 const char arr[] = {name...,
'\0'};
38 return std::string(arr);
44 #endif // __NODAMUSHI_SVD_VALUE_VOID_VALUE_HPP__ constexpr bool is_attribute() const noexcept
constexpr const_string get_const_string()
constexpr bool is_required() const noexcept
constexpr bool check_require() const noexcept
std::string get_name() const noexcept
This class reperesents SVD(xml) element / attribute.
static constexpr bool ATTRIBUTE
#define NODAMUSHI_CONSTEXPR_STRING
type & operator *()
get value
constexpr bool empty() const noexcept
static constexpr bool REQUIRED
value class, empty_value_access_error class