Home | History | Annotate | Download | only in keymaster

Lines Matching refs:tag_type

80 template <keymaster_tag_type_t tag_type> struct TagValueType {};
97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag {
99 typedef typename TagValueType<tag_type>::value_type value_type;
103 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
105 StaticAssert<(tag & tag_type) == tag_type>::check();
106 StaticAssert<(tag_type != KM_ENUM) && (tag_type != KM_ENUM_REP)>::check();
112 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag, typename KeymasterEnum>
119 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
121 StaticAssert<(tag & tag_type) == tag_type>::check();
122 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();