PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Also known as whole numbers, this class will only allow numbers that are zero or greater with no fractional part. More...
#include <PropWare/utility/comparator.h>
Public Member Functions | |
NonNegativeIntegerComparator () | |
Required default constructor. | |
bool | valid (const int *lhs) const |
Determines if the given argument is valid. | |
Also known as whole numbers, this class will only allow numbers that are zero or greater with no fractional part.
Though you are welcome to construct your own instance, a global instance is available for use in the PropWare namespace: PropWare::NON_NEGATIVE_COMP
.
Definition at line 53 of file comparator.h.