DYT/Tool/OpenSceneGraph-3.6.5/include/google/protobuf/compiler/objectivec/options.h
2024-12-25 07:49:36 +08:00

40 lines
1.2 KiB
C++

// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#ifndef GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__
#define GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__
#include <string>
namespace google {
namespace protobuf {
namespace compiler {
namespace objectivec {
// Generation options, documented within generator.cc.
struct GenerationOptions {
std::string generate_for_named_framework;
std::string named_framework_to_proto_path_mappings_path;
std::string runtime_import_prefix;
bool headers_use_forward_declarations = false;
bool strip_custom_options = true;
bool generate_minimal_imports = true;
// These are experiments that are not officially supported. They can change
// in behavior or go away at any time.
bool experimental_multi_source_generation = false;
bool experimental_strip_nonfunctional_codegen = false;
};
} // namespace objectivec
} // namespace compiler
} // namespace protobuf
} // namespace google
#endif // GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_OPTIONS_H__