name_generator.h 414 B

123456789101112131415161718
  1. #pragma once
  2. #include <util/generic/string.h>
  3. #include <functional>
  4. namespace google {
  5. namespace protobuf {
  6. class FieldDescriptor;
  7. class EnumValueDescriptor;
  8. }
  9. }
  10. namespace NProtobufJson {
  11. using TNameGenerator = std::function<TString(const google::protobuf::FieldDescriptor&)>;
  12. using TEnumValueGenerator = std::function<TString(const google::protobuf::EnumValueDescriptor&)>;
  13. }