Flutter Engine
The Flutter Engine
Static Public Member Functions | Friends | List of all members
dart::Flags Class Reference

#include <flags.h>

Static Public Member Functions

static bool Register_bool (bool *addr, const char *name, bool default_value, const char *comment)
 
static int Register_int (int *addr, const char *name, int default_value, const char *comment)
 
static uint64_t Register_uint64_t (uint64_t *addr, const char *name, uint64_t default_value, const char *comment)
 
static const char * Register_charp (charp *addr, const char *name, const char *default_value, const char *comment)
 
static bool RegisterFlagHandler (FlagHandler handler, const char *name, const char *comment)
 
static bool RegisterOptionHandler (OptionHandler handler, const char *name, const char *comment)
 
static char * ProcessCommandLineFlags (int argc, const char **argv)
 
static FlagLookup (const char *name)
 
static bool IsSet (const char *name)
 
static bool Initialized ()
 
static void Cleanup ()
 
static void PrintJSON (JSONStream *js)
 
static bool SetFlag (const char *name, const char *value, const char **error)
 

Friends

void Dart_TestParseFlags ()
 

Detailed Description

Definition at line 36 of file flags.h.

Member Function Documentation

◆ Cleanup()

static void dart::Flags::Cleanup ( )
static

◆ Initialized()

static bool dart::Flags::Initialized ( )
inlinestatic

Definition at line 72 of file flags.h.

72{ return initialized_; }

◆ IsSet()

static bool dart::Flags::IsSet ( const char *  name)
static

◆ Lookup()

static Flag * dart::Flags::Lookup ( const char *  name)
static

◆ PrintJSON()

static void dart::Flags::PrintJSON ( JSONStream js)
static

◆ ProcessCommandLineFlags()

static char * dart::Flags::ProcessCommandLineFlags ( int  argc,
const char **  argv 
)
static

◆ Register_bool()

static bool dart::Flags::Register_bool ( bool *  addr,
const char *  name,
bool  default_value,
const char *  comment 
)
static

◆ Register_charp()

static const char * dart::Flags::Register_charp ( charp addr,
const char *  name,
const char *  default_value,
const char *  comment 
)
static

◆ Register_int()

static int dart::Flags::Register_int ( int addr,
const char *  name,
int  default_value,
const char *  comment 
)
static

◆ Register_uint64_t()

static uint64_t dart::Flags::Register_uint64_t ( uint64_t *  addr,
const char *  name,
uint64_t  default_value,
const char *  comment 
)
static

◆ RegisterFlagHandler()

static bool dart::Flags::RegisterFlagHandler ( FlagHandler  handler,
const char *  name,
const char *  comment 
)
static

◆ RegisterOptionHandler()

static bool dart::Flags::RegisterOptionHandler ( OptionHandler  handler,
const char *  name,
const char *  comment 
)
static

◆ SetFlag()

static bool dart::Flags::SetFlag ( const char *  name,
const char *  value,
const char **  error 
)
static

Friends And Related Function Documentation

◆ Dart_TestParseFlags

void Dart_TestParseFlags ( )
friend

The documentation for this class was generated from the following file: