Classes | Namespaces | Enumerations | Functions
protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h File Reference
#include <algorithm>
#include <cstdint>
#include <iterator>
#include <map>
#include <string>
#include <google/protobuf/compiler/cpp/cpp_options.h>
#include <google/protobuf/compiler/cpp/cpp_names.h>
#include <google/protobuf/compiler/scc.h>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/port.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  google::protobuf::compiler::cpp::MessageSCCAnalyzer::DepsGenerator
 
struct  google::protobuf::compiler::cpp::FieldRangeImpl< T >
 
class  google::protobuf::compiler::cpp::Formatter
 
struct  google::protobuf::compiler::cpp::OneOfRangeImpl::Iterator
 
struct  google::protobuf::compiler::cpp::FieldRangeImpl< T >::Iterator
 
struct  google::protobuf::compiler::cpp::MessageAnalysis
 
class  google::protobuf::compiler::cpp::MessageSCCAnalyzer
 
class  google::protobuf::compiler::cpp::NamespaceOpener
 
struct  google::protobuf::compiler::cpp::OneOfRangeImpl
 
class  google::protobuf::compiler::cpp::Formatter::SaveState
 
class  google::protobuf::compiler::cpp::Formatter::ScopedIndenter
 

Namespaces

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

Enumerations

enum  google::protobuf::compiler::cpp::Utf8CheckMode {
  google::protobuf::compiler::cpp::STRICT = 0, google::protobuf::compiler::cpp::VERIFY = 1, google::protobuf::compiler::cpp::NONE = 2, google::protobuf::compiler::cpp::Utf8CheckMode::kStrict = 0,
  google::protobuf::compiler::cpp::Utf8CheckMode::kVerify = 1, google::protobuf::compiler::cpp::Utf8CheckMode::kNone = 2
}
 

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 Descriptor *descriptor, bool qualified)
 
std::string google::protobuf::compiler::cpp::ClassName (const EnumDescriptor *descriptor, bool qualified)
 
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::DeprecatedAttribute (const Options &, const EnumValueDescriptor *d)
 
std::string google::protobuf::compiler::cpp::DeprecatedAttribute (const Options &, const FieldDescriptor *d)
 
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::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)
 
std::string google::protobuf::compiler::cpp::FieldMessageTypeName (const FieldDescriptor *field, const Options &options)
 
std::string google::protobuf::compiler::cpp::FieldName (const FieldDescriptor *field)
 
template<typename T >
FieldRangeImpl< Tgoogle::protobuf::compiler::cpp::FieldRange (const T *desc)
 
const Descriptorgoogle::protobuf::compiler::cpp::FieldScope (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)
 
std::vector< const Descriptor * > google::protobuf::compiler::cpp::FlattenMessagesInFile (const FileDescriptor *file)
 
void google::protobuf::compiler::cpp::FlattenMessagesInFile (const FileDescriptor *file, std::vector< const Descriptor * > *result)
 
template<class T >
void google::protobuf::compiler::cpp::ForEachField (const Descriptor *d, T &&func)
 
template<class T >
void google::protobuf::compiler::cpp::ForEachField (const FileDescriptor *d, T &&func)
 
template<typename F >
void google::protobuf::compiler::cpp::ForEachMessage (const Descriptor *descriptor, F &&func)
 
template<typename F >
void google::protobuf::compiler::cpp::ForEachMessage (const FileDescriptor *descriptor, F &&func)
 
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)
 
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)
 
bool google::protobuf::compiler::cpp::HasCordFields (const FileDescriptor *file, const Options &options)
 
bool google::protobuf::compiler::cpp::HasDescriptorMethods (const FileDescriptor *file, const Options &options)
 
