1 #ifndef IMAGE_IO_BASE_MESSAGE_STATS_H_ // NOLINT 2 #define IMAGE_IO_BASE_MESSAGE_STATS_H_ // NOLINT 3 4 #include "image_io/base/types.h" 5 6 namespace photos_editing_formats { 7 namespace image_io { 8 9 /// A structure for holding message stats. 10 struct MessageStats { MessageStatsMessageStats11 MessageStats() { Clear(); } ClearMessageStats12 void Clear() { error_count = warning_count = status_count = 0; } 13 size_t error_count; 14 size_t warning_count; 15 size_t status_count; 16 }; 17 18 } // namespace image_io 19 } // namespace photos_editing_formats 20 21 #endif // IMAGE_IO_BASE_MESSAGE_STATS_H_ // NOLINT 22