#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"
Go to the source code of this file.
|
| 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[]) |
|
◆ 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() [6/6]
ABSL_FLAG |
( |
UDT |
, |
|
|
usage_reporting_test_flag_05 |
, |
|
|
{} |
, |
|
|
"usage_reporting_test_flag_05 help message" |
|
|
) |
| |
◆ AbslParseFlag()
◆ AbslUnparseFlag()
static std::string AbslUnparseFlag |
( |
const UDT & |
| ) |
|
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ kTestUsageMessage