Class PlatformMap
Defined in File PlatformMap.hpp
Class Documentation
-
class PlatformMap
Public Functions
-
inline constexpr PlatformMap()
-
inline constexpr PlatformMap(Platform p, Module m, ModuleVersion v)
-
inline constexpr PlatformMap(const PlatformVersion &x)
-
inline constexpr PlatformMap(const std::vector<PlatformVersion> &vec)
-
inline constexpr void put(const Platform &p, const Module &m, const ModuleVersion &v)
-
inline constexpr void put(const PlatformVersion &x)
-
inline void put(const std::vector<PlatformVersion> &vec)
-
inline constexpr ModuleVersion get(const Platform &p, const Module &m) const
-
inline constexpr ModuleVersion get(const PlatformVersion &x) const
-
inline const std::vector<PlatformVersion> find(const Module &m) const
Finds all valid ModuleVersions with the given module from all platforms.
- Parameters:
m – [in] the module to find
- Returns:
On success, a vector containing PlatformVersions found. On failure, an empty vector.
-
inline constexpr PlatformMap()