Namespaces | Functions
protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc File Reference
#include <google/protobuf/compiler/cpp/cpp_helpers.h>
#include <cstdint>
#include <functional>
#include <limits>
#include <map>
#include <queue>
#include <unordered_set>
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/compiler/cpp/cpp_options.h>
#include <google/protobuf/compiler/cpp/cpp_names.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/compiler/scc.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/wire_format.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/hash.h>
#include <google/protobuf/port_def.inc>
Include dependency graph for protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc:

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::cpp
 

Functions

bool google::protobuf::compiler::cpp::CanInitializeByZeroing (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::ClassName (const Descriptor *descriptor)
 
std::string google::protobuf::compiler::cpp::ClassName (const EnumDescriptor *enum_descriptor)
 
const char * google::protobuf::compiler::cpp::DeclaredTypeMethodName (FieldDescriptor::Type type)
 
std::string google::protobuf::compiler::cpp::DefaultInstanceName (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::DefaultInstancePtr (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::DefaultInstanceType (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::DefaultValue (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::DefaultValue (const Options &options, const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::DescriptorTableName (const FileDescriptor *file, const Options &options)
 
FieldOptions::CType google::protobuf::compiler::cpp::EffectiveStringCType (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::EnableMessageOwnedArena (const Descriptor *desc)
 
std::string google::protobuf::compiler::cpp::EnumValueName (const EnumValueDescriptor *enum_value)
 
std::string google::protobuf::compiler::cpp::EscapeTrigraphs (const std::string &to_escape)
 
int google::protobuf::compiler::cpp::EstimateAlignmentSize (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::ExtensionName (const FieldDescriptor *d)
 
std::string google::protobuf::compiler::cpp::FieldConstantName (const FieldDescriptor *field)
 
static bool google::protobuf::compiler::cpp::FieldEnforceUtf8 (const FieldDescriptor *field, const Options &options)
 
std::string google::protobuf::compiler::cpp::FieldMessageTypeName (const FieldDescriptor *field, const Options &options)
 
std::string google::protobuf::compiler::cpp::FieldName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::FileDllExport (const FileDescriptor *file, const Options &options)
 
std::string google::protobuf::compiler::cpp::FilenameIdentifier (const std::string &filename)
 
static bool google::protobuf::compiler::cpp::FileUtf8Verification (const FileDescriptor *file, const Options &options)
 
void google::protobuf::compiler::cpp::FlattenMessagesInFile (const FileDescriptor *file, std::vector< const Descriptor * > *result)
 
static void google::protobuf::compiler::cpp::GenerateUtf8CheckCode (const FieldDescriptor *field, const Options &options, bool for_parse, const char *parameters, const char *strict_function, const char *verify_function, const Formatter &format)
 
void google::protobuf::compiler::cpp::GenerateUtf8CheckCodeForCord (const FieldDescriptor *field, const Options &options, bool for_parse, const char *parameters, const Formatter &format)
 
void google::protobuf::compiler::cpp::GenerateUtf8CheckCodeForString (const FieldDescriptor *field, const Options &options, bool for_parse, const char *parameters, const Formatter &format)
 
bool google::protobuf::compiler::cpp::GetBootstrapBasename (const Options &options, const std::string &basename, std::string *bootstrap_basename)
 
FileOptions_OptimizeMode google::protobuf::compiler::cpp::GetOptimizeFor (const FileDescriptor *file, const Options &options, bool *has_opt_codesize_extension)
 
static Utf8CheckMode google::protobuf::compiler::cpp::GetUtf8CheckMode (const FieldDescriptor *field, const Options &options)
 
static bool google::protobuf::compiler::cpp::HasBootstrapProblem (const FileDescriptor *file, const Options &options, bool *has_opt_codesize_extension)
 
static bool google::protobuf::compiler::cpp::HasCordFields (const Descriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::HasCordFields (const FileDescriptor *file, const Options &options)
 
static bool google::protobuf::compiler::cpp::HasEnumDefinitions (const Descriptor *message_type)
 
bool google::protobuf::compiler::cpp::HasEnumDefinitions (const FileDescriptor *file)
 
static bool google::protobuf::compiler::cpp::HasExtensionFromFile (const Message &msg, const FileDescriptor *file, const Options &options, bool *has_opt_codesize_extension)
 
static bool google::protobuf::compiler::cpp::HasExtensionsOrExtendableMessage (const Descriptor *descriptor)
 
bool google::protobuf::compiler::cpp::HasExtensionsOrExtendableMessage (const FileDescriptor *file)
 
static bool google::protobuf::compiler::cpp::HasLazyFields (const Descriptor *descriptor, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::HasLazyFields (const FileDescriptor *file, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
static bool google::protobuf::compiler::cpp::HasMapFields (const Descriptor *descriptor)
 
bool google::protobuf::compiler::cpp::HasMapFields (const FileDescriptor *file)
 
static bool google::protobuf::compiler::cpp::HasRepeatedFields (const Descriptor *descriptor)
 
bool google::protobuf::compiler::cpp::HasRepeatedFields (const FileDescriptor *file)
 
static bool google::protobuf::compiler::cpp::HasStringPieceFields (const Descriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::HasStringPieceFields (const FileDescriptor *file, const Options &options)
 
bool google::protobuf::compiler::cpp::HasWeakFields (const Descriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::HasWeakFields (const FileDescriptor *file, const Options &options)
 
std::string google::protobuf::compiler::cpp::Int32ToString (int number)
 
static std::string google::protobuf::compiler::cpp::Int64ToString (int64_t number)
 
bool google::protobuf::compiler::cpp::IsAnyMessage (const Descriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::IsAnyMessage (const FileDescriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::IsBootstrapProto (const Options &options, const FileDescriptor *file)
 
static bool google::protobuf::compiler::cpp::IsCordField (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsImplicitWeakField (const FieldDescriptor *field, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::IsLazy (const FieldDescriptor *field, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::IsStringInlined (const FieldDescriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::IsStringOrMessage (const FieldDescriptor *field)
 
static bool google::protobuf::compiler::cpp::IsStringPieceField (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsWellKnownMessage (const FileDescriptor *file)
 
void google::protobuf::compiler::cpp::ListAllFields (const Descriptor *d, std::vector< const FieldDescriptor * > *fields)
 
void google::protobuf::compiler::cpp::ListAllFields (const FileDescriptor *d, std::vector< const FieldDescriptor * > *fields)
 
void google::protobuf::compiler::cpp::ListAllTypesForServices (const FileDescriptor *fd, std::vector< const Descriptor * > *types)
 
bool google::protobuf::compiler::cpp::MaybeBootstrap (const Options &options, GeneratorContext *generator_context, bool bootstrap_flag, std::string *basename)
 
std::string google::protobuf::compiler::cpp::Namespace (const Descriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::Namespace (const EnumDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::Namespace (const FieldDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::Namespace (const FileDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::Namespace (const std::string &package)
 
std::string google::protobuf::compiler::cpp::OneofCaseConstantName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::PrimitiveTypeName (const Options &options, FieldDescriptor::CppType type)
 
const char * google::protobuf::compiler::cpp::PrimitiveTypeName (FieldDescriptor::CppType type)
 
std::string google::protobuf::compiler::cpp::QualifiedClassName (const Descriptor *d)
 
std::string google::protobuf::compiler::cpp::QualifiedClassName (const Descriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedClassName (const EnumDescriptor *d)
 
std::string google::protobuf::compiler::cpp::QualifiedClassName (const EnumDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedDefaultInstanceName (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedDefaultInstancePtr (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedExtensionName (const FieldDescriptor *d)
 
std::string google::protobuf::compiler::cpp::QualifiedExtensionName (const FieldDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedFileLevelSymbol (const FileDescriptor *file, const std::string &name, const Options &options)
 
std::string google::protobuf::compiler::cpp::QualifiedOneofCaseConstantName (const FieldDescriptor *field)
 
std::string google::protobuf::compiler::cpp::ResolveKeyword (const std::string &name)
 
std::string google::protobuf::compiler::cpp::SafeFunctionName (const Descriptor *descriptor, const FieldDescriptor *field, const std::string &prefix)
 
void google::protobuf::compiler::cpp::SetCommonVars (const Options &options, std::map< std::string, std::string > *variables)
 
void google::protobuf::compiler::cpp::SetUnknownFieldsVariable (const Descriptor *descriptor, const Options &options, std::map< std::string, std::string > *variables)
 
bool google::protobuf::compiler::cpp::ShouldVerify (const Descriptor *descriptor, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::ShouldVerify (const FileDescriptor *file, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
std::string google::protobuf::compiler::cpp::StripProto (const std::string &filename)
 
std::string google::protobuf::compiler::cpp::SuperClassName (const Descriptor *descriptor, const Options &options)
 
static std::string google::protobuf::compiler::cpp::UInt64ToString (uint64_t number)
 
std::string google::protobuf::compiler::cpp::UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const std::string &filename, const Options &options)
 
bool google::protobuf::compiler::cpp::UsingImplicitWeakFields (const FileDescriptor *file, const Options &options)
 


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