Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Dependency< N >::Bound Class Reference

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 >
 

Member Function Documentation

◆ GetComparison()

template<size_t N>
Dependency< N >::Bound::Comparison AZ::Dependency< N >::Bound::GetComparison

Get the comparison operator of this bound that will be used to check against

Returns
The comparison used by this bound.

◆ GetVersion()

template<size_t N>
const Version< N > & AZ::Dependency< N >::Bound::GetVersion

Get the version of this bound that will be used to check against

Returns
The version used by this bound.

◆ MatchesVersion()

template<size_t N>
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.

Returns
Returns true if the bound is satisfied.

◆ SetComparison()

template<size_t N>
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.

◆ SetVersion()

template<size_t N>
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.

◆ ToString()

template<size_t N>
AZStd::string AZ::Dependency< N >::Bound::ToString

Get a formatted string output of the Dependency's bounds.

Returns
The formatted output string.

The documentation for this class was generated from the following files: