#include "scanline_status.h"
|
| ScanlineStatus (ScanlineStatusType type, ScanlineStatusSource source, const GoogleString &details) |
|
| ScanlineStatus (ScanlineStatusType type) |
|
| va_start (args, details) |
|
| va_end (args) |
|
return | ScanlineStatus (type, source, detail_list) |
|
bool | Success () const |
|
ScanlineStatusType | type () const |
|
ScanlineStatusSource | source () const |
|
const GoogleString & | details () const |
|
const char * | TypeStr () const |
|
const char * | SourceStr () const |
|
const GoogleString | ToString () const |
|
bool | ComesFromReader () const |
|
A class to report the success or error of ScanlineInterface operations. Scanline*Interface should return the ScanlineStatus corresponding to the earliest error encountered. ScanlineStatus.details_ should be of the form "FunctionThatFailed()" or "failure message".
bool pagespeed::image_compression::ScanlineStatus::ComesFromReader |
( |
| ) |
const |
|
inline |
Determines whether the source of this status is a reader of some sort.
static ScanlineStatus pagespeed::image_compression::ScanlineStatus::New |
( |
ScanlineStatusType |
type, |
|
|
ScanlineStatusSource |
source, |
|
|
const char * |
details, |
|
|
|
... |
|
) |
| |
|
static |
This function takes variadic arguments so that we can use the same sets of arguments here and for logging via the PS_LOGGED_STATUS macro below.
pagespeed::image_compression::ScanlineStatus::va_start |
( |
args |
, |
|
|
details |
|
|
) |
| |
Ignore the name of this routine: it formats with vsnprintf. See base/stringprintf.cc.
The documentation for this class was generated from the following file: