Classes | Namespaces | Enumerations | Functions
protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h File Reference
#include <string>
#include <vector>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  google::protobuf::compiler::objectivec::ImportWriter
 
class  google::protobuf::compiler::objectivec::LineConsumer
 
struct  google::protobuf::compiler::objectivec::Options
 
class  google::protobuf::compiler::objectivec::ImportWriter::ProtoFrameworkCollector
 
class  google::protobuf::compiler::objectivec::TextFormatDecodeData
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::objectivec
 

Enumerations

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

Functions

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


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