1<% 2p_name = property.snake_case; 3p_tag = property.snake_case + "_t" 4%>\ 5 auto ${p_name}() const 6 requires server_details::has_get_property_nomsg<${p_tag}, Instance> 7 { 8 return static_cast<const Instance*>(this)->get_property(${p_tag}{}); 9 } 10 auto ${p_name}(sdbusplus::message_t& m) const 11 requires server_details::has_get_property_msg<${p_tag}, Instance> 12 { 13 return static_cast<const Instance*>(this)->get_property(${p_tag}{}, m); 14 } 15 auto ${p_name}() const noexcept 16 requires (!server_details::has_get_property<${p_tag}, Instance>) 17 { 18 static_assert( 19 !server_details::has_get_property_missing_const<${p_tag}, 20 Instance>, 21 "Missing const on get_property(${p_tag})?"); 22 return ${p_name}_; 23 } 24