Shaka Packager SDK
Public Member Functions | List of all members
shaka::FlagSaver< T > Class Template Reference

#include <flag_saver.h>

Public Member Functions

 FlagSaver (absl::Flag< T > *flag)
 

Detailed Description

template<typename T>
class shaka::FlagSaver< T >

A replacement for gflags' FlagSaver, which is used in testing. A FlagSaver is an RAII object to save and restore the values of command-line flags during a test. Unlike the gflags version, flags to be saved and restored must be listed explicitly.

Definition at line 19 of file flag_saver.h.


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