#include "absl/flags/reflection.h"
#include <memory>
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/flags/declare.h"
#include "absl/flags/flag.h"
#include "absl/flags/internal/commandlineflag.h"
#include "absl/flags/marshalling.h"
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h"
Go to the source code of this file.
Functions | |
ABSL_FLAG (absl::Duration, test_flag_12, absl::Minutes(10), "") | |
ABSL_FLAG (bool, test_flag_01, true, "") | |
ABSL_FLAG (CustomUDT, test_flag_14, {}, "") | |
ABSL_FLAG (double, test_flag_09, -9.876e-50, "") | |
ABSL_FLAG (float, test_flag_10, 1.234e12f, "") | |
ABSL_FLAG (int, int_flag, 1, "int_flag help") | |
ABSL_FLAG (int, test_flag_02, 1234, "") | |
ABSL_FLAG (int, test_flag_13, 200, "").OnUpdate([]() | |
ABSL_FLAG (int16_t, test_flag_03, -34, "") | |
ABSL_FLAG (int32_t, test_flag_05, 10765, "") | |
ABSL_FLAG (int64_t, test_flag_07, -1234567, "") | |
ABSL_FLAG (std::string, string_flag, "dflt", "string_flag help") | |
ABSL_FLAG (std::string, test_flag_11, "", "") | |
ABSL_FLAG (uint16_t, test_flag_04, 189, "") | |
ABSL_FLAG (uint32_t, test_flag_06, 40000, "") | |
ABSL_FLAG (uint64_t, test_flag_08, 9876543, "") | |
ABSL_RETIRED_FLAG (bool, bool_retired_flag, false, "bool_retired_flag help") | |
Variables | |
static int | counter = 0 |
ABSL_FLAG | ( | absl::Duration | , |
test_flag_12 | , | ||
absl::Minutes(10) | , | ||
"" | |||
) |
ABSL_FLAG | ( | CustomUDT | , |
test_flag_14 | , | ||
{} | , | ||
"" | |||
) |
ABSL_FLAG | ( | double | , |
test_flag_09 | , | ||
-9.876e- | 50, | ||
"" | |||
) |
ABSL_FLAG | ( | float | , |
test_flag_10 | , | ||
1. | 234e12f, | ||
"" | |||
) |
ABSL_FLAG | ( | int | , |
test_flag_02 | , | ||
1234 | , | ||
"" | |||
) |
ABSL_FLAG | ( | int | , |
test_flag_13 | , | ||
200 | , | ||
"" | |||
) |
Definition at line 132 of file abseil-cpp/absl/flags/reflection_test.cc.
ABSL_FLAG | ( | int16_t | , |
test_flag_03 | , | ||
- | 34, | ||
"" | |||
) |
ABSL_FLAG | ( | int32_t | , |
test_flag_05 | , | ||
10765 | , | ||
"" | |||
) |
ABSL_FLAG | ( | int64_t | , |
test_flag_07 | , | ||
- | 1234567, | ||
"" | |||
) |
ABSL_FLAG | ( | std::string | , |
string_flag | , | ||
"dflt" | , | ||
"string_flag help" | |||
) |
ABSL_FLAG | ( | std::string | , |
test_flag_11 | , | ||
"" | , | ||
"" | |||
) |
ABSL_FLAG | ( | uint16_t | , |
test_flag_04 | , | ||
189 | , | ||
"" | |||
) |
ABSL_FLAG | ( | uint32_t | , |
test_flag_06 | , | ||
40000 | , | ||
"" | |||
) |
ABSL_FLAG | ( | uint64_t | , |
test_flag_08 | , | ||
9876543 | , | ||
"" | |||
) |
|
static |
Definition at line 131 of file abseil-cpp/absl/flags/reflection_test.cc.