Namespaces | Classes | Enumerations | Functions | Variables
google::protobuf::compiler::objectivec Namespace Reference

Namespaces

 posix
 

Classes

class  EnumFieldGenerator
 
class  EnumGenerator
 
class  ExtensionGenerator
 
class  FieldGenerator
 
class  FieldGeneratorMap
 
class  FileGenerator
 
class  ImportWriter
 
class  LineConsumer
 
class  MapFieldGenerator
 
class  MessageFieldGenerator
 
class  MessageGenerator
 
class  ObjCObjFieldGenerator
 
class  ObjectiveCGenerator
 
class  OneofGenerator
 
struct  Options
 
class  PrimitiveFieldGenerator
 
class  PrimitiveObjFieldGenerator
 
class  RepeatedEnumFieldGenerator
 
class  RepeatedFieldGenerator
 
class  RepeatedMessageFieldGenerator
 
class  RepeatedPrimitiveFieldGenerator
 
class  SingleFieldGenerator
 
class  TextFormatDecodeData
 

Enumerations

enum  FlagType {
  FLAGTYPE_DESCRIPTOR_INITIALIZATION, FLAGTYPE_EXTENSION, FLAGTYPE_FIELD, FLAGTYPE_DESCRIPTOR_INITIALIZATION,
  FLAGTYPE_EXTENSION, FLAGTYPE_FIELD
}
 
enum  FlagType {
  FLAGTYPE_DESCRIPTOR_INITIALIZATION, FLAGTYPE_EXTENSION, FLAGTYPE_FIELD, FLAGTYPE_DESCRIPTOR_INITIALIZATION,
  FLAGTYPE_EXTENSION, FLAGTYPE_FIELD
}
 
enum  ObjectiveCType {
  OBJECTIVECTYPE_INT32, OBJECTIVECTYPE_UINT32, OBJECTIVECTYPE_INT64, OBJECTIVECTYPE_UINT64,
  OBJECTIVECTYPE_FLOAT, OBJECTIVECTYPE_DOUBLE, OBJECTIVECTYPE_BOOLEAN, OBJECTIVECTYPE_STRING,
  OBJECTIVECTYPE_DATA, OBJECTIVECTYPE_ENUM, OBJECTIVECTYPE_MESSAGE, OBJECTIVECTYPE_INT32,
  OBJECTIVECTYPE_UINT32, OBJECTIVECTYPE_INT64, OBJECTIVECTYPE_UINT64, OBJECTIVECTYPE_FLOAT,
  OBJECTIVECTYPE_DOUBLE, OBJECTIVECTYPE_BOOLEAN, OBJECTIVECTYPE_STRING, OBJECTIVECTYPE_DATA,
  OBJECTIVECTYPE_ENUM, OBJECTIVECTYPE_MESSAGE
}
 
enum  ObjectiveCType {
  OBJECTIVECTYPE_INT32, OBJECTIVECTYPE_UINT32, OBJECTIVECTYPE_INT64, OBJECTIVECTYPE_UINT64,
  OBJECTIVECTYPE_FLOAT, OBJECTIVECTYPE_DOUBLE, OBJECTIVECTYPE_BOOLEAN, OBJECTIVECTYPE_STRING,
  OBJECTIVECTYPE_DATA, OBJECTIVECTYPE_ENUM, OBJECTIVECTYPE_MESSAGE, OBJECTIVECTYPE_INT32,
  OBJECTIVECTYPE_UINT32, OBJECTIVECTYPE_INT64, OBJECTIVECTYPE_UINT64, OBJECTIVECTYPE_FLOAT,
  OBJECTIVECTYPE_DOUBLE, OBJECTIVECTYPE_BOOLEAN, OBJECTIVECTYPE_STRING, OBJECTIVECTYPE_DATA,
  OBJECTIVECTYPE_ENUM, OBJECTIVECTYPE_MESSAGE
}
 

Functions

string BaseFileName (const FileDescriptor *file)
 
string BuildCommentsString (const SourceLocation &location, bool prefer_single_line)
 
std::string BuildFlagsString (const FlagType flag_type, const std::vector< std::string > &strings)
 
string BuildFlagsString (const FlagType flag_type, const std::vector< string > &strings)
 
