#include <sstream>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/compiler/csharp/csharp_doc_comment.h>
#include <google/protobuf/compiler/csharp/csharp_helpers.h>
#include <google/protobuf/compiler/csharp/csharp_options.h>
#include <google/protobuf/compiler/csharp/csharp_primitive_field.h>
namespace google {
namespace protobuf {
namespace compiler {
namespace csharp {
PrimitiveFieldGenerator::PrimitiveFieldGenerator(
const FieldDescriptor* descriptor, int presenceIndex, const Options *options)
: … { … }
PrimitiveFieldGenerator::~PrimitiveFieldGenerator() { … }
void PrimitiveFieldGenerator::GenerateMembers(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateMergingCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateParsingCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateSerializationCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateSerializedSizeCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::WriteHash(io::Printer* printer) { … }
void PrimitiveFieldGenerator::WriteEquals(io::Printer* printer) { … }
void PrimitiveFieldGenerator::WriteToString(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateCloningCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateCodecCode(io::Printer* printer) { … }
void PrimitiveFieldGenerator::GenerateExtensionCode(io::Printer* printer) { … }
PrimitiveOneofFieldGenerator::PrimitiveOneofFieldGenerator(
const FieldDescriptor* descriptor, int presenceIndex, const Options *options)
: … { … }
PrimitiveOneofFieldGenerator::~PrimitiveOneofFieldGenerator() { … }
void PrimitiveOneofFieldGenerator::GenerateMembers(io::Printer* printer) { … }
void PrimitiveOneofFieldGenerator::GenerateMergingCode(io::Printer* printer) { … }
void PrimitiveOneofFieldGenerator::WriteToString(io::Printer* printer) { … }
void PrimitiveOneofFieldGenerator::GenerateParsingCode(io::Printer* printer) { … }
void PrimitiveOneofFieldGenerator::GenerateCloningCode(io::Printer* printer) { … }
}
}
}
}