Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
image_frame_interface.h File Reference
#include <cstddef>
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/image/image_util.h"
#include "pagespeed/kernel/image/scanline_status.h"

Go to the source code of this file.

Classes

struct  pagespeed::image_compression::ImageSpec
 
struct  pagespeed::image_compression::FrameSpec
 
class  pagespeed::image_compression::MultipleFrameReader
 
class  pagespeed::image_compression::MultipleFrameWriter
 

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 
 pagespeed
 for size_t
 

Macros

#define IF_OK_RUN(_STATUS, _CALL)
 

Macro Definition Documentation

#define IF_OK_RUN (   _STATUS,
  _CALL 
)
Value:
if (!_STATUS->Success()) { \
return false; \
} \
*_STATUS = _CALL; \
return _STATUS->Success();

Boilerplate for the convenience methods below. This code snippet invokes _CALL only if _STATUS does not indicate a pre-existing error, and returns a bool indicating success or failure of the preceding state as well as _CALL, if invoked. Note that this snippet returns from the function in which it is embedded.