1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #pragma once
- #include <algorithm>
- #include <array>
- namespace WwiseGTE
- {
- template <int N, bool Ordered>
- class FeatureKey
- {
- protected:
-
-
-
-
-
-
-
-
-
-
-
- FeatureKey() = default;
- public:
- bool operator==(FeatureKey const& key) const
- {
- return V == key.V;
- }
- bool operator!=(FeatureKey const& key) const
- {
- return V != key.V;
- }
- bool operator<(FeatureKey const& key) const
- {
- return V < key.V;
- }
- bool operator<=(FeatureKey const& key) const
- {
- return V <= key.V;
- }
- bool operator>(FeatureKey const& key) const
- {
- return V > key.V;
- }
- bool operator>=(FeatureKey const& key) const
- {
- return V >= key.V;
- }
- std::array<int, N> V;
- };
- }
|