Public Member Functions | Protected Attributes | Private Member Functions | List of all members
google::protobuf::compiler::cpp::StringFieldGenerator Class Reference

#include <cpp_string_field.h>

Inheritance diagram for google::protobuf::compiler::cpp::StringFieldGenerator:
Inheritance graph
[legend]

Public Member Functions

uint32 CalculateFieldTag () const
 
void GenerateAccessorDeclarations (io::Printer *printer) const
 
bool GenerateArenaDestructorCode (io::Printer *printer) const
 
void GenerateByteSize (io::Printer *printer) const
 
void GenerateClearingCode (io::Printer *printer) const
 
void GenerateConstructorCode (io::Printer *printer) const
 
void GenerateCopyConstructorCode (io::Printer *printer) const
 
void GenerateDefaultInstanceAllocator (io::Printer *printer) const
 
void GenerateDestructorCode (io::Printer *printer) const
 
void GenerateInlineAccessorDefinitions (io::Printer *printer) const
 
void GenerateMergeFromCodedStream (io::Printer *printer) const
 
void GenerateMergingCode (io::Printer *printer) const
 
void GenerateMessageClearingCode (io::Printer *printer) const
 
void GenerateNonInlineAccessorDefinitions (io::Printer *printer) const
 
void GeneratePrivateMembers (io::Printer *printer) const
 
void GenerateSerializeWithCachedSizes (io::Printer *printer) const
 
void GenerateSerializeWithCachedSizesToArray (io::Printer *printer) const
 
void GenerateStaticMembers (io::Printer *printer) const
 
void GenerateSwappingCode (io::Printer *printer) const
 
bool IsInlined () const
 
bool MergeFromCodedStreamNeedsArena () const
 
 StringFieldGenerator (const FieldDescriptor *descriptor, const Options &options)
 
 ~StringFieldGenerator ()
 
- Public Member Functions inherited from google::protobuf::compiler::cpp::FieldGenerator
 FieldGenerator (const FieldDescriptor *descriptor, const Options &options)
 
virtual void GenerateInternalAccessorDeclarations (io::Printer *) const
 
virtual void GenerateInternalAccessorDefinitions (io::Printer *) const
 
virtual void GenerateMergeFromCodedStreamWithPacking (io::Printer *printer) const
 
void SetHasBitIndex (int32 has_bit_index)
 
virtual ~FieldGenerator ()
 

Protected Attributes

bool inlined_
 
const bool lite_
 
- Protected Attributes inherited from google::protobuf::compiler::cpp::FieldGenerator
const FieldDescriptordescriptor_
 
const Optionsoptions_
 
std::map< std::string, std::stringvariables_
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (StringFieldGenerator)
 

Detailed Description

Definition at line 47 of file cpp_string_field.h.

Constructor & Destructor Documentation

◆ StringFieldGenerator()

google::protobuf::compiler::cpp::StringFieldGenerator::StringFieldGenerator ( const FieldDescriptor descriptor,
const Options options 
)

Definition at line 88 of file cpp_string_field.cc.

◆ ~StringFieldGenerator()

google::protobuf::compiler::cpp::StringFieldGenerator::~StringFieldGenerator ( )

Definition at line 96 of file cpp_string_field.cc.

Member Function Documentation

◆ CalculateFieldTag()

uint32 google::protobuf::compiler::cpp::StringFieldGenerator::CalculateFieldTag ( ) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 653 of file cpp_string_field.cc.

◆ GenerateAccessorDeclarations()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateAccessorDeclarations ( io::Printer printer) const
virtual

◆ GenerateArenaDestructorCode()

bool google::protobuf::compiler::cpp::StringFieldGenerator::GenerateArenaDestructorCode ( io::Printer printer) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 550 of file cpp_string_field.cc.

◆ GenerateByteSize()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateByteSize ( io::Printer printer) const
virtual

◆ GenerateClearingCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateClearingCode ( io::Printer printer) const
virtual

◆ GenerateConstructorCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateConstructorCode ( io::Printer printer) const
virtual

◆ GenerateCopyConstructorCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateCopyConstructorCode ( io::Printer printer) const
virtual

◆ GenerateDefaultInstanceAllocator()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateDefaultInstanceAllocator ( io::Printer printer) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 561 of file cpp_string_field.cc.

◆ GenerateDestructorCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateDestructorCode ( io::Printer printer) const
virtual

◆ GenerateInlineAccessorDefinitions()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateInlineAccessorDefinitions ( io::Printer printer) const
virtual

◆ GenerateMergeFromCodedStream()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateMergeFromCodedStream ( io::Printer printer) const
virtual

◆ GenerateMergingCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateMergingCode ( io::Printer printer) const
virtual

◆ GenerateMessageClearingCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateMessageClearingCode ( io::Printer printer) const
virtual

◆ GenerateNonInlineAccessorDefinitions()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateNonInlineAccessorDefinitions ( io::Printer printer) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 389 of file cpp_string_field.cc.

◆ GeneratePrivateMembers()

void google::protobuf::compiler::cpp::StringFieldGenerator::GeneratePrivateMembers ( io::Printer printer) const
virtual

◆ GenerateSerializeWithCachedSizes()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateSerializeWithCachedSizes ( io::Printer printer) const
virtual

◆ GenerateSerializeWithCachedSizesToArray()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateSerializeWithCachedSizesToArray ( io::Printer printer) const
virtual

◆ GenerateStaticMembers()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateStaticMembers ( io::Printer printer) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 119 of file cpp_string_field.cc.

◆ GenerateSwappingCode()

void google::protobuf::compiler::cpp::StringFieldGenerator::GenerateSwappingCode ( io::Printer printer) const
virtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::compiler::cpp::StringFieldGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( StringFieldGenerator  )
private

◆ IsInlined()

bool google::protobuf::compiler::cpp::StringFieldGenerator::IsInlined ( ) const
inlinevirtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 73 of file cpp_string_field.h.

◆ MergeFromCodedStreamNeedsArena()

bool google::protobuf::compiler::cpp::StringFieldGenerator::MergeFromCodedStreamNeedsArena ( ) const
virtual

Reimplemented from google::protobuf::compiler::cpp::FieldGenerator.

Definition at line 611 of file cpp_string_field.cc.

Member Data Documentation

◆ inlined_

bool google::protobuf::compiler::cpp::StringFieldGenerator::inlined_
protected

Definition at line 79 of file cpp_string_field.h.

◆ lite_

const bool google::protobuf::compiler::cpp::StringFieldGenerator::lite_
protected

Definition at line 78 of file cpp_string_field.h.


The documentation for this class was generated from the following files:


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