bool google::protobuf::compiler::cpp::HasEnumDefinitions (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::HasExtensionsOrExtendableMessage (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::HasGeneratedMethods (const FileDescriptor *file, const Options &options)
 
bool google::protobuf::compiler::cpp::HasGenericServices (const FileDescriptor *file, const Options &options)
 
bool google::protobuf::compiler::cpp::HasHasbit (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::HasLazyFields (const FileDescriptor *file, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::HasMapFields (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::HasPreservingUnknownEnumSemantics (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::HasRepeatedFields (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::HasSimpleBaseClass (const Descriptor *desc, const Options &options)
 
bool google::protobuf::compiler::cpp::HasSimpleBaseClasses (const FileDescriptor *file, 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::IncludeGuard (const FileDescriptor *file, bool pb_h, const Options &options)
 
std::string google::protobuf::compiler::cpp::Int32ToString (int number)
 
Options google::protobuf::compiler::cpp::InternalRuntimeOptions ()
 
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)
 
bool google::protobuf::compiler::cpp::IsCord (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsCrossFileMessage (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::IsEagerlyVerifiedLazy (const FieldDescriptor *field, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::IsFieldStripped (const FieldDescriptor *, const Options &)
 
bool google::protobuf::compiler::cpp::IsFieldUsed (const FieldDescriptor *, const Options &)
 
bool google::protobuf::compiler::cpp::IsImplicitWeakField (const FieldDescriptor *field, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::IsLazilyVerifiedLazy (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsLazy (const FieldDescriptor *field, const Options &options, MessageSCCAnalyzer *scc_analyzer)
 
bool google::protobuf::compiler::cpp::IsMapEntryMessage (const Descriptor *descriptor)
 
bool google::protobuf::compiler::cpp::IsProto2MessageSet (const Descriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::IsProto3 (const FileDescriptor *file)
 
bool google::protobuf::compiler::cpp::IsString (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsStringInlined (const FieldDescriptor *descriptor, const Options &options)
 
bool google::protobuf::compiler::cpp::IsStringOrMessage (const FieldDescriptor *field)
 
bool google::protobuf::compiler::cpp::IsStringPiece (const FieldDescriptor *field, const Options &options)
 
bool google::protobuf::compiler::cpp::IsWeak (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)
 
std::string google::protobuf::compiler::cpp::MacroPrefix (const Options &options)
 
std::string google::protobuf::compiler::cpp::MakeDefaultName (const FieldDescriptor *field)
 
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)
 
bool google::protobuf::compiler::cpp::NeedsEagerDescriptorAssignment (const FileDescriptor *file, const Options &options)
 
OneOfRangeImpl google::protobuf::compiler::cpp::OneOfRange (const Descriptor *desc)
 
std::string google::protobuf::compiler::cpp::PrimitiveTypeName (const Options &options, FieldDescriptor::CppType type)
 
const char * google::protobuf::compiler::cpp::PrimitiveTypeName (FieldDescriptor::CppType type)
 
template<class T >
void google::protobuf::compiler::cpp::PrintFieldComment (const Formatter &format, const T *field)
 
std::string google::protobuf::compiler::cpp::ProtobufNamespace (const Options &options)
 
bool google::protobuf::compiler::cpp::PublicUnknownFieldsAccessors (const Descriptor *message)
 
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::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)
 
static bool google::protobuf::compiler::cpp::ShouldIgnoreRequiredFieldCheck (const FieldDescriptor *field, const Options &options)
 
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::SimpleBaseClass (const Descriptor *desc, const Options &options)
 
std::string google::protobuf::compiler::cpp::StripProto (const std::string &filename)
 
std::string google::protobuf::compiler::cpp::SuperClassName (const Descriptor *descriptor, const Options &options)
 
std::string google::protobuf::compiler::cpp::UnderscoresToCamelCase (const std::string &input, bool cap_next_letter)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const Descriptor *d)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const Descriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const EnumDescriptor *d)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const EnumDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const FileDescriptor *d)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const FileDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const ServiceDescriptor *d)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const ServiceDescriptor *d, const Options &options)
 
std::string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const std::string &filename)
 
string google::protobuf::compiler::cpp::UniqueName (const std::string &name, const std::string &filename, const Options &options)
 
bool google::protobuf::compiler::cpp::UseUnknownFieldSet (const FileDescriptor *file, 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