Skip to content

google::protobuf::compiler::c::PrimitiveFieldGenerator

詳細情報

メンバー

PrimitiveFieldGenerator()

google::protobuf::compiler::c::PrimitiveFieldGenerator::PrimitiveFieldGenerator(const FieldDescriptor *descriptor)

引数

  • constFieldDescriptor * descriptor

~PrimitiveFieldGenerator()

google::protobuf::compiler::c::PrimitiveFieldGenerator::~PrimitiveFieldGenerator()

GenerateStructMembers()

void google::protobuf::compiler::c::PrimitiveFieldGenerator::GenerateStructMembers(io::Printer *printer) const

引数

  • io::Printer * printer

GenerateDescriptorInitializer()

void google::protobuf::compiler::c::PrimitiveFieldGenerator::GenerateDescriptorInitializer(io::Printer *printer) const

引数

  • io::Printer * printer

GetDefaultValue()

string google::protobuf::compiler::c::PrimitiveFieldGenerator::GetDefaultValue(void) const

戻り値

string

GenerateStaticInit()

void google::protobuf::compiler::c::PrimitiveFieldGenerator::GenerateStaticInit(io::Printer *printer) const

引数

  • io::Printer * printer