string ClassName (const Descriptor *descriptor)
 
std::string ClassName (const Descriptor *descriptor, std::string *out_suffix_added)
 
string ClassName (const Descriptor *descriptor, string *out_suffix_added)
 
string ClassNameWorker (const Descriptor *descriptor)
 
string ClassNameWorker (const EnumDescriptor *descriptor)
 
string DefaultValue (const FieldDescriptor *field)
 
string EnumName (const EnumDescriptor *descriptor)
 
string EnumValueName (const EnumValueDescriptor *descriptor)
 
string EnumValueShortName (const EnumValueDescriptor *descriptor)
 
std::string EscapeTrigraphs (const std::string &to_escape)
 
string EscapeTrigraphs (const string &to_escape)
 
string ExtensionMethodName (const FieldDescriptor *descriptor)
 
string FieldName (const FieldDescriptor *field)
 
string FieldNameCapitalized (const FieldDescriptor *field)
 
string FileClassName (const FileDescriptor *file)
 
string FileClassPrefix (const FileDescriptor *file)
 
string FilePath (const FileDescriptor *file)
 
string FilePathBasename (const FileDescriptor *file)
 
string GetCapitalizedType (const FieldDescriptor *field)
 
ObjectiveCType GetObjectiveCType (const FieldDescriptor *field)
 
ObjectiveCType GetObjectiveCType (FieldDescriptor::Type field_type)
 
template<class TDescriptor >
string GetOptionalDeprecatedAttribute (const TDescriptor *descriptor, const FileDescriptor *file=NULL, bool preSpace=true, bool postNewline=false)
 
template<class TDescriptor >
std::string GetOptionalDeprecatedAttribute (const TDescriptor *descriptor, const FileDescriptor *file=NULL, bool preSpace=true, bool postNewline=false)
 
std::string GetProtoPackagePrefixExceptionList ()
 
string GPBGenericValueFieldName (const FieldDescriptor *field)
 
static std::string HandleExtremeFloatingPoint (std::string val, bool add_float_suffix)
 
static string HandleExtremeFloatingPoint (string val, bool add_float_suffix)
 
bool HasFieldPresence (const FileDescriptor *file)
 
bool HasNonZeroDefaultValue (const FieldDescriptor *field)
 
bool HasPreservingUnknownEnumSemantics (const FileDescriptor *file)
 
bool IsInitName (const std::string &name)
 
bool IsInitName (const string &name)
 
bool IsMapEntryMessage (const Descriptor *descriptor)
 
bool IsPrimitiveType (const FieldDescriptor *field)
 
bool IsProtobufLibraryBundledProtoFile (const FileDescriptor *file)
 
bool IsReferenceType (const FieldDescriptor *field)
 
bool IsRetainedName (const std::string &name)
 
bool IsRetainedName (const string &name)
 
std::string ObjCClass (const std::string &class_name)
 
std::string ObjCClassDeclaration (const std::string &class_name)
 
string OneofEnumName (const OneofDescriptor *descriptor)
 
string OneofName (const OneofDescriptor *descriptor)
 
string OneofNameCapitalized (const OneofDescriptor *descriptor)
 
bool ParseSimpleFile (const std::string &path, LineConsumer *line_consumer, std::string *out_error)
 
bool ParseSimpleFile (const string &path, LineConsumer *line_consumer, string *out_error)
 
bool ParseSimpleStream (io::ZeroCopyInputStream &input_stream, const std::string &stream_name, LineConsumer *line_consumer, std::string *out_error)
 
std::string ProtobufFrameworkImportSymbol (const std::string &framework_name)
 
string ProtobufFrameworkImportSymbol (const string &framework_name)
 
bool ReadLine (StringPiece *input, StringPiece *line)
 
void RemoveComment (StringPiece *input)
 
void SetProtoPackagePrefixExceptionList (const std::string &file_path)
 
void SetUseProtoPackageAsDefaultPrefix (bool on_or_off)
 
string StripProto (const string &filename)
 
void TrimWhitespace (StringPiece *input)
 
std::string UnCamelCaseEnumShortName (const std::string &name)
 
string UnCamelCaseEnumShortName (const string &name)
 
