Parse string into PlatformID. String should be all-lowercase, for example “windows” or “linux”
Class PlatformID
#include <Geode/platform/platform.hpp>classPlatformID{ ... }
No description provided
Examples0
Public static methods5
staticgeode::PlatformIDfrom()
staticboolcoveredBy(,)
Determines if a given platform string “covers” the given platform. For example, “android” is covered by Platform::Android32 and Platform::Android64. Input string must follow the format in PlatformID::toShortString.
staticstd::string_viewtoString()
No description provided
staticstd::string_viewtoShortString(,boolignoreArch)
No description provided
template<class T>staticgeode::PlatformIDfrom(Tt)
No description provided
Public member functions6
geode::PlatformID&operator=()
No description provided
booloperator==()const
No description provided
booloperator<()const
No description provided
booloperator>()const
No description provided
template<class T>Tto()const
No description provided
Fields1
geode::PlatformID::Typem_value;
No description provided