Namespaces | Functions | Variables
objectivec_helpers.cc File Reference
#include <unistd.h>
#include <climits>
#include <errno.h>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <unordered_set>
#include <vector>
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
#include <google/protobuf/compiler/objectivec/objectivec_nsobject_methods.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/io/io_win32.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/strutil.h>
Include dependency graph for objectivec_helpers.cc:

Go to the source code of this file.

Namespaces

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

Functions

string google::protobuf::compiler::objectivec::BaseFileName (const FileDescriptor *file)
 
string google::protobuf::compiler::objectivec::BuildCommentsString (const SourceLocation &location, bool prefer_single_line)
 
string google::protobuf::compiler::objectivec::BuildFlagsString (const FlagType flag_type, const std::vector< string > &strings)
 
string google::protobuf::compiler::objectivec::ClassName (const Descriptor *descriptor)
 
string google::protobuf::compiler::objectivec::ClassName (const Descriptor *descriptor, string *out_suffix_added)
 
string google::protobuf::compiler::objectivec::ClassNameWorker (const Descriptor *descriptor)
 
string google::protobuf::compiler::objectivec::ClassNameWorker (const EnumDescriptor *descriptor)
 
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)
 
string google::protobuf::compiler::objectivec::EscapeTrigraphs (const 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 (FieldDescriptor::Type field_type)
 
string google::protobuf::compiler::objectivec::GPBGenericValueFieldName (const FieldDescriptor *field)
 
static string google::protobuf::compiler::objectivec::HandleExtremeFloatingPoint (string val, bool add_float_suffix)
 
bool google::protobuf::compiler::objectivec::HasNonZeroDefaultValue (const FieldDescriptor *field)
 
bool google::protobuf::compiler::objectivec::IsInitName (const string &name)
 
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 string &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 string &path, LineConsumer *line_consumer, string *out_error)
 
string google::protobuf::compiler::objectivec::ProtobufFrameworkImportSymbol (const string &framework_name)
 
bool google::protobuf::compiler::objectivec::ReadLine (StringPiece *input, StringPiece *line)
 
void google::protobuf::compiler::objectivec::RemoveComment (StringPiece *input)
 
string google::protobuf::compiler::objectivec::StripProto (const string &filename)
 
void google::protobuf::compiler::objectivec::TrimWhitespace (StringPiece *input)
 
string google::protobuf::compiler::objectivec::UnCamelCaseEnumShortName (const string &name)
 
string google::protobuf::compiler::objectivec::UnCamelCaseFieldName (const string &name, const FieldDescriptor *field)
 
bool google::protobuf::compiler::objectivec::ValidateObjCClassPrefixes (const std::vector< const FileDescriptor * > &files, const Options &generation_options, string *out_error)
 

Variables

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

Variable Documentation

◆ decode_data_

string decode_data_
private

Definition at line 1345 of file objectivec_helpers.cc.

◆ error_str_

string error_str_
private

Definition at line 1469 of file objectivec_helpers.cc.

◆ is_all_upper_

bool is_all_upper_
private

Definition at line 1341 of file objectivec_helpers.cc.

◆ kAddUnderscore

const uint8 kAddUnderscore = 0x80
staticprivate

Definition at line 1295 of file objectivec_helpers.cc.

◆ kMaxSegmentLen

const int kMaxSegmentLen = 0x1f
staticprivate

Definition at line 1302 of file objectivec_helpers.cc.

◆ kOpAllUpper

const uint8 kOpAllUpper = 0x60
staticprivate

Definition at line 1300 of file objectivec_helpers.cc.

◆ kOpAsIs

const uint8 kOpAsIs = 0x00
staticprivate

Definition at line 1297 of file objectivec_helpers.cc.

◆ kOpFirstLower

const uint8 kOpFirstLower = 0x20
staticprivate

Definition at line 1299 of file objectivec_helpers.cc.

◆ kOpFirstUpper

const uint8 kOpFirstUpper = 0x40
staticprivate

Definition at line 1298 of file objectivec_helpers.cc.

◆ leftover_

string leftover_
private

Definition at line 1471 of file objectivec_helpers.cc.

◆ line_

int line_
private

Definition at line 1468 of file objectivec_helpers.cc.

◆ line_consumer_

LineConsumer* line_consumer_
private

Definition at line 1467 of file objectivec_helpers.cc.

◆ need_underscore_

bool need_underscore_
private

Definition at line 1340 of file objectivec_helpers.cc.

◆ op_

uint8 op_
private

Definition at line 1342 of file objectivec_helpers.cc.

◆ p_

StringPiece p_
private

Definition at line 1470 of file objectivec_helpers.cc.

◆ prefix_map_

std::map<string, string>* prefix_map_
private

Definition at line 1043 of file objectivec_helpers.cc.

◆ segment_len_

int segment_len_
private

Definition at line 1343 of file objectivec_helpers.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03