std::string UnCamelCaseFieldName (const std::string &name, const FieldDescriptor *field)
 
string UnCamelCaseFieldName (const string &name, const FieldDescriptor *field)
 
bool UseProtoPackageAsDefaultPrefix ()
 
bool ValidateObjCClassPrefixes (const std::vector< const FileDescriptor * > &files, const Options &generation_options, std::string *out_error)
 
bool ValidateObjCClassPrefixes (const std::vector< const FileDescriptor * > &files, const Options &generation_options, string *out_error)
 

Variables

const char *const ProtobufLibraryFrameworkName = "protobuf"
 

Enumeration Type Documentation

◆ FlagType [1/2]

Enumerator
FLAGTYPE_DESCRIPTOR_INITIALIZATION 
FLAGTYPE_EXTENSION 
FLAGTYPE_FIELD 
FLAGTYPE_DESCRIPTOR_INITIALIZATION 
FLAGTYPE_EXTENSION 
FLAGTYPE_FIELD 

Definition at line 151 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h.

◆ FlagType [2/2]

Enumerator
FLAGTYPE_DESCRIPTOR_INITIALIZATION 
FLAGTYPE_EXTENSION 
FLAGTYPE_FIELD 
FLAGTYPE_DESCRIPTOR_INITIALIZATION 
FLAGTYPE_EXTENSION 
FLAGTYPE_FIELD 

Definition at line 169 of file protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h.

◆ ObjectiveCType [1/2]

Enumerator
OBJECTIVECTYPE_INT32 
OBJECTIVECTYPE_UINT32 
OBJECTIVECTYPE_INT64 
OBJECTIVECTYPE_UINT64 
OBJECTIVECTYPE_FLOAT 
OBJECTIVECTYPE_DOUBLE 
OBJECTIVECTYPE_BOOLEAN 
OBJECTIVECTYPE_STRING 
OBJECTIVECTYPE_DATA 
OBJECTIVECTYPE_ENUM 
OBJECTIVECTYPE_MESSAGE 
OBJECTIVECTYPE_INT32 
OBJECTIVECTYPE_UINT32 
OBJECTIVECTYPE_INT64 
OBJECTIVECTYPE_UINT64 
OBJECTIVECTYPE_FLOAT 
OBJECTIVECTYPE_DOUBLE 
OBJECTIVECTYPE_BOOLEAN 
OBJECTIVECTYPE_STRING 
OBJECTIVECTYPE_DATA 
OBJECTIVECTYPE_ENUM 
OBJECTIVECTYPE_MESSAGE 

Definition at line 137 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h.

◆ ObjectiveCType [2/2]

Enumerator
OBJECTIVECTYPE_INT32 
OBJECTIVECTYPE_UINT32 
OBJECTIVECTYPE_INT64 
OBJECTIVECTYPE_UINT64 
OBJECTIVECTYPE_FLOAT 
OBJECTIVECTYPE_DOUBLE 
OBJECTIVECTYPE_BOOLEAN 
OBJECTIVECTYPE_STRING 
OBJECTIVECTYPE_DATA 
OBJECTIVECTYPE_ENUM 
OBJECTIVECTYPE_MESSAGE 
OBJECTIVECTYPE_INT32 
OBJECTIVECTYPE_UINT32 
OBJECTIVECTYPE_INT64 
OBJECTIVECTYPE_UINT64 
OBJECTIVECTYPE_FLOAT 
OBJECTIVECTYPE_DOUBLE 
OBJECTIVECTYPE_BOOLEAN 
OBJECTIVECTYPE_STRING 
OBJECTIVECTYPE_DATA 
OBJECTIVECTYPE_ENUM 
OBJECTIVECTYPE_MESSAGE 

Definition at line 155 of file protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h.

Function Documentation

◆ BaseFileName()

std::string google::protobuf::compiler::objectivec::BaseFileName ( const FileDescriptor file)

◆ BuildCommentsString()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::BuildCommentsString ( const SourceLocation location,
bool  prefer_single_line 
)

◆ BuildFlagsString() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::BuildFlagsString ( const FlagType  flag_type,
const std::vector< std::string > &  strings 
)

◆ BuildFlagsString() [2/2]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::BuildFlagsString ( const FlagType  flag_type,
const std::vector< string > &  strings 
)

