Class PlatformID

#include <Geode/platform/platform.hpp>
classPlatformID{ ... }
No description provided
Examples0
Public static methods8
staticgeode::PlatformIDfrom()

Parse string into PlatformID. String should be all-lowercase, for example “windows” or “linux”

staticgeode::PlatformIDfrom()
No description provided
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.

staticboolcoveredBy(,)
No description provided
staticstd::vector<geode::PlatformID>getCovered()

Returns the list of platforms covered by this string name. For example, “android” would return both Android32 and Android64 todo in v4: deprecate this as the flagged version deals with this

staticcharconst*toString()
No description provided
staticcharconst*toShortString(,
boolignoreArch
)
No description provided
template<class T>staticgeode::PlatformIDfrom(
Tt
)
No description provided
Public member functions6
geode::PlatformID&operator=()
No description provided
booloperator==(
intother
)
const
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
;
No description provided
Protected member functions0
Protected fields0