grpc
third_party
abseil-cpp
absl
flags
abseil-cpp/absl/flags/commandlineflag.cc
Go to the documentation of this file.
1
//
2
// Copyright 2020 The Abseil Authors.
3
//
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
// you may not use this file except in compliance with the License.
6
// You may obtain a copy of the License at
7
//
8
// https://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
16
#include "absl/flags/commandlineflag.h"
17
18
#include <string>
19
20
#include "absl/base/config.h"
21
#include "absl/flags/internal/commandlineflag.h"
22
#include "absl/strings/string_view.h"
23
24
namespace
absl
{
25
ABSL_NAMESPACE_BEGIN
26
27
bool
CommandLineFlag::IsRetired
()
const
{
return
false
; }
28
bool
CommandLineFlag::ParseFrom
(
absl::string_view
value
,
std::string
*
error
) {
29
return
ParseFrom
(
value
,
flags_internal::SET_FLAGS_VALUE
,
30
flags_internal::kProgrammaticChange
, *
error
);
31
}
32
33
ABSL_NAMESPACE_END
34
}
// namespace absl
absl::flags_internal::kProgrammaticChange
@ kProgrammaticChange
Definition:
abseil-cpp/absl/flags/internal/commandlineflag.h:51
absl::CommandLineFlag::IsRetired
virtual bool IsRetired() const
Definition:
abseil-cpp/absl/flags/commandlineflag.cc:27
absl::string_view
Definition:
abseil-cpp/absl/strings/string_view.h:167
testing::internal::string
::std::string string
Definition:
bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
error
grpc_error_handle error
Definition:
retry_filter.cc:499
ABSL_NAMESPACE_END
#define ABSL_NAMESPACE_END
Definition:
third_party/abseil-cpp/absl/base/config.h:171
ABSL_NAMESPACE_BEGIN
#define ABSL_NAMESPACE_BEGIN
Definition:
third_party/abseil-cpp/absl/base/config.h:170
absl::flags_internal::SET_FLAGS_VALUE
@ SET_FLAGS_VALUE
Definition:
abseil-cpp/absl/flags/internal/commandlineflag.h:36
value
const char * value
Definition:
hpack_parser_table.cc:165
absl::CommandLineFlag::ParseFrom
bool ParseFrom(absl::string_view value, std::string *error)
Definition:
abseil-cpp/absl/flags/commandlineflag.cc:28
absl
Definition:
abseil-cpp/absl/algorithm/algorithm.h:31
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:59