Flutter Engine
The Flutter Engine
|
#include <skdiff.h>
Public Types | |
enum | Status { kDecoded_Status , kCouldNotDecode_Status , kRead_Status , kCouldNotRead_Status , kExists_Status , kDoesNotExist_Status , kSpecified_Status , kUnspecified_Status , kUnknown_Status , kStatusCount } |
Public Member Functions | |
DiffResource () | |
Static Public Member Functions | |
static Status | getStatusByName (const char *name) |
static const char * | getStatusDescription (Status status) |
static bool | isStatusFailed (Status status) |
static bool | getMatchingStatuses (char *selector, bool statuses[kStatusCount]) |
Public Attributes | |
SkString | fFilename |
SkString | fFullPath |
SkBitmap | fBitmap |
Status | fStatus |
Static Public Attributes | |
static char const *const | StatusNames [DiffResource::kStatusCount] |
enum DiffResource::Status |
Enumerator | |
---|---|
kDecoded_Status | The resource was specified, exists, read, and decoded. |
kCouldNotDecode_Status | The resource was specified, exists, read, but could not be decoded. |
kRead_Status | The resource was specified, exists, and read. |
kCouldNotRead_Status | The resource was specified, exists, but could not be read. |
kExists_Status | The resource was specified and exists. |
kDoesNotExist_Status | The resource was specified, but does not exist. |
kSpecified_Status | The resource was specified. |
kUnspecified_Status | The resource was not specified. |
kUnknown_Status | Nothing is yet known about the resource. |
kStatusCount | NOT A VALID VALUE – used to set up arrays and to represent an unknown value. |
Definition at line 30 of file skdiff.h.
|
static |
Sets statuses[i] if it is implied by selector, unsets it if not. Selector may be a comma delimited list of status names, "any", or "failed". Returns true if the selector was entirely understood, false otherwise.
Definition at line 98 of file skdiff.cpp.
|
static |
Returns the Status with this name. If there is no Status with this name, returns kStatusCount.
Definition at line 61 of file skdiff.cpp.
|
static |
Returns a text description of the given Status type.
Definition at line 86 of file skdiff.cpp.
|
static |
Returns true if the Status indicates some kind of failure.
Definition at line 90 of file skdiff.cpp.
SkBitmap DiffResource::fBitmap |
SkString DiffResource::fFilename |
SkString DiffResource::fFullPath |
|
static |