TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::compiler::cpp::EnumGenerator Class Reference

#include <cpp_enum.h>

Public Member Functions

 EnumGenerator (const EnumDescriptor *descriptor, const Options &options)
 
 ~EnumGenerator ()
 
void GenerateDefinition (io::Printer *printer)
 
void GenerateGetEnumDescriptorSpecializations (io::Printer *printer)
 
void GenerateSymbolImports (io::Printer *printer)
 
void GenerateDescriptorInitializer (io::Printer *printer, int index)
 
void GenerateMethods (io::Printer *printer)
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (EnumGenerator)
 

Private Attributes

const EnumDescriptordescriptor_
 
string classname_
 
Options options_
 
bool generate_array_size_
 

Constructor & Destructor Documentation

google::protobuf::compiler::cpp::EnumGenerator::EnumGenerator ( const EnumDescriptor descriptor,
const Options options 
)
explicit
google::protobuf::compiler::cpp::EnumGenerator::~EnumGenerator ( )

Member Function Documentation

void google::protobuf::compiler::cpp::EnumGenerator::GenerateDefinition ( io::Printer printer)
void google::protobuf::compiler::cpp::EnumGenerator::GenerateDescriptorInitializer ( io::Printer printer,
int  index 
)
void google::protobuf::compiler::cpp::EnumGenerator::GenerateGetEnumDescriptorSpecializations ( io::Printer printer)
void google::protobuf::compiler::cpp::EnumGenerator::GenerateMethods ( io::Printer printer)
void google::protobuf::compiler::cpp::EnumGenerator::GenerateSymbolImports ( io::Printer printer)
google::protobuf::compiler::cpp::EnumGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( EnumGenerator  )
private

Member Data Documentation

string google::protobuf::compiler::cpp::EnumGenerator::classname_
private
const EnumDescriptor* google::protobuf::compiler::cpp::EnumGenerator::descriptor_
private
bool google::protobuf::compiler::cpp::EnumGenerator::generate_array_size_
private
Options google::protobuf::compiler::cpp::EnumGenerator::options_
private

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