Classes | Functions
usage_test.cc File Reference
#include <sstream>
#include "gtest/gtest.h"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "absl/flags/internal/path_util.h"
#include "absl/flags/internal/program_name.h"
#include "absl/flags/internal/usage.h"
#include "absl/flags/usage_config.h"
#include "absl/memory/memory.h"
#include "absl/strings/match.h"
Include dependency graph for usage_test.cc:

Go to the source code of this file.

Classes

struct  UDT
 

Functions

 ABSL_FLAG (int, usage_reporting_test_flag_01, 101, "usage_reporting_test_flag_01 help message")
 
 ABSL_FLAG (bool, usage_reporting_test_flag_02, false, "usage_reporting_test_flag_02 help message")
 
 ABSL_FLAG (double, usage_reporting_test_flag_03, 1.03, "usage_reporting_test_flag_03 help message")
 
 ABSL_FLAG (int64_t, usage_reporting_test_flag_04, 1000000000000004L, "usage_reporting_test_flag_04 help message")
 
 ABSL_FLAG (UDT, usage_reporting_test_flag_05, {}, "usage_reporting_test_flag_05 help message")
 
bool AbslParseFlag (absl::string_view, UDT *, std::string *)
 
std::string AbslUnparseFlag (const UDT &)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ ABSL_FLAG() [1/5]

ABSL_FLAG ( int  ,
usage_reporting_test_flag_01  ,
101  ,
"usage_reporting_test_flag_01 help message"   
)

◆ ABSL_FLAG() [2/5]

ABSL_FLAG ( bool  ,
usage_reporting_test_flag_02  ,
false  ,
"usage_reporting_test_flag_02 help message"   
)

◆ ABSL_FLAG() [3/5]

ABSL_FLAG ( double  ,
usage_reporting_test_flag_03  ,
1.  03,
"usage_reporting_test_flag_03 help message"   
)

◆ ABSL_FLAG() [4/5]

ABSL_FLAG ( int64_t  ,
usage_reporting_test_flag_04  ,
1000000000000004L  ,
"usage_reporting_test_flag_04 help message"   
)

◆ ABSL_FLAG() [5/5]

ABSL_FLAG ( UDT  ,
usage_reporting_test_flag_05  ,
{}  ,
"usage_reporting_test_flag_05 help message"   
)

◆ AbslParseFlag()

bool AbslParseFlag ( absl::string_view  ,
UDT ,
std::string *   
)

Definition at line 41 of file usage_test.cc.

◆ AbslUnparseFlag()

std::string AbslUnparseFlag ( const UDT )

Definition at line 42 of file usage_test.cc.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 360 of file usage_test.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22