Namespaces | Functions | Variables
protobuf/src/google/protobuf/util/internal/utility.h File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/any.pb.h>
#include <google/protobuf/type.pb.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/statusor.h>
#include <google/protobuf/stubs/status.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/util/internal/utility.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::util
 
 google::protobuf::util::converter
 

Functions

std::string google::protobuf::util::converter::DoubleAsString (double value)
 
std::string google::protobuf::util::converter::EnumValueNameToLowerCamelCase (const StringPiece input)
 
const google::protobuf::EnumValuegoogle::protobuf::util::converter::FindEnumValueByNameOrNull (const google::protobuf::Enum *enum_type, StringPiece enum_name)
 
const google::protobuf::EnumValuegoogle::protobuf::util::converter::FindEnumValueByNameWithoutUnderscoreOrNull (const google::protobuf::Enum *enum_type, StringPiece enum_name)
 
const google::protobuf::EnumValuegoogle::protobuf::util::converter::FindEnumValueByNumberOrNull (const google::protobuf::Enum *enum_type, int32 value)
 
const google::protobuf::Fieldgoogle::protobuf::util::converter::FindFieldInTypeByNumberOrNull (const google::protobuf::Type *type, int32 number)
 
const google::protobuf::Fieldgoogle::protobuf::util::converter::FindFieldInTypeOrNull (const google::protobuf::Type *type, StringPiece field_name)
 
const google::protobuf::Fieldgoogle::protobuf::util::converter::FindJsonFieldInTypeOrNull (const google::protobuf::Type *type, StringPiece json_name)
 
const google::protobuf::Optiongoogle::protobuf::util::converter::FindOptionOrNull (const RepeatedPtrField< google::protobuf::Option > &options, StringPiece option_name)
 
std::string google::protobuf::util::converter::FloatAsString (float value)
 
bool google::protobuf::util::converter::GetBoolFromAny (const google::protobuf::Any &any)
 
bool google::protobuf::util::converter::GetBoolOptionOrDefault (const RepeatedPtrField< google::protobuf::Option > &options, StringPiece option_name, bool default_value)
 
double google::protobuf::util::converter::GetDoubleFromAny (const google::protobuf::Any &any)
 
double google::protobuf::util::converter::GetDoubleOptionOrDefault (const RepeatedPtrField< google::protobuf::Option > &options, StringPiece option_name, double default_value)
 
const std::string google::protobuf::util::converter::GetFullTypeWithUrl (StringPiece simple_type)
 
int64 google::protobuf::util::converter::GetInt64FromAny (const google::protobuf::Any &any)
 
int64_t google::protobuf::util::converter::GetInt64OptionOrDefault (const RepeatedPtrField< google::protobuf::Option > &options, StringPiece option_name, int64_t default_value)
 
std::string google::protobuf::util::converter::GetStringFromAny (const google::protobuf::Any &any)
 
std::string google::protobuf::util::converter::GetStringOptionOrDefault (const RepeatedPtrField< google::protobuf::Option > &options, StringPiece option_name, StringPiece default_value)
 
const StringPiece google::protobuf::util::converter::GetTypeWithoutUrl (StringPiece type_url)
 
bool google::protobuf::util::converter::IsMap (const google::protobuf::Field &field, const google::protobuf::Type &type)
 
bool google::protobuf::util::converter::IsMessageSetWireFormat (const google::protobuf::Type &type)
 
bool google::protobuf::util::converter::IsValidBoolString (StringPiece bool_string)
 
bool google::protobuf::util::converter::IsWellKnownType (const std::string &type_name)
 
bool google::protobuf::util::converter::SafeStrToFloat (StringPiece str, float *value)
 
std::string google::protobuf::util::converter::ToCamelCase (const StringPiece input)
 
std::string google::protobuf::util::converter::ToSnakeCase (StringPiece input)
 
template<>
std::string google::protobuf::util::converter::ValueAsString (double value)
 
template<>
std::string google::protobuf::util::converter::ValueAsString (float value)
 
template<typename T >
std::string google::protobuf::util::converter::ValueAsString (T value)
 

Variables

static const int64_t google::protobuf::util::converter::kTypeUrlSize = 19
 


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