Public Types | |
enum class | Comparison : AZ::u8 { None = 0 , GreaterThan = 1 << 0 , LessThan = 1 << 1 , EqualTo = 1 << 2 , TwiddleWakka = 1 << 3 } |
Public Member Functions | |
AZStd::string | ToString () const |
bool | MatchesVersion (const Version< N > &version) const |
void | SetVersion (const Version< N > &version) |
const Version< N > & | GetVersion () const |
void | SetComparison (Comparison comp) |
Comparison | GetComparison () const |
Friends | |
class | Dependency< N > |
Dependency< N >::Bound::Comparison AZ::Dependency< N >::Bound::GetComparison |
Get the comparison operator of this bound that will be used to check against
const Version< N > & AZ::Dependency< N >::Bound::GetVersion |
Get the version of this bound that will be used to check against
bool AZ::Dependency< N >::Bound::MatchesVersion | ( | const Version< N > & | version | ) | const |
Check if the bound is satisfied by the version input.
\params[in] version The version to check against.
void AZ::Dependency< N >::Bound::SetComparison | ( | Comparison | comp | ) |
Set the comparison of this bound that will be used to check against
\params[in] comp The comparison to set this bound.
void AZ::Dependency< N >::Bound::SetVersion | ( | const Version< N > & | version | ) |
Set the version of this bound that will be used to check against
\params[in] version The version to set this bound.
AZStd::string AZ::Dependency< N >::Bound::ToString |
Get a formatted string output of the Dependency's bounds.