Horizon Official Technical Documentation
s_min_max Struct Reference

#include <Horizon.hpp>

+ Inheritance diagram for s_min_max:

Public Member Functions

 s_min_max (int min, int max)
 
void set_min (int min)
 
void set_max (int max)
 
int get_min ()
 
int get_max ()
 

Public Attributes

int min
 
int max
 

Constructor & Destructor Documentation

◆ s_min_max()

s_min_max::s_min_max ( int  min,
int  max 
)
inline
85: min(min), max(max) {}
int max
Definition: Horizon.hpp:94
int min
Definition: Horizon.hpp:93

Member Function Documentation

◆ get_max()

int s_min_max::get_max ( )
inline
91{ return max; }

References max.

Referenced by Horizon::Zone::Traits::s_attribute_change_values::get_max().

+ Here is the caller graph for this function:

◆ get_min()

int s_min_max::get_min ( )
inline
90{ return min; }

References min.

Referenced by Horizon::Zone::Traits::s_attribute_change_values::get_min().

+ Here is the caller graph for this function:

◆ set_max()

void s_min_max::set_max ( int  max)
inline
88{ this->max = max; }

References max.

Referenced by Horizon::Zone::Traits::s_attribute_change_values::set_max().

+ Here is the caller graph for this function:

◆ set_min()

void s_min_max::set_min ( int  min)
inline
87{ this->min = min; }

References min.

Referenced by Horizon::Zone::Traits::s_attribute_change_values::set_min().

+ Here is the caller graph for this function:

Member Data Documentation

◆ max

int s_min_max::max

Referenced by get_max(), and set_max().

◆ min

int s_min_max::min

Referenced by get_min(), and set_min().


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