◆ ClassName() [1/3]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ClassName ( const Descriptor descriptor)

◆ ClassName() [2/3]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ClassName ( const Descriptor descriptor,
std::string *  out_suffix_added 
)

◆ ClassName() [3/3]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::ClassName ( const Descriptor descriptor,
string *  out_suffix_added 
)

◆ ClassNameWorker() [1/2]

std::string google::protobuf::compiler::objectivec::ClassNameWorker ( const Descriptor descriptor)

◆ ClassNameWorker() [2/2]

std::string google::protobuf::compiler::objectivec::ClassNameWorker ( const EnumDescriptor descriptor)

◆ DefaultValue()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::DefaultValue ( const FieldDescriptor field)

◆ EnumName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::EnumName ( const EnumDescriptor descriptor)

◆ EnumValueName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::EnumValueName ( const EnumValueDescriptor descriptor)

◆ EnumValueShortName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::EnumValueShortName ( const EnumValueDescriptor descriptor)

◆ EscapeTrigraphs() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::EscapeTrigraphs ( const std::string &  to_escape)

◆ EscapeTrigraphs() [2/2]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::EscapeTrigraphs ( const string &  to_escape)

◆ ExtensionMethodName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ExtensionMethodName ( const FieldDescriptor descriptor)

◆ FieldName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FieldName ( const FieldDescriptor field)

◆ FieldNameCapitalized()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FieldNameCapitalized ( const FieldDescriptor field)

◆ FileClassName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FileClassName ( const FileDescriptor file)

◆ FileClassPrefix()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FileClassPrefix ( const FileDescriptor file)

◆ FilePath()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FilePath ( const FileDescriptor file)

◆ FilePathBasename()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::FilePathBasename ( const FileDescriptor file)

◆ GetCapitalizedType()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::GetCapitalizedType ( const FieldDescriptor field)

◆ GetObjectiveCType() [1/2]

ObjectiveCType google::protobuf::compiler::objectivec::GetObjectiveCType ( const FieldDescriptor field)
inline

◆ GetObjectiveCType() [2/2]

ObjectiveCType PROTOC_EXPORT google::protobuf::compiler::objectivec::GetObjectiveCType ( FieldDescriptor::Type  field_type)

◆ GetOptionalDeprecatedAttribute() [1/2]

template<class TDescriptor >
string google::protobuf::compiler::objectivec::GetOptionalDeprecatedAttribute ( const TDescriptor *  descriptor,
const FileDescriptor file = NULL,
bool  preSpace = true,
bool  postNewline = false 
)

◆ GetOptionalDeprecatedAttribute() [2/2]

template<class TDescriptor >
std::string google::protobuf::compiler::objectivec::GetOptionalDeprecatedAttribute ( const TDescriptor *  descriptor,
const FileDescriptor file = NULL,
bool  preSpace = true,
bool  postNewline = false 
)

◆ GetProtoPackagePrefixExceptionList()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::GetProtoPackagePrefixExceptionList ( )

◆ GPBGenericValueFieldName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::GPBGenericValueFieldName ( const FieldDescriptor field)

◆ HandleExtremeFloatingPoint() [1/2]

static std::string google::protobuf::compiler::objectivec::HandleExtremeFloatingPoint ( std::string  val,
bool  add_float_suffix 
)
static

◆ HandleExtremeFloatingPoint() [2/2]

static string google::protobuf::compiler::objectivec::HandleExtremeFloatingPoint ( string  val,
bool  add_float_suffix 
)
static

◆ HasFieldPresence()

bool google::protobuf::compiler::objectivec::HasFieldPresence ( const FileDescriptor file)
inline

◆ HasNonZeroDefaultValue()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::HasNonZeroDefaultValue ( const FieldDescriptor field)

◆ HasPreservingUnknownEnumSemantics()

bool google::protobuf::compiler::objectivec::HasPreservingUnknownEnumSemantics ( const FileDescriptor file)
inline

