16#ifndef TESSERACT_CCSTRUCT_IMAGE_H_
17#define TESSERACT_CCSTRUCT_IMAGE_H_
34 bool operator==(
decltype(
nullptr))
const {
return pix_ ==
nullptr; }
35 bool operator!=(
decltype(
nullptr))
const {
return pix_ !=
nullptr; }
36 explicit operator bool()
const {
return pix_ !=
nullptr; }
37 operator Pix *()
const {
return pix_; }
38 explicit operator Pix **() {
return &pix_; }
TBOX & operator&=(TBOX &op1, const TBOX &op2)
bool operator!=(decltype(nullptr)) const
bool operator==(decltype(nullptr)) const