Classes | Functions | Variables
abseil-cpp/absl/flags/internal/usage_test.cc File Reference
#include "absl/flags/internal/usage.h"
#include <stdint.h>
#include <sstream>
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/flags/flag.h"
#include "absl/flags/internal/parse.h"
#include "absl/flags/internal/path_util.h"
#include "absl/flags/internal/program_name.h"
#include "absl/flags/reflection.h"
#include "absl/flags/usage.h"
#include "absl/flags/usage_config.h"
#include "absl/strings/match.h"
#include "absl/strings/string_view.h"
Include dependency graph for abseil-cpp/absl/flags/internal/usage_test.cc:

Go to the source code of this file.

Classes

struct  UDT
 

Functions

 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 (int, usage_reporting_test_flag_01, 101, "usage_reporting_test_flag_01 help message")
 
 ABSL_FLAG (int64_t, usage_reporting_test_flag_04, 1000000000000004L, "usage_reporting_test_flag_04 help message")
 
 ABSL_FLAG (std::string, usage_reporting_test_flag_06, {}, "usage_reporting_test_flag_06 help message.\n" "\n" "Some more help.\n" "Even more long long long long long long long long long long long long " "help message.")
 
 ABSL_FLAG (UDT, usage_reporting_test_flag_05, {}, "usage_reporting_test_flag_05 help message")
 
static bool AbslParseFlag (absl::string_view, UDT *, std::string *)
 
static std::string AbslUnparseFlag (const UDT &)
 
int main (int argc, char *argv[])
 

Variables

static const char kTestUsageMessage [] = "Custom usage message"
 

Function Documentation

◆ ABSL_FLAG() [1/6]

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

◆ ABSL_FLAG() [2/6]

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

◆ ABSL_FLAG() [3/6]

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

◆ ABSL_FLAG() [4/6]

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

◆ ABSL_FLAG() [5/6]

ABSL_FLAG ( std::string  ,
usage_reporting_test_flag_06  ,
{}  ,
"usage_reporting_test_flag_06 help message.\n" "\n" "Some more help.\n" "Even more long long long long long long long long long long long long " "help message."   
)

◆ ABSL_FLAG() [6/6]

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

◆ AbslParseFlag()

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

Definition at line 51 of file abseil-cpp/absl/flags/internal/usage_test.cc.

◆ AbslUnparseFlag()

static std::string AbslUnparseFlag ( const UDT )
static

Definition at line 54 of file abseil-cpp/absl/flags/internal/usage_test.cc.

◆ main()

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

Variable Documentation

◆ kTestUsageMessage

const char kTestUsageMessage[] = "Custom usage message"
static

Definition at line 44 of file abseil-cpp/absl/flags/internal/usage_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:37