Class PlatformMap

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 constexpr bool hasValid(const Module &m) 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.