Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::bin::CallbackOptionProcessor Class Reference

#include <options.h>

Inheritance diagram for dart::bin::CallbackOptionProcessor:
dart::bin::OptionProcessor

Public Member Functions

 CallbackOptionProcessor (OptionProcessorCallback cb)
 
virtual bool Process (const char *option, CommandLineOptions *vm_options)
 
- Public Member Functions inherited from dart::bin::OptionProcessor
 OptionProcessor ()
 
virtual ~OptionProcessor ()
 
virtual bool Process (const char *option, CommandLineOptions *options)=0
 

Additional Inherited Members

- Static Public Member Functions inherited from dart::bin::OptionProcessor
static bool IsValidFlag (const char *name)
 
static bool IsValidShortFlag (const char *name)
 
static bool TryProcess (const char *option, CommandLineOptions *options)
 
static const char * ProcessOption (const char *option, const char *name)
 
static bool ProcessEnvironmentOption (const char *arg, CommandLineOptions *vm_options, dart::SimpleHashMap **environment)
 

Detailed Description

Definition at line 49 of file options.h.

Constructor & Destructor Documentation

◆ CallbackOptionProcessor()

dart::bin::CallbackOptionProcessor::CallbackOptionProcessor ( OptionProcessorCallback  cb)
inlineexplicit

Definition at line 51 of file options.h.

51: cb_(cb) {}

Member Function Documentation

◆ Process()

virtual bool dart::bin::CallbackOptionProcessor::Process ( const char *  option,
CommandLineOptions vm_options 
)
inlinevirtual

Implements dart::bin::OptionProcessor.

Definition at line 52 of file options.h.

52 {
53 return cb_(option, vm_options);
54 }

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