Flutter Engine
The Flutter Engine
|
#include <CommandLineFlags.h>
Public Member Functions | |
StringArray () | |
StringArray (const skia_private::TArray< SkString > &strings) | |
const char * | operator[] (int i) const |
int | size () const |
bool | isEmpty () const |
bool | contains (const char *string) const |
void | set (int i, const char *str) |
const SkString * | begin () const |
const SkString * | end () const |
template<class E > | |
SkString | parseAndValidate (const char *name, const skia_private::THashMap< SkString, E > &possibleValues, E *out) const |
Friends | |
class | SkFlagInfo |
Custom class for holding the arguments for a string flag. Publicly only has accessors so the strings cannot be modified.
Definition at line 127 of file CommandLineFlags.h.
|
inline |
Definition at line 129 of file CommandLineFlags.h.
|
inlineexplicit |
Definition at line 130 of file CommandLineFlags.h.
|
inline |
Definition at line 160 of file CommandLineFlags.h.
|
inline |
Returns true iff string is equal to one of the strings in this array.
Definition at line 143 of file CommandLineFlags.h.
|
inline |
Definition at line 161 of file CommandLineFlags.h.
|
inline |
Definition at line 138 of file CommandLineFlags.h.
|
inline |
Definition at line 131 of file CommandLineFlags.h.
|
inline |
Parses and validates a string flag that requires exactly one value out of a set of possible values. Returns a non-empty message in the case of errors.
Definition at line 168 of file CommandLineFlags.h.
|
inline |
Definition at line 152 of file CommandLineFlags.h.
|
inline |
Definition at line 136 of file CommandLineFlags.h.
|
friend |
Definition at line 194 of file CommandLineFlags.h.