ad_physics
Functions
DurationValidInputRange.hpp File Reference
#include <cmath>
#include <limits>
#include "ad/physics/Duration.hpp"
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Include dependency graph for DurationValidInputRange.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool withinValidInputRange (::ad::physics::Duration const &input, bool const logErrors=true)
 check if the given Duration is within valid input range More...
 

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

bool withinValidInputRange ( ::ad::physics::Duration const &  input,
bool const  logErrors = true 
)
inline

check if the given Duration is within valid input range

Parameters
[in]inputthe Duration as an input value
[in]logErrorsenables error logging
Returns
true if Duration is considered to be within the specified input range
Note
the specified input range is defined by std::numeric_limits<::ad::physics::Duration>::lowest() <= input <= std::numeric_limits<::ad::physics::Duration>::max() 0. <= input <= 1e6