Home
last modified time | relevance | path

Searched refs:EnumType (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dbit_field.h92 template<class EnumType, class ValueType = BASE_NS::underlying_type_t<EnumType>, size_t BitBeginOff…
107 constexpr EnumBitField(const EnumType& value) noexcept in EnumBitField()
117 constexpr EnumBitField& operator=(EnumType value) noexcept
127 constexpr bool IsSet(const EnumType& bits) const noexcept in IsSet()
131 constexpr void Set(const EnumType& bits) in Set()
135 constexpr void Clear(const EnumType& bits) in Clear()
143 constexpr operator EnumType() const noexcept in EnumType() function
145 return static_cast<EnumType>(GetEnumValue()); in EnumType()
147 constexpr bool operator==(EnumType value) const noexcept
151 constexpr bool operator!=(EnumType value) const noexcept
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/
H A Dscreen_types.h263 template<typename EnumType>
264 inline constexpr typename std::underlying_type<EnumType>::type ECast(EnumType t) in ECast()
266 return static_cast<typename std::underlying_type<EnumType>::type>(t); in ECast()
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsatellite_service_test.cpp131 template<typename EnumType>
132 uint32_t ToCode(EnumType code) in ToCode()
/ohos5.0/foundation/multimedia/media_foundation/src/meta/
H A Dmeta.cpp97 #define DEFINE_METADATA_SETTER_GETTER(tag, EnumType) {tag, std::make_pair(Set##EnumType, Get##Enum… argument
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
H A Daudio_utils.h430 template <typename EnumType, typename V>
431 int32_t GetKeyFromValue(const std::unordered_map<EnumType, V> &map, const V &value) in GetKeyFromValue() argument
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp145 template<typename EnumType, typename InputType>
146 bool RangedEnumCast(LoadResult& loadResult, EnumType& out, InputType input) in RangedEnumCast()
148 if (input >= static_cast<int>(EnumType::BEGIN) && input < static_cast<int>(EnumType::COUNT)) { in RangedEnumCast()
149 out = static_cast<EnumType>(input); in RangedEnumCast()