LeviLamina
Loading...
Searching...
No Matches
CommandRationalRange Class Reference

Public Types

enum class  BoundType : uchar { Undefined = 0 , Min = 1 , Max = 2 }
enum class  ValueType : int { Undefined = 0 , Int = 1 , Float = 2 }

Public Member Functions

MCAPI CommandRationalRange (float minFloatVal, float maxFloatVal, bool invert, bool inclusive)
MCAPI CommandRationalRange (int minIntVal, int maxIntVal, bool invert, bool inclusive)
MCAPI::CommandRationalRange changeToValueType (::CommandRationalRange::ValueType const &valueType)
MCAPI ::std::variant< int, float > getMaxValue () const
MCAPI ::std::variant< int, float > getMinValue () const
MCAPI bool hasBoundType (::CommandRationalRange::BoundType const &type) const
MCAPI bool isOfValueType (::CommandRationalRange::ValueType const &valueType) const
MCAPI bool isWithinRange (::std::variant< int, float > const &value) const
MCAPI void resetToValueType (::CommandRationalRange::ValueType const &valueType)
MCAPI void setInvert (bool val)
MCAPI void setValue (::std::variant< int, float > const &value, ::CommandRationalRange::BoundType const &type)
MCAPI void * $ctor ()
MCAPI void * $ctor (float minFloatVal, float maxFloatVal, bool invert, bool inclusive)
MCAPI void * $ctor (int minIntVal, int maxIntVal, bool invert, bool inclusive)

Public Attributes

::ll::TypedStorage< 4, 16, ::std::variant<::CommandIntegerRange, ::CommandFloatRange > > mRange
::ll::TypedStorage< 4, 4, ::CommandRationalRange::ValueType > mValueType
::ll::TypedStorage< 1, 1, ::CommandRationalRange::BoundType > mBoundType
::ll::TypedStorage< 1, 1, bool > mInvert
::ll::TypedStorage< 1, 1, bool > mInclusive

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