Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::java::EnumGenerator Class Reference

#include <java_enum.h>

Classes

struct  Alias
 

Public Member Functions

 EnumGenerator (const EnumDescriptor *descriptor, bool immutable_api, Context *context)
 
void Generate (io::Printer *printer)
 
 ~EnumGenerator ()
 

Private Member Functions

bool CanUseEnumValues ()
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (EnumGenerator)
 

Private Attributes

std::vector< Aliasaliases_
 
std::vector< const EnumValueDescriptor * > canonical_values_
 
Contextcontext_
 
const EnumDescriptordescriptor_
 
bool immutable_api_
 
ClassNameResolvername_resolver_
 

Detailed Description

Definition at line 61 of file java_enum.h.

Constructor & Destructor Documentation

◆ EnumGenerator()

google::protobuf::compiler::java::EnumGenerator::EnumGenerator ( const EnumDescriptor descriptor,
bool  immutable_api,
Context context 
)

Definition at line 53 of file java_enum.cc.

◆ ~EnumGenerator()

google::protobuf::compiler::java::EnumGenerator::~EnumGenerator ( )

Definition at line 75 of file java_enum.cc.

Member Function Documentation

◆ CanUseEnumValues()

bool google::protobuf::compiler::java::EnumGenerator::CanUseEnumValues ( )
private

Definition at line 339 of file java_enum.cc.

◆ Generate()

void google::protobuf::compiler::java::EnumGenerator::Generate ( io::Printer printer)

Definition at line 77 of file java_enum.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::compiler::java::EnumGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( EnumGenerator  )
private

Member Data Documentation

◆ aliases_

std::vector<Alias> google::protobuf::compiler::java::EnumGenerator::aliases_
private

Definition at line 83 of file java_enum.h.

◆ canonical_values_

std::vector<const EnumValueDescriptor*> google::protobuf::compiler::java::EnumGenerator::canonical_values_
private

Definition at line 77 of file java_enum.h.

◆ context_

Context* google::protobuf::compiler::java::EnumGenerator::context_
private

Definition at line 87 of file java_enum.h.

◆ descriptor_

const EnumDescriptor* google::protobuf::compiler::java::EnumGenerator::descriptor_
private

Definition at line 70 of file java_enum.h.

◆ immutable_api_

bool google::protobuf::compiler::java::EnumGenerator::immutable_api_
private

Definition at line 85 of file java_enum.h.

◆ name_resolver_

ClassNameResolver* google::protobuf::compiler::java::EnumGenerator::name_resolver_
private

Definition at line 88 of file java_enum.h.


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


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