The Sparta Modeling Framework
|
Implementation of the Bounded Value class that is templated based on a certain integral or floating-point data-type and functions within one or more non-overlapping operating range. More...
#include <iostream>
#include <limits>
#include <algorithm>
#include <type_traits>
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/utils/MetaStructs.hpp"
Go to the source code of this file.
Classes | |
class | sparta::utils::BoundedValue< T > |
This class allows a developer to bound a value within an upper and lower value. More... | |
Namespaces | |
namespace | sparta |
Macros for handling exponential backoff. | |
Functions | |
template<typename T > | |
std::ostream & | sparta::utils::operator<< (std::ostream &os, const sparta::utils::BoundedValue< T > &data) |
Overloading of ostream operator. | |
Implementation of the Bounded Value class that is templated based on a certain integral or floating-point data-type and functions within one or more non-overlapping operating range.
Definition in file BoundedValue.hpp.
|
inline |
Overloading of ostream operator.
os | A reference to the ostream instance. |
data | The BoundedValue to stringize. |
Definition at line 776 of file BoundedValue.hpp.