12    constexpr Range() : min(0), max(0) {}
 
   13    constexpr Range(T min, T max) : min(min), max(max) {}
 
   23    constexpr Size() : width(0), height(0) {}
 
   24    constexpr Size(
size_t width, 
size_t height) : width(width), height(height) {}
 
   25    bool operator==(
const Size& other) { 
return width == other.width && height == other.height; }
 
   41    bool operator==(
const ROI& other) { 
return width == other.width && height == other.height; }
 
   53enum struct IpAssignmentMethod { Unknown, DHCP = 4, Static, LLA };
 
   55inline static std::string ipAssignmentMethodToString(IpAssignmentMethod type)
 
   58    case IpAssignmentMethod::Static:
 
   60    case IpAssignmentMethod::DHCP:
 
   62    case IpAssignmentMethod::LLA:
 
   64    case IpAssignmentMethod::Unknown:
 
Describes a region of interest (ROI).
unsigned upperLeftY
The row coordinate of the upper-left corner of ROI.
unsigned upperLeftX
The column coordinate of the upper-left corner of ROI.
Describes a size with a width and a height.