◆ IsInitName() [1/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsInitName ( const std::string &  name)

◆ IsInitName() [2/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsInitName ( const string &  name)

◆ IsMapEntryMessage()

bool google::protobuf::compiler::objectivec::IsMapEntryMessage ( const Descriptor descriptor)
inline

◆ IsPrimitiveType()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsPrimitiveType ( const FieldDescriptor field)

◆ IsProtobufLibraryBundledProtoFile()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsProtobufLibraryBundledProtoFile ( const FileDescriptor file)

◆ IsReferenceType()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsReferenceType ( const FieldDescriptor field)

◆ IsRetainedName() [1/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsRetainedName ( const std::string &  name)

◆ IsRetainedName() [2/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::IsRetainedName ( const string &  name)

◆ ObjCClass()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ObjCClass ( const std::string &  class_name)

◆ ObjCClassDeclaration()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ObjCClassDeclaration ( const std::string &  class_name)

◆ OneofEnumName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::OneofEnumName ( const OneofDescriptor descriptor)

◆ OneofName()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::OneofName ( const OneofDescriptor descriptor)

◆ OneofNameCapitalized()

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::OneofNameCapitalized ( const OneofDescriptor descriptor)

◆ ParseSimpleFile() [1/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::ParseSimpleFile ( const std::string &  path,
LineConsumer line_consumer,
std::string *  out_error 
)

◆ ParseSimpleFile() [2/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::ParseSimpleFile ( const string &  path,
LineConsumer line_consumer,
string *  out_error 
)

◆ ParseSimpleStream()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::ParseSimpleStream ( io::ZeroCopyInputStream input_stream,
const std::string &  stream_name,
LineConsumer line_consumer,
std::string *  out_error 
)

◆ ProtobufFrameworkImportSymbol() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::ProtobufFrameworkImportSymbol ( const std::string &  framework_name)

◆ ProtobufFrameworkImportSymbol() [2/2]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::ProtobufFrameworkImportSymbol ( const string &  framework_name)

◆ ReadLine()

bool google::protobuf::compiler::objectivec::ReadLine ( StringPiece input,
StringPiece line 
)

◆ RemoveComment()

void google::protobuf::compiler::objectivec::RemoveComment ( StringPiece input)

◆ SetProtoPackagePrefixExceptionList()

void PROTOC_EXPORT google::protobuf::compiler::objectivec::SetProtoPackagePrefixExceptionList ( const std::string &  file_path)

◆ SetUseProtoPackageAsDefaultPrefix()

void PROTOC_EXPORT google::protobuf::compiler::objectivec::SetUseProtoPackageAsDefaultPrefix ( bool  on_or_off)

◆ StripProto()

string PROTOC_EXPORT google::protobuf::compiler::objectivec::StripProto ( const string &  filename)

◆ TrimWhitespace()

void PROTOC_EXPORT google::protobuf::compiler::objectivec::TrimWhitespace ( StringPiece input)

◆ UnCamelCaseEnumShortName() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::UnCamelCaseEnumShortName ( const std::string &  name)

◆ UnCamelCaseEnumShortName() [2/2]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::UnCamelCaseEnumShortName ( const string &  name)

◆ UnCamelCaseFieldName() [1/2]

std::string PROTOC_EXPORT google::protobuf::compiler::objectivec::UnCamelCaseFieldName ( const std::string &  name,
const FieldDescriptor field 
)

◆ UnCamelCaseFieldName() [2/2]

string PROTOC_EXPORT google::protobuf::compiler::objectivec::UnCamelCaseFieldName ( const string &  name,
const FieldDescriptor field 
)

◆ UseProtoPackageAsDefaultPrefix()

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::UseProtoPackageAsDefaultPrefix ( )

◆ ValidateObjCClassPrefixes() [1/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::ValidateObjCClassPrefixes ( const std::vector< const FileDescriptor * > &  files,
const Options generation_options,
std::string *  out_error 
)

◆ ValidateObjCClassPrefixes() [2/2]

bool PROTOC_EXPORT google::protobuf::compiler::objectivec::ValidateObjCClassPrefixes ( const std::vector< const FileDescriptor * > &  files,
const Options generation_options,
string *  out_error 
)

Variable Documentation

◆ ProtobufLibraryFrameworkName

const PROTOC_EXPORT char *const google::protobuf::compiler::objectivec::ProtobufLibraryFrameworkName = "protobuf"


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