Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kuznetsov <r.kuznetsow@gmail.com>2017-07-08 23:19:54 +0300
committerIlya Zverev <ilya@zverev.info>2017-07-10 19:29:38 +0300
commit506c86b32474a361a80f01b41942f5df6b9fb4cc (patch)
tree5c823c615e4ae92f7e95d9f1f6e37660dfc88cd9 /indexer/drules_struct.pb.h
parent83a05025606a463b6c87c90d538117c7502ad281 (diff)
Updated protobuf to 3.3.0
Diffstat (limited to 'indexer/drules_struct.pb.h')
-rw-r--r--indexer/drules_struct.pb.h3842
1 files changed, 1518 insertions, 2324 deletions
diff --git a/indexer/drules_struct.pb.h b/indexer/drules_struct.pb.h
index 2f43d57516..16d333a3bb 100644
--- a/indexer/drules_struct.pb.h
+++ b/indexer/drules_struct.pb.h
@@ -1,56 +1,104 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: drules_struct.proto
+// source: indexer/drules_struct.proto
-#ifndef PROTOBUF_drules_5fstruct_2eproto__INCLUDED
-#define PROTOBUF_drules_5fstruct_2eproto__INCLUDED
+#ifndef PROTOBUF_indexer_2fdrules_5fstruct_2eproto__INCLUDED
+#define PROTOBUF_indexer_2fdrules_5fstruct_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
-#if GOOGLE_PROTOBUF_VERSION < 2006000
+#if GOOGLE_PROTOBUF_VERSION < 3003000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
-#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
+#if 3003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
+#include <google/protobuf/io/coded_stream.h>
+#include <google/protobuf/arena.h>
+#include <google/protobuf/arenastring.h>
+#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
+#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
-#include <google/protobuf/repeated_field.h>
-#include <google/protobuf/extension_set.h>
+#include <google/protobuf/repeated_field.h> // IWYU pragma: export
+#include <google/protobuf/extension_set.h> // IWYU pragma: export
+#include <google/protobuf/generated_enum_util.h>
// @@protoc_insertion_point(includes)
-
-// Internal implementation detail -- do not call these.
-void protobuf_AddDesc_drules_5fstruct_2eproto();
-void protobuf_AssignDesc_drules_5fstruct_2eproto();
-void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
-class DashDotProto;
-class PathSymProto;
-class LineRuleProto;
-class LineDefProto;
class AreaRuleProto;
-class SymbolRuleProto;
+class AreaRuleProtoDefaultTypeInternal;
+extern AreaRuleProtoDefaultTypeInternal _AreaRuleProto_default_instance_;
class CaptionDefProto;
+class CaptionDefProtoDefaultTypeInternal;
+extern CaptionDefProtoDefaultTypeInternal _CaptionDefProto_default_instance_;
class CaptionRuleProto;
+class CaptionRuleProtoDefaultTypeInternal;
+extern CaptionRuleProtoDefaultTypeInternal _CaptionRuleProto_default_instance_;
class CircleRuleProto;
-class PathTextRuleProto;
-class ShieldRuleProto;
-class DrawElementProto;
+class CircleRuleProtoDefaultTypeInternal;
+extern CircleRuleProtoDefaultTypeInternal _CircleRuleProto_default_instance_;
class ClassifElementProto;
+class ClassifElementProtoDefaultTypeInternal;
+extern ClassifElementProtoDefaultTypeInternal _ClassifElementProto_default_instance_;
class ColorElementProto;
+class ColorElementProtoDefaultTypeInternal;
+extern ColorElementProtoDefaultTypeInternal _ColorElementProto_default_instance_;
class ColorsElementProto;
+class ColorsElementProtoDefaultTypeInternal;
+extern ColorsElementProtoDefaultTypeInternal _ColorsElementProto_default_instance_;
class ContainerProto;
+class ContainerProtoDefaultTypeInternal;
+extern ContainerProtoDefaultTypeInternal _ContainerProto_default_instance_;
+class DashDotProto;
+class DashDotProtoDefaultTypeInternal;
+extern DashDotProtoDefaultTypeInternal _DashDotProto_default_instance_;
+class DrawElementProto;
+class DrawElementProtoDefaultTypeInternal;
+extern DrawElementProtoDefaultTypeInternal _DrawElementProto_default_instance_;
+class LineDefProto;
+class LineDefProtoDefaultTypeInternal;
+extern LineDefProtoDefaultTypeInternal _LineDefProto_default_instance_;
+class LineRuleProto;
+class LineRuleProtoDefaultTypeInternal;
+extern LineRuleProtoDefaultTypeInternal _LineRuleProto_default_instance_;
+class PathSymProto;
+class PathSymProtoDefaultTypeInternal;
+extern PathSymProtoDefaultTypeInternal _PathSymProto_default_instance_;
+class PathTextRuleProto;
+class PathTextRuleProtoDefaultTypeInternal;
+extern PathTextRuleProtoDefaultTypeInternal _PathTextRuleProto_default_instance_;
+class ShieldRuleProto;
+class ShieldRuleProtoDefaultTypeInternal;
+extern ShieldRuleProtoDefaultTypeInternal _ShieldRuleProto_default_instance_;
+class SymbolRuleProto;
+class SymbolRuleProtoDefaultTypeInternal;
+extern SymbolRuleProtoDefaultTypeInternal _SymbolRuleProto_default_instance_;
+
+namespace protobuf_indexer_2fdrules_5fstruct_2eproto {
+// Internal implementation detail -- do not call these.
+struct TableStruct {
+ static const ::google::protobuf::internal::ParseTableField entries[];
+ static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
+ static const ::google::protobuf::internal::ParseTable schema[];
+ static const ::google::protobuf::uint32 offsets[];
+ static void InitDefaultsImpl();
+ static void Shutdown();
+};
+void AddDescriptors();
+void InitDefaults();
+} // namespace protobuf_indexer_2fdrules_5fstruct_2eproto
enum LineJoin {
ROUNDJOIN = 0,
BEVELJOIN = 1,
- NOJOIN = 2
+ NOJOIN = 2,
+ LineJoin_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
+ LineJoin_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool LineJoin_IsValid(int value);
const LineJoin LineJoin_MIN = ROUNDJOIN;
@@ -60,7 +108,9 @@ const int LineJoin_ARRAYSIZE = LineJoin_MAX + 1;
enum LineCap {
ROUNDCAP = 0,
BUTTCAP = 1,
- SQUARECAP = 2
+ SQUARECAP = 2,
+ LineCap_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
+ LineCap_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
};
bool LineCap_IsValid(int value);
const LineCap LineCap_MIN = ROUNDCAP;
@@ -69,7 +119,7 @@ const int LineCap_ARRAYSIZE = LineCap_MAX + 1;
// ===================================================================
-class DashDotProto : public ::google::protobuf::MessageLite {
+class DashDotProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:DashDotProto) */ {
public:
DashDotProto();
virtual ~DashDotProto();
@@ -81,99 +131,87 @@ class DashDotProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const DashDotProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const DashDotProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const DashDotProto*>(
+ &_DashDotProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 0;
void Swap(DashDotProto* other);
// implements Message ----------------------------------------------
- DashDotProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline DashDotProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ DashDotProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const DashDotProto& from);
void MergeFrom(const DashDotProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(DashDotProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated double dd = 1;
- inline int dd_size() const;
- inline void clear_dd();
+ int dd_size() const;
+ void clear_dd();
static const int kDdFieldNumber = 1;
- inline double dd(int index) const;
- inline void set_dd(int index, double value);
- inline void add_dd(double value);
- inline const ::google::protobuf::RepeatedField< double >&
+ double dd(int index) const;
+ void set_dd(int index, double value);
+ void add_dd(double value);
+ const ::google::protobuf::RepeatedField< double >&
dd() const;
- inline ::google::protobuf::RepeatedField< double >*
+ ::google::protobuf::RepeatedField< double >*
mutable_dd();
- // optional double offset = 2;
- inline bool has_offset() const;
- inline void clear_offset();
+ // double offset = 2;
+ void clear_offset();
static const int kOffsetFieldNumber = 2;
- inline double offset() const;
- inline void set_offset(double value);
+ double offset() const;
+ void set_offset(double value);
// @@protoc_insertion_point(class_scope:DashDotProto)
private:
- inline void set_has_offset();
- inline void clear_has_offset();
-
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::RepeatedField< double > dd_;
+ mutable int _dd_cached_byte_size_;
double offset_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static DashDotProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class PathSymProto : public ::google::protobuf::MessageLite {
+class PathSymProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:PathSymProto) */ {
public:
PathSymProto();
virtual ~PathSymProto();
@@ -185,111 +223,95 @@ class PathSymProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const PathSymProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const PathSymProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const PathSymProto*>(
+ &_PathSymProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 1;
void Swap(PathSymProto* other);
// implements Message ----------------------------------------------
- PathSymProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline PathSymProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ PathSymProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const PathSymProto& from);
void MergeFrom(const PathSymProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(PathSymProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required string name = 1;
- inline bool has_name() const;
- inline void clear_name();
+ // string name = 1;
+ void clear_name();
static const int kNameFieldNumber = 1;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const char* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
-
- // required double step = 2;
- inline bool has_step() const;
- inline void clear_step();
+ const ::std::string& name() const;
+ void set_name(const ::std::string& value);
+ #if LANG_CXX11
+ void set_name(::std::string&& value);
+ #endif
+ void set_name(const char* value);
+ void set_name(const char* value, size_t size);
+ ::std::string* mutable_name();
+ ::std::string* release_name();
+ void set_allocated_name(::std::string* name);
+
+ // double step = 2;
+ void clear_step();
static const int kStepFieldNumber = 2;
- inline double step() const;
- inline void set_step(double value);
+ double step() const;
+ void set_step(double value);
- // optional double offset = 3;
- inline bool has_offset() const;
- inline void clear_offset();
+ // double offset = 3;
+ void clear_offset();
static const int kOffsetFieldNumber = 3;
- inline double offset() const;
- inline void set_offset(double value);
+ double offset() const;
+ void set_offset(double value);
// @@protoc_insertion_point(class_scope:PathSymProto)
private:
- inline void set_has_name();
- inline void clear_has_name();
- inline void set_has_step();
- inline void clear_has_step();
- inline void set_has_offset();
- inline void clear_has_offset();
-
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
+ ::google::protobuf::internal::ArenaStringPtr name_;
double step_;
double offset_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static PathSymProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class LineRuleProto : public ::google::protobuf::MessageLite {
+class LineRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:LineRuleProto) */ {
public:
LineRuleProto();
virtual ~LineRuleProto();
@@ -301,150 +323,121 @@ class LineRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const LineRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const LineRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const LineRuleProto*>(
+ &_LineRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 2;
void Swap(LineRuleProto* other);
// implements Message ----------------------------------------------
- LineRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline LineRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ LineRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const LineRuleProto& from);
void MergeFrom(const LineRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(LineRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required double width = 1;
- inline bool has_width() const;
- inline void clear_width();
+ // .DashDotProto dashdot = 3;
+ bool has_dashdot() const;
+ void clear_dashdot();
+ static const int kDashdotFieldNumber = 3;
+ const ::DashDotProto& dashdot() const;
+ ::DashDotProto* mutable_dashdot();
+ ::DashDotProto* release_dashdot();
+ void set_allocated_dashdot(::DashDotProto* dashdot);
+
+ // .PathSymProto pathsym = 5;
+ bool has_pathsym() const;
+ void clear_pathsym();
+ static const int kPathsymFieldNumber = 5;
+ const ::PathSymProto& pathsym() const;
+ ::PathSymProto* mutable_pathsym();
+ ::PathSymProto* release_pathsym();
+ void set_allocated_pathsym(::PathSymProto* pathsym);
+
+ // double width = 1;
+ void clear_width();
static const int kWidthFieldNumber = 1;
- inline double width() const;
- inline void set_width(double value);
+ double width() const;
+ void set_width(double value);
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional .DashDotProto dashdot = 3;
- inline bool has_dashdot() const;
- inline void clear_dashdot();
- static const int kDashdotFieldNumber = 3;
- inline const ::DashDotProto& dashdot() const;
- inline ::DashDotProto* mutable_dashdot();
- inline ::DashDotProto* release_dashdot();
- inline void set_allocated_dashdot(::DashDotProto* dashdot);
-
- // required int32 priority = 4;
- inline bool has_priority() const;
- inline void clear_priority();
+ // int32 priority = 4;
+ void clear_priority();
static const int kPriorityFieldNumber = 4;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
- // optional .PathSymProto pathsym = 5;
- inline bool has_pathsym() const;
- inline void clear_pathsym();
- static const int kPathsymFieldNumber = 5;
- inline const ::PathSymProto& pathsym() const;
- inline ::PathSymProto* mutable_pathsym();
- inline ::PathSymProto* release_pathsym();
- inline void set_allocated_pathsym(::PathSymProto* pathsym);
-
- // optional .LineJoin join = 6;
- inline bool has_join() const;
- inline void clear_join();
+ // .LineJoin join = 6;
+ void clear_join();
static const int kJoinFieldNumber = 6;
- inline ::LineJoin join() const;
- inline void set_join(::LineJoin value);
+ ::LineJoin join() const;
+ void set_join(::LineJoin value);
- // optional .LineCap cap = 7;
- inline bool has_cap() const;
- inline void clear_cap();
+ // .LineCap cap = 7;
+ void clear_cap();
static const int kCapFieldNumber = 7;
- inline ::LineCap cap() const;
- inline void set_cap(::LineCap value);
+ ::LineCap cap() const;
+ void set_cap(::LineCap value);
// @@protoc_insertion_point(class_scope:LineRuleProto)
private:
- inline void set_has_width();
- inline void clear_has_width();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_dashdot();
- inline void clear_has_dashdot();
- inline void set_has_priority();
- inline void clear_has_priority();
- inline void set_has_pathsym();
- inline void clear_has_pathsym();
- inline void set_has_join();
- inline void clear_has_join();
- inline void set_has_cap();
- inline void clear_has_cap();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- double width_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::DashDotProto* dashdot_;
+ ::PathSymProto* pathsym_;
+ double width_;
::google::protobuf::uint32 color_;
::google::protobuf::int32 priority_;
- ::PathSymProto* pathsym_;
int join_;
int cap_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static LineRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class LineDefProto : public ::google::protobuf::MessageLite {
+class LineDefProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:LineDefProto) */ {
public:
LineDefProto();
virtual ~LineDefProto();
@@ -456,140 +449,114 @@ class LineDefProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const LineDefProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const LineDefProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const LineDefProto*>(
+ &_LineDefProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 3;
void Swap(LineDefProto* other);
// implements Message ----------------------------------------------
- LineDefProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline LineDefProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ LineDefProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const LineDefProto& from);
void MergeFrom(const LineDefProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(LineDefProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required double width = 1;
- inline bool has_width() const;
- inline void clear_width();
+ // .DashDotProto dashdot = 3;
+ bool has_dashdot() const;
+ void clear_dashdot();
+ static const int kDashdotFieldNumber = 3;
+ const ::DashDotProto& dashdot() const;
+ ::DashDotProto* mutable_dashdot();
+ ::DashDotProto* release_dashdot();
+ void set_allocated_dashdot(::DashDotProto* dashdot);
+
+ // .PathSymProto pathsym = 4;
+ bool has_pathsym() const;
+ void clear_pathsym();
+ static const int kPathsymFieldNumber = 4;
+ const ::PathSymProto& pathsym() const;
+ ::PathSymProto* mutable_pathsym();
+ ::PathSymProto* release_pathsym();
+ void set_allocated_pathsym(::PathSymProto* pathsym);
+
+ // double width = 1;
+ void clear_width();
static const int kWidthFieldNumber = 1;
- inline double width() const;
- inline void set_width(double value);
+ double width() const;
+ void set_width(double value);
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional .DashDotProto dashdot = 3;
- inline bool has_dashdot() const;
- inline void clear_dashdot();
- static const int kDashdotFieldNumber = 3;
- inline const ::DashDotProto& dashdot() const;
- inline ::DashDotProto* mutable_dashdot();
- inline ::DashDotProto* release_dashdot();
- inline void set_allocated_dashdot(::DashDotProto* dashdot);
-
- // optional .PathSymProto pathsym = 4;
- inline bool has_pathsym() const;
- inline void clear_pathsym();
- static const int kPathsymFieldNumber = 4;
- inline const ::PathSymProto& pathsym() const;
- inline ::PathSymProto* mutable_pathsym();
- inline ::PathSymProto* release_pathsym();
- inline void set_allocated_pathsym(::PathSymProto* pathsym);
-
- // optional .LineJoin join = 6;
- inline bool has_join() const;
- inline void clear_join();
+ // .LineJoin join = 6;
+ void clear_join();
static const int kJoinFieldNumber = 6;
- inline ::LineJoin join() const;
- inline void set_join(::LineJoin value);
+ ::LineJoin join() const;
+ void set_join(::LineJoin value);
- // optional .LineCap cap = 7;
- inline bool has_cap() const;
- inline void clear_cap();
+ // .LineCap cap = 7;
+ void clear_cap();
static const int kCapFieldNumber = 7;
- inline ::LineCap cap() const;
- inline void set_cap(::LineCap value);
+ ::LineCap cap() const;
+ void set_cap(::LineCap value);
// @@protoc_insertion_point(class_scope:LineDefProto)
private:
- inline void set_has_width();
- inline void clear_has_width();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_dashdot();
- inline void clear_has_dashdot();
- inline void set_has_pathsym();
- inline void clear_has_pathsym();
- inline void set_has_join();
- inline void clear_has_join();
- inline void set_has_cap();
- inline void clear_has_cap();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- double width_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::DashDotProto* dashdot_;
+ ::PathSymProto* pathsym_;
+ double width_;
::google::protobuf::uint32 color_;
int join_;
- ::PathSymProto* pathsym_;
int cap_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static LineDefProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class AreaRuleProto : public ::google::protobuf::MessageLite {
+class AreaRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:AreaRuleProto) */ {
public:
AreaRuleProto();
virtual ~AreaRuleProto();
@@ -601,108 +568,90 @@ class AreaRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const AreaRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const AreaRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const AreaRuleProto*>(
+ &_AreaRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 4;
void Swap(AreaRuleProto* other);
// implements Message ----------------------------------------------
- AreaRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline AreaRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ AreaRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const AreaRuleProto& from);
void MergeFrom(const AreaRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(AreaRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required uint32 color = 1;
- inline bool has_color() const;
- inline void clear_color();
+ // .LineDefProto border = 2;
+ bool has_border() const;
+ void clear_border();
+ static const int kBorderFieldNumber = 2;
+ const ::LineDefProto& border() const;
+ ::LineDefProto* mutable_border();
+ ::LineDefProto* release_border();
+ void set_allocated_border(::LineDefProto* border);
+
+ // uint32 color = 1;
+ void clear_color();
static const int kColorFieldNumber = 1;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional .LineDefProto border = 2;
- inline bool has_border() const;
- inline void clear_border();
- static const int kBorderFieldNumber = 2;
- inline const ::LineDefProto& border() const;
- inline ::LineDefProto* mutable_border();
- inline ::LineDefProto* release_border();
- inline void set_allocated_border(::LineDefProto* border);
-
- // required int32 priority = 3;
- inline bool has_priority() const;
- inline void clear_priority();
+ // int32 priority = 3;
+ void clear_priority();
static const int kPriorityFieldNumber = 3;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:AreaRuleProto)
private:
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_border();
- inline void clear_has_border();
- inline void set_has_priority();
- inline void clear_has_priority();
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::LineDefProto* border_;
::google::protobuf::uint32 color_;
::google::protobuf::int32 priority_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static AreaRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class SymbolRuleProto : public ::google::protobuf::MessageLite {
+class SymbolRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:SymbolRuleProto) */ {
public:
SymbolRuleProto();
virtual ~SymbolRuleProto();
@@ -714,121 +663,102 @@ class SymbolRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const SymbolRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const SymbolRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const SymbolRuleProto*>(
+ &_SymbolRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 5;
void Swap(SymbolRuleProto* other);
// implements Message ----------------------------------------------
- SymbolRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline SymbolRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ SymbolRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const SymbolRuleProto& from);
void MergeFrom(const SymbolRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(SymbolRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required string name = 1;
- inline bool has_name() const;
- inline void clear_name();
+ // string name = 1;
+ void clear_name();
static const int kNameFieldNumber = 1;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const char* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
-
- // optional int32 apply_for_type = 2;
- inline bool has_apply_for_type() const;
- inline void clear_apply_for_type();
+ const ::std::string& name() const;
+ void set_name(const ::std::string& value);
+ #if LANG_CXX11
+ void set_name(::std::string&& value);
+ #endif
+ void set_name(const char* value);
+ void set_name(const char* value, size_t size);
+ ::std::string* mutable_name();
+ ::std::string* release_name();
+ void set_allocated_name(::std::string* name);
+
+ // int32 apply_for_type = 2;
+ void clear_apply_for_type();
static const int kApplyForTypeFieldNumber = 2;
- inline ::google::protobuf::int32 apply_for_type() const;
- inline void set_apply_for_type(::google::protobuf::int32 value);
+ ::google::protobuf::int32 apply_for_type() const;
+ void set_apply_for_type(::google::protobuf::int32 value);
- // required int32 priority = 3;
- inline bool has_priority() const;
- inline void clear_priority();
+ // int32 priority = 3;
+ void clear_priority();
static const int kPriorityFieldNumber = 3;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
- // optional int32 min_distance = 4;
- inline bool has_min_distance() const;
- inline void clear_min_distance();
+ // int32 min_distance = 4;
+ void clear_min_distance();
static const int kMinDistanceFieldNumber = 4;
- inline ::google::protobuf::int32 min_distance() const;
- inline void set_min_distance(::google::protobuf::int32 value);
+ ::google::protobuf::int32 min_distance() const;
+ void set_min_distance(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:SymbolRuleProto)
private:
- inline void set_has_name();
- inline void clear_has_name();
- inline void set_has_apply_for_type();
- inline void clear_has_apply_for_type();
- inline void set_has_priority();
- inline void clear_has_priority();
- inline void set_has_min_distance();
- inline void clear_has_min_distance();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
+ ::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::int32 apply_for_type_;
::google::protobuf::int32 priority_;
::google::protobuf::int32 min_distance_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static SymbolRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class CaptionDefProto : public ::google::protobuf::MessageLite {
+class CaptionDefProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:CaptionDefProto) */ {
public:
CaptionDefProto();
virtual ~CaptionDefProto();
@@ -840,151 +770,123 @@ class CaptionDefProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const CaptionDefProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const CaptionDefProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const CaptionDefProto*>(
+ &_CaptionDefProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 6;
void Swap(CaptionDefProto* other);
// implements Message ----------------------------------------------
- CaptionDefProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline CaptionDefProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ CaptionDefProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const CaptionDefProto& from);
void MergeFrom(const CaptionDefProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(CaptionDefProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required int32 height = 1;
- inline bool has_height() const;
- inline void clear_height();
+ // string text = 6;
+ void clear_text();
+ static const int kTextFieldNumber = 6;
+ const ::std::string& text() const;
+ void set_text(const ::std::string& value);
+ #if LANG_CXX11
+ void set_text(::std::string&& value);
+ #endif
+ void set_text(const char* value);
+ void set_text(const char* value, size_t size);
+ ::std::string* mutable_text();
+ ::std::string* release_text();
+ void set_allocated_text(::std::string* text);
+
+ // int32 height = 1;
+ void clear_height();
static const int kHeightFieldNumber = 1;
- inline ::google::protobuf::int32 height() const;
- inline void set_height(::google::protobuf::int32 value);
+ ::google::protobuf::int32 height() const;
+ void set_height(::google::protobuf::int32 value);
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional uint32 stroke_color = 3;
- inline bool has_stroke_color() const;
- inline void clear_stroke_color();
+ // uint32 stroke_color = 3;
+ void clear_stroke_color();
static const int kStrokeColorFieldNumber = 3;
- inline ::google::protobuf::uint32 stroke_color() const;
- inline void set_stroke_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 stroke_color() const;
+ void set_stroke_color(::google::protobuf::uint32 value);
- // optional int32 offset_x = 4;
- inline bool has_offset_x() const;
- inline void clear_offset_x();
+ // int32 offset_x = 4;
+ void clear_offset_x();
static const int kOffsetXFieldNumber = 4;
- inline ::google::protobuf::int32 offset_x() const;
- inline void set_offset_x(::google::protobuf::int32 value);
+ ::google::protobuf::int32 offset_x() const;
+ void set_offset_x(::google::protobuf::int32 value);
- // optional int32 offset_y = 5;
- inline bool has_offset_y() const;
- inline void clear_offset_y();
+ // int32 offset_y = 5;
+ void clear_offset_y();
static const int kOffsetYFieldNumber = 5;
- inline ::google::protobuf::int32 offset_y() const;
- inline void set_offset_y(::google::protobuf::int32 value);
+ ::google::protobuf::int32 offset_y() const;
+ void set_offset_y(::google::protobuf::int32 value);
- // optional string text = 6;
- inline bool has_text() const;
- inline void clear_text();
- static const int kTextFieldNumber = 6;
- inline const ::std::string& text() const;
- inline void set_text(const ::std::string& value);
- inline void set_text(const char* value);
- inline void set_text(const char* value, size_t size);
- inline ::std::string* mutable_text();
- inline ::std::string* release_text();
- inline void set_allocated_text(::std::string* text);
-
- // optional bool is_optional = 7;
- inline bool has_is_optional() const;
- inline void clear_is_optional();
+ // bool is_optional = 7;
+ void clear_is_optional();
static const int kIsOptionalFieldNumber = 7;
- inline bool is_optional() const;
- inline void set_is_optional(bool value);
+ bool is_optional() const;
+ void set_is_optional(bool value);
// @@protoc_insertion_point(class_scope:CaptionDefProto)
private:
- inline void set_has_height();
- inline void clear_has_height();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_stroke_color();
- inline void clear_has_stroke_color();
- inline void set_has_offset_x();
- inline void clear_has_offset_x();
- inline void set_has_offset_y();
- inline void clear_has_offset_y();
- inline void set_has_text();
- inline void clear_has_text();
- inline void set_has_is_optional();
- inline void clear_has_is_optional();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
+ ::google::protobuf::internal::ArenaStringPtr text_;
::google::protobuf::int32 height_;
::google::protobuf::uint32 color_;
::google::protobuf::uint32 stroke_color_;
::google::protobuf::int32 offset_x_;
- ::std::string* text_;
::google::protobuf::int32 offset_y_;
bool is_optional_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static CaptionDefProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class CaptionRuleProto : public ::google::protobuf::MessageLite {
+class CaptionRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:CaptionRuleProto) */ {
public:
CaptionRuleProto();
virtual ~CaptionRuleProto();
@@ -996,110 +898,93 @@ class CaptionRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const CaptionRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const CaptionRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const CaptionRuleProto*>(
+ &_CaptionRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 7;
void Swap(CaptionRuleProto* other);
// implements Message ----------------------------------------------
- CaptionRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline CaptionRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ CaptionRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const CaptionRuleProto& from);
void MergeFrom(const CaptionRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(CaptionRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required .CaptionDefProto primary = 1;
- inline bool has_primary() const;
- inline void clear_primary();
+ // .CaptionDefProto primary = 1;
+ bool has_primary() const;
+ void clear_primary();
static const int kPrimaryFieldNumber = 1;
- inline const ::CaptionDefProto& primary() const;
- inline ::CaptionDefProto* mutable_primary();
- inline ::CaptionDefProto* release_primary();
- inline void set_allocated_primary(::CaptionDefProto* primary);
-
- // optional .CaptionDefProto secondary = 2;
- inline bool has_secondary() const;
- inline void clear_secondary();
+ const ::CaptionDefProto& primary() const;
+ ::CaptionDefProto* mutable_primary();
+ ::CaptionDefProto* release_primary();
+ void set_allocated_primary(::CaptionDefProto* primary);
+
+ // .CaptionDefProto secondary = 2;
+ bool has_secondary() const;
+ void clear_secondary();
static const int kSecondaryFieldNumber = 2;
- inline const ::CaptionDefProto& secondary() const;
- inline ::CaptionDefProto* mutable_secondary();
- inline ::CaptionDefProto* release_secondary();
- inline void set_allocated_secondary(::CaptionDefProto* secondary);
-
- // required int32 priority = 3;
- inline bool has_priority() const;
- inline void clear_priority();
+ const ::CaptionDefProto& secondary() const;
+ ::CaptionDefProto* mutable_secondary();
+ ::CaptionDefProto* release_secondary();
+ void set_allocated_secondary(::CaptionDefProto* secondary);
+
+ // int32 priority = 3;
+ void clear_priority();
static const int kPriorityFieldNumber = 3;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CaptionRuleProto)
private:
- inline void set_has_primary();
- inline void clear_has_primary();
- inline void set_has_secondary();
- inline void clear_has_secondary();
- inline void set_has_priority();
- inline void clear_has_priority();
-
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::CaptionDefProto* primary_;
::CaptionDefProto* secondary_;
::google::protobuf::int32 priority_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static CaptionRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class CircleRuleProto : public ::google::protobuf::MessageLite {
+class CircleRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:CircleRuleProto) */ {
public:
CircleRuleProto();
virtual ~CircleRuleProto();
@@ -1111,118 +996,97 @@ class CircleRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const CircleRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const CircleRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const CircleRuleProto*>(
+ &_CircleRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 8;
void Swap(CircleRuleProto* other);
// implements Message ----------------------------------------------
- CircleRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline CircleRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ CircleRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const CircleRuleProto& from);
void MergeFrom(const CircleRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(CircleRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required double radius = 1;
- inline bool has_radius() const;
- inline void clear_radius();
+ // .LineDefProto border = 3;
+ bool has_border() const;
+ void clear_border();
+ static const int kBorderFieldNumber = 3;
+ const ::LineDefProto& border() const;
+ ::LineDefProto* mutable_border();
+ ::LineDefProto* release_border();
+ void set_allocated_border(::LineDefProto* border);
+
+ // double radius = 1;
+ void clear_radius();
static const int kRadiusFieldNumber = 1;
- inline double radius() const;
- inline void set_radius(double value);
+ double radius() const;
+ void set_radius(double value);
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional .LineDefProto border = 3;
- inline bool has_border() const;
- inline void clear_border();
- static const int kBorderFieldNumber = 3;
- inline const ::LineDefProto& border() const;
- inline ::LineDefProto* mutable_border();
- inline ::LineDefProto* release_border();
- inline void set_allocated_border(::LineDefProto* border);
-
- // required int32 priority = 4;
- inline bool has_priority() const;
- inline void clear_priority();
+ // int32 priority = 4;
+ void clear_priority();
static const int kPriorityFieldNumber = 4;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:CircleRuleProto)
private:
- inline void set_has_radius();
- inline void clear_has_radius();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_border();
- inline void clear_has_border();
- inline void set_has_priority();
- inline void clear_has_priority();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- double radius_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::LineDefProto* border_;
+ double radius_;
::google::protobuf::uint32 color_;
::google::protobuf::int32 priority_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static CircleRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class PathTextRuleProto : public ::google::protobuf::MessageLite {
+class PathTextRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:PathTextRuleProto) */ {
public:
PathTextRuleProto();
virtual ~PathTextRuleProto();
@@ -1234,110 +1098,93 @@ class PathTextRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const PathTextRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const PathTextRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const PathTextRuleProto*>(
+ &_PathTextRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 9;
void Swap(PathTextRuleProto* other);
// implements Message ----------------------------------------------
- PathTextRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline PathTextRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ PathTextRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const PathTextRuleProto& from);
void MergeFrom(const PathTextRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(PathTextRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required .CaptionDefProto primary = 1;
- inline bool has_primary() const;
- inline void clear_primary();
+ // .CaptionDefProto primary = 1;
+ bool has_primary() const;
+ void clear_primary();
static const int kPrimaryFieldNumber = 1;
- inline const ::CaptionDefProto& primary() const;
- inline ::CaptionDefProto* mutable_primary();
- inline ::CaptionDefProto* release_primary();
- inline void set_allocated_primary(::CaptionDefProto* primary);
-
- // optional .CaptionDefProto secondary = 2;
- inline bool has_secondary() const;
- inline void clear_secondary();
+ const ::CaptionDefProto& primary() const;
+ ::CaptionDefProto* mutable_primary();
+ ::CaptionDefProto* release_primary();
+ void set_allocated_primary(::CaptionDefProto* primary);
+
+ // .CaptionDefProto secondary = 2;
+ bool has_secondary() const;
+ void clear_secondary();
static const int kSecondaryFieldNumber = 2;
- inline const ::CaptionDefProto& secondary() const;
- inline ::CaptionDefProto* mutable_secondary();
- inline ::CaptionDefProto* release_secondary();
- inline void set_allocated_secondary(::CaptionDefProto* secondary);
-
- // required int32 priority = 3;
- inline bool has_priority() const;
- inline void clear_priority();
+ const ::CaptionDefProto& secondary() const;
+ ::CaptionDefProto* mutable_secondary();
+ ::CaptionDefProto* release_secondary();
+ void set_allocated_secondary(::CaptionDefProto* secondary);
+
+ // int32 priority = 3;
+ void clear_priority();
static const int kPriorityFieldNumber = 3;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:PathTextRuleProto)
private:
- inline void set_has_primary();
- inline void clear_has_primary();
- inline void set_has_secondary();
- inline void clear_has_secondary();
- inline void set_has_priority();
- inline void clear_has_priority();
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::CaptionDefProto* primary_;
::CaptionDefProto* secondary_;
::google::protobuf::int32 priority_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static PathTextRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class ShieldRuleProto : public ::google::protobuf::MessageLite {
+class ShieldRuleProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:ShieldRuleProto) */ {
public:
ShieldRuleProto();
virtual ~ShieldRuleProto();
@@ -1349,125 +1196,102 @@ class ShieldRuleProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const ShieldRuleProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const ShieldRuleProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const ShieldRuleProto*>(
+ &_ShieldRuleProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 10;
void Swap(ShieldRuleProto* other);
// implements Message ----------------------------------------------
- ShieldRuleProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline ShieldRuleProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ ShieldRuleProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const ShieldRuleProto& from);
void MergeFrom(const ShieldRuleProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(ShieldRuleProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required int32 height = 1;
- inline bool has_height() const;
- inline void clear_height();
+ // int32 height = 1;
+ void clear_height();
static const int kHeightFieldNumber = 1;
- inline ::google::protobuf::int32 height() const;
- inline void set_height(::google::protobuf::int32 value);
+ ::google::protobuf::int32 height() const;
+ void set_height(::google::protobuf::int32 value);
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional uint32 stroke_color = 3;
- inline bool has_stroke_color() const;
- inline void clear_stroke_color();
+ // uint32 stroke_color = 3;
+ void clear_stroke_color();
static const int kStrokeColorFieldNumber = 3;
- inline ::google::protobuf::uint32 stroke_color() const;
- inline void set_stroke_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 stroke_color() const;
+ void set_stroke_color(::google::protobuf::uint32 value);
- // required int32 priority = 4;
- inline bool has_priority() const;
- inline void clear_priority();
+ // int32 priority = 4;
+ void clear_priority();
static const int kPriorityFieldNumber = 4;
- inline ::google::protobuf::int32 priority() const;
- inline void set_priority(::google::protobuf::int32 value);
+ ::google::protobuf::int32 priority() const;
+ void set_priority(::google::protobuf::int32 value);
- // optional int32 min_distance = 5;
- inline bool has_min_distance() const;
- inline void clear_min_distance();
+ // int32 min_distance = 5;
+ void clear_min_distance();
static const int kMinDistanceFieldNumber = 5;
- inline ::google::protobuf::int32 min_distance() const;
- inline void set_min_distance(::google::protobuf::int32 value);
+ ::google::protobuf::int32 min_distance() const;
+ void set_min_distance(::google::protobuf::int32 value);
- // required uint32 text_color = 6;
- inline bool has_text_color() const;
- inline void clear_text_color();
+ // uint32 text_color = 6;
+ void clear_text_color();
static const int kTextColorFieldNumber = 6;
- inline ::google::protobuf::uint32 text_color() const;
- inline void set_text_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 text_color() const;
+ void set_text_color(::google::protobuf::uint32 value);
- // optional uint32 text_stroke_color = 7;
- inline bool has_text_stroke_color() const;
- inline void clear_text_stroke_color();
+ // uint32 text_stroke_color = 7;
+ void clear_text_stroke_color();
static const int kTextStrokeColorFieldNumber = 7;
- inline ::google::protobuf::uint32 text_stroke_color() const;
- inline void set_text_stroke_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 text_stroke_color() const;
+ void set_text_stroke_color(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:ShieldRuleProto)
private:
- inline void set_has_height();
- inline void clear_has_height();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_stroke_color();
- inline void clear_has_stroke_color();
- inline void set_has_priority();
- inline void clear_has_priority();
- inline void set_has_min_distance();
- inline void clear_has_min_distance();
- inline void set_has_text_color();
- inline void clear_has_text_color();
- inline void set_has_text_stroke_color();
- inline void clear_has_text_stroke_color();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::int32 height_;
::google::protobuf::uint32 color_;
::google::protobuf::uint32 stroke_color_;
@@ -1475,20 +1299,12 @@ class ShieldRuleProto : public ::google::protobuf::MessageLite {
::google::protobuf::int32 min_distance_;
::google::protobuf::uint32 text_color_;
::google::protobuf::uint32 text_stroke_color_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static ShieldRuleProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class DrawElementProto : public ::google::protobuf::MessageLite {
+class DrawElementProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:DrawElementProto) */ {
public:
DrawElementProto();
virtual ~DrawElementProto();
@@ -1500,188 +1316,169 @@ class DrawElementProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const DrawElementProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const DrawElementProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const DrawElementProto*>(
+ &_DrawElementProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 11;
void Swap(DrawElementProto* other);
// implements Message ----------------------------------------------
- DrawElementProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline DrawElementProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ DrawElementProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const DrawElementProto& from);
void MergeFrom(const DrawElementProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(DrawElementProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required int32 scale = 1;
- inline bool has_scale() const;
- inline void clear_scale();
- static const int kScaleFieldNumber = 1;
- inline ::google::protobuf::int32 scale() const;
- inline void set_scale(::google::protobuf::int32 value);
-
// repeated .LineRuleProto lines = 2;
- inline int lines_size() const;
- inline void clear_lines();
+ int lines_size() const;
+ void clear_lines();
static const int kLinesFieldNumber = 2;
- inline const ::LineRuleProto& lines(int index) const;
- inline ::LineRuleProto* mutable_lines(int index);
- inline ::LineRuleProto* add_lines();
- inline const ::google::protobuf::RepeatedPtrField< ::LineRuleProto >&
- lines() const;
- inline ::google::protobuf::RepeatedPtrField< ::LineRuleProto >*
+ const ::LineRuleProto& lines(int index) const;
+ ::LineRuleProto* mutable_lines(int index);
+ ::LineRuleProto* add_lines();
+ ::google::protobuf::RepeatedPtrField< ::LineRuleProto >*
mutable_lines();
+ const ::google::protobuf::RepeatedPtrField< ::LineRuleProto >&
+ lines() const;
- // optional .AreaRuleProto area = 3;
- inline bool has_area() const;
- inline void clear_area();
+ // repeated string apply_if = 9;
+ int apply_if_size() const;
+ void clear_apply_if();
+ static const int kApplyIfFieldNumber = 9;
+ const ::std::string& apply_if(int index) const;
+ ::std::string* mutable_apply_if(int index);
+ void set_apply_if(int index, const ::std::string& value);
+ #if LANG_CXX11
+ void set_apply_if(int index, ::std::string&& value);
+ #endif
+ void set_apply_if(int index, const char* value);
+ void set_apply_if(int index, const char* value, size_t size);
+ ::std::string* add_apply_if();
+ void add_apply_if(const ::std::string& value);
+ #if LANG_CXX11
+ void add_apply_if(::std::string&& value);
+ #endif
+ void add_apply_if(const char* value);
+ void add_apply_if(const char* value, size_t size);
+ const ::google::protobuf::RepeatedPtrField< ::std::string>& apply_if() const;
+ ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_apply_if();
+
+ // .AreaRuleProto area = 3;
+ bool has_area() const;
+ void clear_area();
static const int kAreaFieldNumber = 3;
- inline const ::AreaRuleProto& area() const;
- inline ::AreaRuleProto* mutable_area();
- inline ::AreaRuleProto* release_area();
- inline void set_allocated_area(::AreaRuleProto* area);
-
- // optional .SymbolRuleProto symbol = 4;
- inline bool has_symbol() const;
- inline void clear_symbol();
+ const ::AreaRuleProto& area() const;
+ ::AreaRuleProto* mutable_area();
+ ::AreaRuleProto* release_area();
+ void set_allocated_area(::AreaRuleProto* area);
+
+ // .SymbolRuleProto symbol = 4;
+ bool has_symbol() const;
+ void clear_symbol();
static const int kSymbolFieldNumber = 4;
- inline const ::SymbolRuleProto& symbol() const;
- inline ::SymbolRuleProto* mutable_symbol();
- inline ::SymbolRuleProto* release_symbol();
- inline void set_allocated_symbol(::SymbolRuleProto* symbol);
-
- // optional .CaptionRuleProto caption = 5;
- inline bool has_caption() const;
- inline void clear_caption();
+ const ::SymbolRuleProto& symbol() const;
+ ::SymbolRuleProto* mutable_symbol();
+ ::SymbolRuleProto* release_symbol();
+ void set_allocated_symbol(::SymbolRuleProto* symbol);
+
+ // .CaptionRuleProto caption = 5;
+ bool has_caption() const;
+ void clear_caption();
static const int kCaptionFieldNumber = 5;
- inline const ::CaptionRuleProto& caption() const;
- inline ::CaptionRuleProto* mutable_caption();
- inline ::CaptionRuleProto* release_caption();
- inline void set_allocated_caption(::CaptionRuleProto* caption);
-
- // optional .CircleRuleProto circle = 6;
- inline bool has_circle() const;
- inline void clear_circle();
+ const ::CaptionRuleProto& caption() const;
+ ::CaptionRuleProto* mutable_caption();
+ ::CaptionRuleProto* release_caption();
+ void set_allocated_caption(::CaptionRuleProto* caption);
+
+ // .CircleRuleProto circle = 6;
+ bool has_circle() const;
+ void clear_circle();
static const int kCircleFieldNumber = 6;
- inline const ::CircleRuleProto& circle() const;
- inline ::CircleRuleProto* mutable_circle();
- inline ::CircleRuleProto* release_circle();
- inline void set_allocated_circle(::CircleRuleProto* circle);
-
- // optional .PathTextRuleProto path_text = 7;
- inline bool has_path_text() const;
- inline void clear_path_text();
+ const ::CircleRuleProto& circle() const;
+ ::CircleRuleProto* mutable_circle();
+ ::CircleRuleProto* release_circle();
+ void set_allocated_circle(::CircleRuleProto* circle);
+
+ // .PathTextRuleProto path_text = 7;
+ bool has_path_text() const;
+ void clear_path_text();
static const int kPathTextFieldNumber = 7;
- inline const ::PathTextRuleProto& path_text() const;
- inline ::PathTextRuleProto* mutable_path_text();
- inline ::PathTextRuleProto* release_path_text();
- inline void set_allocated_path_text(::PathTextRuleProto* path_text);
-
- // optional .ShieldRuleProto shield = 8;
- inline bool has_shield() const;
- inline void clear_shield();
+ const ::PathTextRuleProto& path_text() const;
+ ::PathTextRuleProto* mutable_path_text();
+ ::PathTextRuleProto* release_path_text();
+ void set_allocated_path_text(::PathTextRuleProto* path_text);
+
+ // .ShieldRuleProto shield = 8;
+ bool has_shield() const;
+ void clear_shield();
static const int kShieldFieldNumber = 8;
- inline const ::ShieldRuleProto& shield() const;
- inline ::ShieldRuleProto* mutable_shield();
- inline ::ShieldRuleProto* release_shield();
- inline void set_allocated_shield(::ShieldRuleProto* shield);
+ const ::ShieldRuleProto& shield() const;
+ ::ShieldRuleProto* mutable_shield();
+ ::ShieldRuleProto* release_shield();
+ void set_allocated_shield(::ShieldRuleProto* shield);
- // repeated string apply_if = 9;
- inline int apply_if_size() const;
- inline void clear_apply_if();
- static const int kApplyIfFieldNumber = 9;
- inline const ::std::string& apply_if(int index) const;
- inline ::std::string* mutable_apply_if(int index);
- inline void set_apply_if(int index, const ::std::string& value);
- inline void set_apply_if(int index, const char* value);
- inline void set_apply_if(int index, const char* value, size_t size);
- inline ::std::string* add_apply_if();
- inline void add_apply_if(const ::std::string& value);
- inline void add_apply_if(const char* value);
- inline void add_apply_if(const char* value, size_t size);
- inline const ::google::protobuf::RepeatedPtrField< ::std::string>& apply_if() const;
- inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_apply_if();
+ // int32 scale = 1;
+ void clear_scale();
+ static const int kScaleFieldNumber = 1;
+ ::google::protobuf::int32 scale() const;
+ void set_scale(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:DrawElementProto)
private:
- inline void set_has_scale();
- inline void clear_has_scale();
- inline void set_has_area();
- inline void clear_has_area();
- inline void set_has_symbol();
- inline void clear_has_symbol();
- inline void set_has_caption();
- inline void clear_has_caption();
- inline void set_has_circle();
- inline void clear_has_circle();
- inline void set_has_path_text();
- inline void clear_has_path_text();
- inline void set_has_shield();
- inline void clear_has_shield();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::RepeatedPtrField< ::LineRuleProto > lines_;
+ ::google::protobuf::RepeatedPtrField< ::std::string> apply_if_;
::AreaRuleProto* area_;
::SymbolRuleProto* symbol_;
::CaptionRuleProto* caption_;
::CircleRuleProto* circle_;
::PathTextRuleProto* path_text_;
::ShieldRuleProto* shield_;
- ::google::protobuf::RepeatedPtrField< ::std::string> apply_if_;
::google::protobuf::int32 scale_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static DrawElementProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class ClassifElementProto : public ::google::protobuf::MessageLite {
+class ClassifElementProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:ClassifElementProto) */ {
public:
ClassifElementProto();
virtual ~ClassifElementProto();
@@ -1693,104 +1490,94 @@ class ClassifElementProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const ClassifElementProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const ClassifElementProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const ClassifElementProto*>(
+ &_ClassifElementProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 12;
void Swap(ClassifElementProto* other);
// implements Message ----------------------------------------------
- ClassifElementProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline ClassifElementProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ ClassifElementProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const ClassifElementProto& from);
void MergeFrom(const ClassifElementProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(ClassifElementProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required string name = 1;
- inline bool has_name() const;
- inline void clear_name();
- static const int kNameFieldNumber = 1;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const char* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
-
// repeated .DrawElementProto element = 2;
- inline int element_size() const;
- inline void clear_element();
+ int element_size() const;
+ void clear_element();
static const int kElementFieldNumber = 2;
- inline const ::DrawElementProto& element(int index) const;
- inline ::DrawElementProto* mutable_element(int index);
- inline ::DrawElementProto* add_element();
- inline const ::google::protobuf::RepeatedPtrField< ::DrawElementProto >&
- element() const;
- inline ::google::protobuf::RepeatedPtrField< ::DrawElementProto >*
+ const ::DrawElementProto& element(int index) const;
+ ::DrawElementProto* mutable_element(int index);
+ ::DrawElementProto* add_element();
+ ::google::protobuf::RepeatedPtrField< ::DrawElementProto >*
mutable_element();
+ const ::google::protobuf::RepeatedPtrField< ::DrawElementProto >&
+ element() const;
+
+ // string name = 1;
+ void clear_name();
+ static const int kNameFieldNumber = 1;
+ const ::std::string& name() const;
+ void set_name(const ::std::string& value);
+ #if LANG_CXX11
+ void set_name(::std::string&& value);
+ #endif
+ void set_name(const char* value);
+ void set_name(const char* value, size_t size);
+ ::std::string* mutable_name();
+ ::std::string* release_name();
+ void set_allocated_name(::std::string* name);
// @@protoc_insertion_point(class_scope:ClassifElementProto)
private:
- inline void set_has_name();
- inline void clear_has_name();
-
- ::std::string _unknown_fields_;
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::RepeatedPtrField< ::DrawElementProto > element_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static ClassifElementProto* default_instance_;
+ ::google::protobuf::internal::ArenaStringPtr name_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class ColorElementProto : public ::google::protobuf::MessageLite {
+class ColorElementProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:ColorElementProto) */ {
public:
ColorElementProto();
virtual ~ColorElementProto();
@@ -1802,121 +1589,102 @@ class ColorElementProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const ColorElementProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const ColorElementProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const ColorElementProto*>(
+ &_ColorElementProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 13;
void Swap(ColorElementProto* other);
// implements Message ----------------------------------------------
- ColorElementProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline ColorElementProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ ColorElementProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const ColorElementProto& from);
void MergeFrom(const ColorElementProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(ColorElementProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
- // required string name = 1;
- inline bool has_name() const;
- inline void clear_name();
+ // string name = 1;
+ void clear_name();
static const int kNameFieldNumber = 1;
- inline const ::std::string& name() const;
- inline void set_name(const ::std::string& value);
- inline void set_name(const char* value);
- inline void set_name(const char* value, size_t size);
- inline ::std::string* mutable_name();
- inline ::std::string* release_name();
- inline void set_allocated_name(::std::string* name);
-
- // required uint32 color = 2;
- inline bool has_color() const;
- inline void clear_color();
+ const ::std::string& name() const;
+ void set_name(const ::std::string& value);
+ #if LANG_CXX11
+ void set_name(::std::string&& value);
+ #endif
+ void set_name(const char* value);
+ void set_name(const char* value, size_t size);
+ ::std::string* mutable_name();
+ ::std::string* release_name();
+ void set_allocated_name(::std::string* name);
+
+ // uint32 color = 2;
+ void clear_color();
static const int kColorFieldNumber = 2;
- inline ::google::protobuf::uint32 color() const;
- inline void set_color(::google::protobuf::uint32 value);
+ ::google::protobuf::uint32 color() const;
+ void set_color(::google::protobuf::uint32 value);
- // optional float x = 3;
- inline bool has_x() const;
- inline void clear_x();
+ // float x = 3;
+ void clear_x();
static const int kXFieldNumber = 3;
- inline float x() const;
- inline void set_x(float value);
+ float x() const;
+ void set_x(float value);
- // optional float y = 4;
- inline bool has_y() const;
- inline void clear_y();
+ // float y = 4;
+ void clear_y();
static const int kYFieldNumber = 4;
- inline float y() const;
- inline void set_y(float value);
+ float y() const;
+ void set_y(float value);
// @@protoc_insertion_point(class_scope:ColorElementProto)
private:
- inline void set_has_name();
- inline void clear_has_name();
- inline void set_has_color();
- inline void clear_has_color();
- inline void set_has_x();
- inline void clear_has_x();
- inline void set_has_y();
- inline void clear_has_y();
-
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
- ::std::string* name_;
+
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
+ ::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::uint32 color_;
float x_;
float y_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static ColorElementProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class ColorsElementProto : public ::google::protobuf::MessageLite {
+class ColorsElementProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:ColorsElementProto) */ {
public:
ColorsElementProto();
virtual ~ColorsElementProto();
@@ -1928,89 +1696,79 @@ class ColorsElementProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const ColorsElementProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const ColorsElementProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const ColorsElementProto*>(
+ &_ColorsElementProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 14;
void Swap(ColorsElementProto* other);
// implements Message ----------------------------------------------
- ColorsElementProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline ColorsElementProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ ColorsElementProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const ColorsElementProto& from);
void MergeFrom(const ColorsElementProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(ColorsElementProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .ColorElementProto value = 1;
- inline int value_size() const;
- inline void clear_value();
+ int value_size() const;
+ void clear_value();
static const int kValueFieldNumber = 1;
- inline const ::ColorElementProto& value(int index) const;
- inline ::ColorElementProto* mutable_value(int index);
- inline ::ColorElementProto* add_value();
- inline const ::google::protobuf::RepeatedPtrField< ::ColorElementProto >&
- value() const;
- inline ::google::protobuf::RepeatedPtrField< ::ColorElementProto >*
+ const ::ColorElementProto& value(int index) const;
+ ::ColorElementProto* mutable_value(int index);
+ ::ColorElementProto* add_value();
+ ::google::protobuf::RepeatedPtrField< ::ColorElementProto >*
mutable_value();
+ const ::google::protobuf::RepeatedPtrField< ::ColorElementProto >&
+ value() const;
// @@protoc_insertion_point(class_scope:ColorsElementProto)
private:
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::RepeatedPtrField< ::ColorElementProto > value_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static ColorsElementProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// -------------------------------------------------------------------
-class ContainerProto : public ::google::protobuf::MessageLite {
+class ContainerProto : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:ContainerProto) */ {
public:
ContainerProto();
virtual ~ContainerProto();
@@ -2022,103 +1780,92 @@ class ContainerProto : public ::google::protobuf::MessageLite {
return *this;
}
- inline const ::std::string& unknown_fields() const {
- return _unknown_fields_;
- }
-
- inline ::std::string* mutable_unknown_fields() {
- return &_unknown_fields_;
- }
-
static const ContainerProto& default_instance();
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- // Returns the internal default instance pointer. This function can
- // return NULL thus should not be used by the user. This is intended
- // for Protobuf internal code. Please use default_instance() declared
- // above instead.
static inline const ContainerProto* internal_default_instance() {
- return default_instance_;
+ return reinterpret_cast<const ContainerProto*>(
+ &_ContainerProto_default_instance_);
}
- #endif
+ static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
+ 15;
void Swap(ContainerProto* other);
// implements Message ----------------------------------------------
- ContainerProto* New() const;
- void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
+ inline ContainerProto* New() const PROTOBUF_FINAL { return New(NULL); }
+
+ ContainerProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
+ void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
+ PROTOBUF_FINAL;
void CopyFrom(const ContainerProto& from);
void MergeFrom(const ContainerProto& from);
- void Clear();
- bool IsInitialized() const;
+ void Clear() PROTOBUF_FINAL;
+ bool IsInitialized() const PROTOBUF_FINAL;
- int ByteSize() const;
+ size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input);
+ ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const;
+ ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
void DiscardUnknownFields();
- int GetCachedSize() const { return _cached_size_; }
+ int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
+ void InternalSwap(ContainerProto* other);
+ private:
+ inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
+ return NULL;
+ }
+ inline void* MaybeArenaPtr() const {
+ return NULL;
+ }
public:
- ::std::string GetTypeName() const;
+
+ ::std::string GetTypeName() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .ClassifElementProto cont = 1;
- inline int cont_size() const;
- inline void clear_cont();
+ int cont_size() const;
+ void clear_cont();
static const int kContFieldNumber = 1;
- inline const ::ClassifElementProto& cont(int index) const;
- inline ::ClassifElementProto* mutable_cont(int index);
- inline ::ClassifElementProto* add_cont();
- inline const ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >&
- cont() const;
- inline ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >*
+ const ::ClassifElementProto& cont(int index) const;
+ ::ClassifElementProto* mutable_cont(int index);
+ ::ClassifElementProto* add_cont();
+ ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >*
mutable_cont();
+ const ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >&
+ cont() const;
- // optional .ColorsElementProto colors = 2;
- inline bool has_colors() const;
- inline void clear_colors();
+ // .ColorsElementProto colors = 2;
+ bool has_colors() const;
+ void clear_colors();
static const int kColorsFieldNumber = 2;
- inline const ::ColorsElementProto& colors() const;
- inline ::ColorsElementProto* mutable_colors();
- inline ::ColorsElementProto* release_colors();
- inline void set_allocated_colors(::ColorsElementProto* colors);
+ const ::ColorsElementProto& colors() const;
+ ::ColorsElementProto* mutable_colors();
+ ::ColorsElementProto* release_colors();
+ void set_allocated_colors(::ColorsElementProto* colors);
// @@protoc_insertion_point(class_scope:ContainerProto)
private:
- inline void set_has_colors();
- inline void clear_has_colors();
- ::std::string _unknown_fields_;
-
- ::google::protobuf::uint32 _has_bits_[1];
- mutable int _cached_size_;
+ ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
::google::protobuf::RepeatedPtrField< ::ClassifElementProto > cont_;
::ColorsElementProto* colors_;
- #ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- friend void protobuf_AddDesc_drules_5fstruct_2eproto_impl();
- #else
- friend void protobuf_AddDesc_drules_5fstruct_2eproto();
- #endif
- friend void protobuf_AssignDesc_drules_5fstruct_2eproto();
- friend void protobuf_ShutdownFile_drules_5fstruct_2eproto();
-
- void InitAsDefaultInstance();
- static ContainerProto* default_instance_;
+ mutable int _cached_size_;
+ friend struct protobuf_indexer_2fdrules_5fstruct_2eproto::TableStruct;
};
// ===================================================================
// ===================================================================
+#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// DashDotProto
// repeated double dd = 1;
@@ -2151,26 +1898,16 @@ DashDotProto::mutable_dd() {
return &dd_;
}
-// optional double offset = 2;
-inline bool DashDotProto::has_offset() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void DashDotProto::set_has_offset() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void DashDotProto::clear_has_offset() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// double offset = 2;
inline void DashDotProto::clear_offset() {
offset_ = 0;
- clear_has_offset();
}
inline double DashDotProto::offset() const {
// @@protoc_insertion_point(field_get:DashDotProto.offset)
return offset_;
}
inline void DashDotProto::set_offset(double value) {
- set_has_offset();
+
offset_ = value;
// @@protoc_insertion_point(field_set:DashDotProto.offset)
}
@@ -2179,126 +1916,83 @@ inline void DashDotProto::set_offset(double value) {
// PathSymProto
-// required string name = 1;
-inline bool PathSymProto::has_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void PathSymProto::set_has_name() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void PathSymProto::clear_has_name() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// string name = 1;
inline void PathSymProto::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
+ name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& PathSymProto::name() const {
// @@protoc_insertion_point(field_get:PathSymProto.name)
- return *name_;
+ return name_.GetNoArena();
}
inline void PathSymProto::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:PathSymProto.name)
}
+#if LANG_CXX11
+inline void PathSymProto::set_name(::std::string&& value) {
+
+ name_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:PathSymProto.name)
+}
+#endif
inline void PathSymProto::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+ GOOGLE_DCHECK(value != NULL);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:PathSymProto.name)
}
inline void PathSymProto::set_name(const char* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:PathSymProto.name)
}
inline ::std::string* PathSymProto::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
+
// @@protoc_insertion_point(field_mutable:PathSymProto.name)
- return name_;
+ return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PathSymProto::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
+ // @@protoc_insertion_point(field_release:PathSymProto.name)
+
+ return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PathSymProto::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
+ if (name != NULL) {
+
} else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+
}
+ name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
// @@protoc_insertion_point(field_set_allocated:PathSymProto.name)
}
-// required double step = 2;
-inline bool PathSymProto::has_step() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void PathSymProto::set_has_step() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void PathSymProto::clear_has_step() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// double step = 2;
inline void PathSymProto::clear_step() {
step_ = 0;
- clear_has_step();
}
inline double PathSymProto::step() const {
// @@protoc_insertion_point(field_get:PathSymProto.step)
return step_;
}
inline void PathSymProto::set_step(double value) {
- set_has_step();
+
step_ = value;
// @@protoc_insertion_point(field_set:PathSymProto.step)
}
-// optional double offset = 3;
-inline bool PathSymProto::has_offset() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void PathSymProto::set_has_offset() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void PathSymProto::clear_has_offset() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// double offset = 3;
inline void PathSymProto::clear_offset() {
offset_ = 0;
- clear_has_offset();
}
inline double PathSymProto::offset() const {
// @@protoc_insertion_point(field_get:PathSymProto.offset)
return offset_;
}
inline void PathSymProto::set_offset(double value) {
- set_has_offset();
+
offset_ = value;
// @@protoc_insertion_point(field_set:PathSymProto.offset)
}
@@ -2307,84 +2001,58 @@ inline void PathSymProto::set_offset(double value) {
// LineRuleProto
-// required double width = 1;
-inline bool LineRuleProto::has_width() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void LineRuleProto::set_has_width() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void LineRuleProto::clear_has_width() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// double width = 1;
inline void LineRuleProto::clear_width() {
width_ = 0;
- clear_has_width();
}
inline double LineRuleProto::width() const {
// @@protoc_insertion_point(field_get:LineRuleProto.width)
return width_;
}
inline void LineRuleProto::set_width(double value) {
- set_has_width();
+
width_ = value;
// @@protoc_insertion_point(field_set:LineRuleProto.width)
}
-// required uint32 color = 2;
-inline bool LineRuleProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void LineRuleProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void LineRuleProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void LineRuleProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 LineRuleProto::color() const {
// @@protoc_insertion_point(field_get:LineRuleProto.color)
return color_;
}
inline void LineRuleProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:LineRuleProto.color)
}
-// optional .DashDotProto dashdot = 3;
+// .DashDotProto dashdot = 3;
inline bool LineRuleProto::has_dashdot() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void LineRuleProto::set_has_dashdot() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void LineRuleProto::clear_has_dashdot() {
- _has_bits_[0] &= ~0x00000004u;
+ return this != internal_default_instance() && dashdot_ != NULL;
}
inline void LineRuleProto::clear_dashdot() {
- if (dashdot_ != NULL) dashdot_->::DashDotProto::Clear();
- clear_has_dashdot();
+ if (GetArenaNoVirtual() == NULL && dashdot_ != NULL) delete dashdot_;
+ dashdot_ = NULL;
}
inline const ::DashDotProto& LineRuleProto::dashdot() const {
// @@protoc_insertion_point(field_get:LineRuleProto.dashdot)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return dashdot_ != NULL ? *dashdot_ : *default_instance().dashdot_;
-#else
- return dashdot_ != NULL ? *dashdot_ : *default_instance_->dashdot_;
-#endif
+ return dashdot_ != NULL ? *dashdot_
+ : *::DashDotProto::internal_default_instance();
}
inline ::DashDotProto* LineRuleProto::mutable_dashdot() {
- set_has_dashdot();
- if (dashdot_ == NULL) dashdot_ = new ::DashDotProto;
+
+ if (dashdot_ == NULL) {
+ dashdot_ = new ::DashDotProto;
+ }
// @@protoc_insertion_point(field_mutable:LineRuleProto.dashdot)
return dashdot_;
}
inline ::DashDotProto* LineRuleProto::release_dashdot() {
- clear_has_dashdot();
+ // @@protoc_insertion_point(field_release:LineRuleProto.dashdot)
+
::DashDotProto* temp = dashdot_;
dashdot_ = NULL;
return temp;
@@ -2393,67 +2061,51 @@ inline void LineRuleProto::set_allocated_dashdot(::DashDotProto* dashdot) {
delete dashdot_;
dashdot_ = dashdot;
if (dashdot) {
- set_has_dashdot();
+
} else {
- clear_has_dashdot();
+
}
// @@protoc_insertion_point(field_set_allocated:LineRuleProto.dashdot)
}
-// required int32 priority = 4;
-inline bool LineRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void LineRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void LineRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// int32 priority = 4;
inline void LineRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 LineRuleProto::priority() const {
// @@protoc_insertion_point(field_get:LineRuleProto.priority)
return priority_;
}
inline void LineRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:LineRuleProto.priority)
}
-// optional .PathSymProto pathsym = 5;
+// .PathSymProto pathsym = 5;
inline bool LineRuleProto::has_pathsym() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void LineRuleProto::set_has_pathsym() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void LineRuleProto::clear_has_pathsym() {
- _has_bits_[0] &= ~0x00000010u;
+ return this != internal_default_instance() && pathsym_ != NULL;
}
inline void LineRuleProto::clear_pathsym() {
- if (pathsym_ != NULL) pathsym_->::PathSymProto::Clear();
- clear_has_pathsym();
+ if (GetArenaNoVirtual() == NULL && pathsym_ != NULL) delete pathsym_;
+ pathsym_ = NULL;
}
inline const ::PathSymProto& LineRuleProto::pathsym() const {
// @@protoc_insertion_point(field_get:LineRuleProto.pathsym)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return pathsym_ != NULL ? *pathsym_ : *default_instance().pathsym_;
-#else
- return pathsym_ != NULL ? *pathsym_ : *default_instance_->pathsym_;
-#endif
+ return pathsym_ != NULL ? *pathsym_
+ : *::PathSymProto::internal_default_instance();
}
inline ::PathSymProto* LineRuleProto::mutable_pathsym() {
- set_has_pathsym();
- if (pathsym_ == NULL) pathsym_ = new ::PathSymProto;
+
+ if (pathsym_ == NULL) {
+ pathsym_ = new ::PathSymProto;
+ }
// @@protoc_insertion_point(field_mutable:LineRuleProto.pathsym)
return pathsym_;
}
inline ::PathSymProto* LineRuleProto::release_pathsym() {
- clear_has_pathsym();
+ // @@protoc_insertion_point(field_release:LineRuleProto.pathsym)
+
::PathSymProto* temp = pathsym_;
pathsym_ = NULL;
return temp;
@@ -2462,59 +2114,37 @@ inline void LineRuleProto::set_allocated_pathsym(::PathSymProto* pathsym) {
delete pathsym_;
pathsym_ = pathsym;
if (pathsym) {
- set_has_pathsym();
+
} else {
- clear_has_pathsym();
+
}
// @@protoc_insertion_point(field_set_allocated:LineRuleProto.pathsym)
}
-// optional .LineJoin join = 6;
-inline bool LineRuleProto::has_join() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void LineRuleProto::set_has_join() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void LineRuleProto::clear_has_join() {
- _has_bits_[0] &= ~0x00000020u;
-}
+// .LineJoin join = 6;
inline void LineRuleProto::clear_join() {
join_ = 0;
- clear_has_join();
}
inline ::LineJoin LineRuleProto::join() const {
// @@protoc_insertion_point(field_get:LineRuleProto.join)
return static_cast< ::LineJoin >(join_);
}
inline void LineRuleProto::set_join(::LineJoin value) {
- assert(::LineJoin_IsValid(value));
- set_has_join();
+
join_ = value;
// @@protoc_insertion_point(field_set:LineRuleProto.join)
}
-// optional .LineCap cap = 7;
-inline bool LineRuleProto::has_cap() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
-}
-inline void LineRuleProto::set_has_cap() {
- _has_bits_[0] |= 0x00000040u;
-}
-inline void LineRuleProto::clear_has_cap() {
- _has_bits_[0] &= ~0x00000040u;
-}
+// .LineCap cap = 7;
inline void LineRuleProto::clear_cap() {
cap_ = 0;
- clear_has_cap();
}
inline ::LineCap LineRuleProto::cap() const {
// @@protoc_insertion_point(field_get:LineRuleProto.cap)
return static_cast< ::LineCap >(cap_);
}
inline void LineRuleProto::set_cap(::LineCap value) {
- assert(::LineCap_IsValid(value));
- set_has_cap();
+
cap_ = value;
// @@protoc_insertion_point(field_set:LineRuleProto.cap)
}
@@ -2523,84 +2153,58 @@ inline void LineRuleProto::set_cap(::LineCap value) {
// LineDefProto
-// required double width = 1;
-inline bool LineDefProto::has_width() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void LineDefProto::set_has_width() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void LineDefProto::clear_has_width() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// double width = 1;
inline void LineDefProto::clear_width() {
width_ = 0;
- clear_has_width();
}
inline double LineDefProto::width() const {
// @@protoc_insertion_point(field_get:LineDefProto.width)
return width_;
}
inline void LineDefProto::set_width(double value) {
- set_has_width();
+
width_ = value;
// @@protoc_insertion_point(field_set:LineDefProto.width)
}
-// required uint32 color = 2;
-inline bool LineDefProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void LineDefProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void LineDefProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void LineDefProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 LineDefProto::color() const {
// @@protoc_insertion_point(field_get:LineDefProto.color)
return color_;
}
inline void LineDefProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:LineDefProto.color)
}
-// optional .DashDotProto dashdot = 3;
+// .DashDotProto dashdot = 3;
inline bool LineDefProto::has_dashdot() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void LineDefProto::set_has_dashdot() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void LineDefProto::clear_has_dashdot() {
- _has_bits_[0] &= ~0x00000004u;
+ return this != internal_default_instance() && dashdot_ != NULL;
}
inline void LineDefProto::clear_dashdot() {
- if (dashdot_ != NULL) dashdot_->::DashDotProto::Clear();
- clear_has_dashdot();
+ if (GetArenaNoVirtual() == NULL && dashdot_ != NULL) delete dashdot_;
+ dashdot_ = NULL;
}
inline const ::DashDotProto& LineDefProto::dashdot() const {
// @@protoc_insertion_point(field_get:LineDefProto.dashdot)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return dashdot_ != NULL ? *dashdot_ : *default_instance().dashdot_;
-#else
- return dashdot_ != NULL ? *dashdot_ : *default_instance_->dashdot_;
-#endif
+ return dashdot_ != NULL ? *dashdot_
+ : *::DashDotProto::internal_default_instance();
}
inline ::DashDotProto* LineDefProto::mutable_dashdot() {
- set_has_dashdot();
- if (dashdot_ == NULL) dashdot_ = new ::DashDotProto;
+
+ if (dashdot_ == NULL) {
+ dashdot_ = new ::DashDotProto;
+ }
// @@protoc_insertion_point(field_mutable:LineDefProto.dashdot)
return dashdot_;
}
inline ::DashDotProto* LineDefProto::release_dashdot() {
- clear_has_dashdot();
+ // @@protoc_insertion_point(field_release:LineDefProto.dashdot)
+
::DashDotProto* temp = dashdot_;
dashdot_ = NULL;
return temp;
@@ -2609,43 +2213,37 @@ inline void LineDefProto::set_allocated_dashdot(::DashDotProto* dashdot) {
delete dashdot_;
dashdot_ = dashdot;
if (dashdot) {
- set_has_dashdot();
+
} else {
- clear_has_dashdot();
+
}
// @@protoc_insertion_point(field_set_allocated:LineDefProto.dashdot)
}
-// optional .PathSymProto pathsym = 4;
+// .PathSymProto pathsym = 4;
inline bool LineDefProto::has_pathsym() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void LineDefProto::set_has_pathsym() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void LineDefProto::clear_has_pathsym() {
- _has_bits_[0] &= ~0x00000008u;
+ return this != internal_default_instance() && pathsym_ != NULL;
}
inline void LineDefProto::clear_pathsym() {
- if (pathsym_ != NULL) pathsym_->::PathSymProto::Clear();
- clear_has_pathsym();
+ if (GetArenaNoVirtual() == NULL && pathsym_ != NULL) delete pathsym_;
+ pathsym_ = NULL;
}
inline const ::PathSymProto& LineDefProto::pathsym() const {
// @@protoc_insertion_point(field_get:LineDefProto.pathsym)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return pathsym_ != NULL ? *pathsym_ : *default_instance().pathsym_;
-#else
- return pathsym_ != NULL ? *pathsym_ : *default_instance_->pathsym_;
-#endif
+ return pathsym_ != NULL ? *pathsym_
+ : *::PathSymProto::internal_default_instance();
}
inline ::PathSymProto* LineDefProto::mutable_pathsym() {
- set_has_pathsym();
- if (pathsym_ == NULL) pathsym_ = new ::PathSymProto;
+
+ if (pathsym_ == NULL) {
+ pathsym_ = new ::PathSymProto;
+ }
// @@protoc_insertion_point(field_mutable:LineDefProto.pathsym)
return pathsym_;
}
inline ::PathSymProto* LineDefProto::release_pathsym() {
- clear_has_pathsym();
+ // @@protoc_insertion_point(field_release:LineDefProto.pathsym)
+
::PathSymProto* temp = pathsym_;
pathsym_ = NULL;
return temp;
@@ -2654,59 +2252,37 @@ inline void LineDefProto::set_allocated_pathsym(::PathSymProto* pathsym) {
delete pathsym_;
pathsym_ = pathsym;
if (pathsym) {
- set_has_pathsym();
+
} else {
- clear_has_pathsym();
+
}
// @@protoc_insertion_point(field_set_allocated:LineDefProto.pathsym)
}
-// optional .LineJoin join = 6;
-inline bool LineDefProto::has_join() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void LineDefProto::set_has_join() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void LineDefProto::clear_has_join() {
- _has_bits_[0] &= ~0x00000010u;
-}
+// .LineJoin join = 6;
inline void LineDefProto::clear_join() {
join_ = 0;
- clear_has_join();
}
inline ::LineJoin LineDefProto::join() const {
// @@protoc_insertion_point(field_get:LineDefProto.join)
return static_cast< ::LineJoin >(join_);
}
inline void LineDefProto::set_join(::LineJoin value) {
- assert(::LineJoin_IsValid(value));
- set_has_join();
+
join_ = value;
// @@protoc_insertion_point(field_set:LineDefProto.join)
}
-// optional .LineCap cap = 7;
-inline bool LineDefProto::has_cap() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void LineDefProto::set_has_cap() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void LineDefProto::clear_has_cap() {
- _has_bits_[0] &= ~0x00000020u;
-}
+// .LineCap cap = 7;
inline void LineDefProto::clear_cap() {
cap_ = 0;
- clear_has_cap();
}
inline ::LineCap LineDefProto::cap() const {
// @@protoc_insertion_point(field_get:LineDefProto.cap)
return static_cast< ::LineCap >(cap_);
}
inline void LineDefProto::set_cap(::LineCap value) {
- assert(::LineCap_IsValid(value));
- set_has_cap();
+
cap_ = value;
// @@protoc_insertion_point(field_set:LineDefProto.cap)
}
@@ -2715,60 +2291,44 @@ inline void LineDefProto::set_cap(::LineCap value) {
// AreaRuleProto
-// required uint32 color = 1;
-inline bool AreaRuleProto::has_color() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void AreaRuleProto::set_has_color() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void AreaRuleProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// uint32 color = 1;
inline void AreaRuleProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 AreaRuleProto::color() const {
// @@protoc_insertion_point(field_get:AreaRuleProto.color)
return color_;
}
inline void AreaRuleProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:AreaRuleProto.color)
}
-// optional .LineDefProto border = 2;
+// .LineDefProto border = 2;
inline bool AreaRuleProto::has_border() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void AreaRuleProto::set_has_border() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void AreaRuleProto::clear_has_border() {
- _has_bits_[0] &= ~0x00000002u;
+ return this != internal_default_instance() && border_ != NULL;
}
inline void AreaRuleProto::clear_border() {
- if (border_ != NULL) border_->::LineDefProto::Clear();
- clear_has_border();
+ if (GetArenaNoVirtual() == NULL && border_ != NULL) delete border_;
+ border_ = NULL;
}
inline const ::LineDefProto& AreaRuleProto::border() const {
// @@protoc_insertion_point(field_get:AreaRuleProto.border)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return border_ != NULL ? *border_ : *default_instance().border_;
-#else
- return border_ != NULL ? *border_ : *default_instance_->border_;
-#endif
+ return border_ != NULL ? *border_
+ : *::LineDefProto::internal_default_instance();
}
inline ::LineDefProto* AreaRuleProto::mutable_border() {
- set_has_border();
- if (border_ == NULL) border_ = new ::LineDefProto;
+
+ if (border_ == NULL) {
+ border_ = new ::LineDefProto;
+ }
// @@protoc_insertion_point(field_mutable:AreaRuleProto.border)
return border_;
}
inline ::LineDefProto* AreaRuleProto::release_border() {
- clear_has_border();
+ // @@protoc_insertion_point(field_release:AreaRuleProto.border)
+
::LineDefProto* temp = border_;
border_ = NULL;
return temp;
@@ -2777,33 +2337,23 @@ inline void AreaRuleProto::set_allocated_border(::LineDefProto* border) {
delete border_;
border_ = border;
if (border) {
- set_has_border();
+
} else {
- clear_has_border();
+
}
// @@protoc_insertion_point(field_set_allocated:AreaRuleProto.border)
}
-// required int32 priority = 3;
-inline bool AreaRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void AreaRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void AreaRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// int32 priority = 3;
inline void AreaRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 AreaRuleProto::priority() const {
// @@protoc_insertion_point(field_get:AreaRuleProto.priority)
return priority_;
}
inline void AreaRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:AreaRuleProto.priority)
}
@@ -2812,150 +2362,97 @@ inline void AreaRuleProto::set_priority(::google::protobuf::int32 value) {
// SymbolRuleProto
-// required string name = 1;
-inline bool SymbolRuleProto::has_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void SymbolRuleProto::set_has_name() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void SymbolRuleProto::clear_has_name() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// string name = 1;
inline void SymbolRuleProto::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
+ name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& SymbolRuleProto::name() const {
// @@protoc_insertion_point(field_get:SymbolRuleProto.name)
- return *name_;
+ return name_.GetNoArena();
}
inline void SymbolRuleProto::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:SymbolRuleProto.name)
}
+#if LANG_CXX11
+inline void SymbolRuleProto::set_name(::std::string&& value) {
+
+ name_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:SymbolRuleProto.name)
+}
+#endif
inline void SymbolRuleProto::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+ GOOGLE_DCHECK(value != NULL);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:SymbolRuleProto.name)
}
inline void SymbolRuleProto::set_name(const char* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:SymbolRuleProto.name)
}
inline ::std::string* SymbolRuleProto::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
+
// @@protoc_insertion_point(field_mutable:SymbolRuleProto.name)
- return name_;
+ return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* SymbolRuleProto::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
+ // @@protoc_insertion_point(field_release:SymbolRuleProto.name)
+
+ return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void SymbolRuleProto::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
+ if (name != NULL) {
+
} else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+
}
+ name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
// @@protoc_insertion_point(field_set_allocated:SymbolRuleProto.name)
}
-// optional int32 apply_for_type = 2;
-inline bool SymbolRuleProto::has_apply_for_type() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void SymbolRuleProto::set_has_apply_for_type() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void SymbolRuleProto::clear_has_apply_for_type() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// int32 apply_for_type = 2;
inline void SymbolRuleProto::clear_apply_for_type() {
apply_for_type_ = 0;
- clear_has_apply_for_type();
}
inline ::google::protobuf::int32 SymbolRuleProto::apply_for_type() const {
// @@protoc_insertion_point(field_get:SymbolRuleProto.apply_for_type)
return apply_for_type_;
}
inline void SymbolRuleProto::set_apply_for_type(::google::protobuf::int32 value) {
- set_has_apply_for_type();
+
apply_for_type_ = value;
// @@protoc_insertion_point(field_set:SymbolRuleProto.apply_for_type)
}
-// required int32 priority = 3;
-inline bool SymbolRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void SymbolRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void SymbolRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// int32 priority = 3;
inline void SymbolRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 SymbolRuleProto::priority() const {
// @@protoc_insertion_point(field_get:SymbolRuleProto.priority)
return priority_;
}
inline void SymbolRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:SymbolRuleProto.priority)
}
-// optional int32 min_distance = 4;
-inline bool SymbolRuleProto::has_min_distance() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void SymbolRuleProto::set_has_min_distance() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void SymbolRuleProto::clear_has_min_distance() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// int32 min_distance = 4;
inline void SymbolRuleProto::clear_min_distance() {
min_distance_ = 0;
- clear_has_min_distance();
}
inline ::google::protobuf::int32 SymbolRuleProto::min_distance() const {
// @@protoc_insertion_point(field_get:SymbolRuleProto.min_distance)
return min_distance_;
}
inline void SymbolRuleProto::set_min_distance(::google::protobuf::int32 value) {
- set_has_min_distance();
+
min_distance_ = value;
// @@protoc_insertion_point(field_set:SymbolRuleProto.min_distance)
}
@@ -2964,222 +2461,139 @@ inline void SymbolRuleProto::set_min_distance(::google::protobuf::int32 value) {
// CaptionDefProto
-// required int32 height = 1;
-inline bool CaptionDefProto::has_height() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void CaptionDefProto::set_has_height() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void CaptionDefProto::clear_has_height() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// int32 height = 1;
inline void CaptionDefProto::clear_height() {
height_ = 0;
- clear_has_height();
}
inline ::google::protobuf::int32 CaptionDefProto::height() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.height)
return height_;
}
inline void CaptionDefProto::set_height(::google::protobuf::int32 value) {
- set_has_height();
+
height_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.height)
}
-// required uint32 color = 2;
-inline bool CaptionDefProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void CaptionDefProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void CaptionDefProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void CaptionDefProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 CaptionDefProto::color() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.color)
return color_;
}
inline void CaptionDefProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.color)
}
-// optional uint32 stroke_color = 3;
-inline bool CaptionDefProto::has_stroke_color() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void CaptionDefProto::set_has_stroke_color() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void CaptionDefProto::clear_has_stroke_color() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// uint32 stroke_color = 3;
inline void CaptionDefProto::clear_stroke_color() {
stroke_color_ = 0u;
- clear_has_stroke_color();
}
inline ::google::protobuf::uint32 CaptionDefProto::stroke_color() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.stroke_color)
return stroke_color_;
}
inline void CaptionDefProto::set_stroke_color(::google::protobuf::uint32 value) {
- set_has_stroke_color();
+
stroke_color_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.stroke_color)
}
-// optional int32 offset_x = 4;
-inline bool CaptionDefProto::has_offset_x() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void CaptionDefProto::set_has_offset_x() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void CaptionDefProto::clear_has_offset_x() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// int32 offset_x = 4;
inline void CaptionDefProto::clear_offset_x() {
offset_x_ = 0;
- clear_has_offset_x();
}
inline ::google::protobuf::int32 CaptionDefProto::offset_x() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.offset_x)
return offset_x_;
}
inline void CaptionDefProto::set_offset_x(::google::protobuf::int32 value) {
- set_has_offset_x();
+
offset_x_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.offset_x)
}
-// optional int32 offset_y = 5;
-inline bool CaptionDefProto::has_offset_y() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void CaptionDefProto::set_has_offset_y() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void CaptionDefProto::clear_has_offset_y() {
- _has_bits_[0] &= ~0x00000010u;
-}
+// int32 offset_y = 5;
inline void CaptionDefProto::clear_offset_y() {
offset_y_ = 0;
- clear_has_offset_y();
}
inline ::google::protobuf::int32 CaptionDefProto::offset_y() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.offset_y)
return offset_y_;
}
inline void CaptionDefProto::set_offset_y(::google::protobuf::int32 value) {
- set_has_offset_y();
+
offset_y_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.offset_y)
}
-// optional string text = 6;
-inline bool CaptionDefProto::has_text() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void CaptionDefProto::set_has_text() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void CaptionDefProto::clear_has_text() {
- _has_bits_[0] &= ~0x00000020u;
-}
+// string text = 6;
inline void CaptionDefProto::clear_text() {
- if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- text_->clear();
- }
- clear_has_text();
+ text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& CaptionDefProto::text() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.text)
- return *text_;
+ return text_.GetNoArena();
}
inline void CaptionDefProto::set_text(const ::std::string& value) {
- set_has_text();
- if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- text_ = new ::std::string;
- }
- text_->assign(value);
+
+ text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:CaptionDefProto.text)
}
+#if LANG_CXX11
+inline void CaptionDefProto::set_text(::std::string&& value) {
+
+ text_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:CaptionDefProto.text)
+}
+#endif
inline void CaptionDefProto::set_text(const char* value) {
- set_has_text();
- if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- text_ = new ::std::string;
- }
- text_->assign(value);
+ GOOGLE_DCHECK(value != NULL);
+
+ text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:CaptionDefProto.text)
}
inline void CaptionDefProto::set_text(const char* value, size_t size) {
- set_has_text();
- if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- text_ = new ::std::string;
- }
- text_->assign(reinterpret_cast<const char*>(value), size);
+
+ text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:CaptionDefProto.text)
}
inline ::std::string* CaptionDefProto::mutable_text() {
- set_has_text();
- if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- text_ = new ::std::string;
- }
+
// @@protoc_insertion_point(field_mutable:CaptionDefProto.text)
- return text_;
+ return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* CaptionDefProto::release_text() {
- clear_has_text();
- if (text_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = text_;
- text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
+ // @@protoc_insertion_point(field_release:CaptionDefProto.text)
+
+ return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void CaptionDefProto::set_allocated_text(::std::string* text) {
- if (text_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete text_;
- }
- if (text) {
- set_has_text();
- text_ = text;
+ if (text != NULL) {
+
} else {
- clear_has_text();
- text_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+
}
+ text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
// @@protoc_insertion_point(field_set_allocated:CaptionDefProto.text)
}
-// optional bool is_optional = 7;
-inline bool CaptionDefProto::has_is_optional() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
-}
-inline void CaptionDefProto::set_has_is_optional() {
- _has_bits_[0] |= 0x00000040u;
-}
-inline void CaptionDefProto::clear_has_is_optional() {
- _has_bits_[0] &= ~0x00000040u;
-}
+// bool is_optional = 7;
inline void CaptionDefProto::clear_is_optional() {
is_optional_ = false;
- clear_has_is_optional();
}
inline bool CaptionDefProto::is_optional() const {
// @@protoc_insertion_point(field_get:CaptionDefProto.is_optional)
return is_optional_;
}
inline void CaptionDefProto::set_is_optional(bool value) {
- set_has_is_optional();
+
is_optional_ = value;
// @@protoc_insertion_point(field_set:CaptionDefProto.is_optional)
}
@@ -3188,36 +2602,30 @@ inline void CaptionDefProto::set_is_optional(bool value) {
// CaptionRuleProto
-// required .CaptionDefProto primary = 1;
+// .CaptionDefProto primary = 1;
inline bool CaptionRuleProto::has_primary() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void CaptionRuleProto::set_has_primary() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void CaptionRuleProto::clear_has_primary() {
- _has_bits_[0] &= ~0x00000001u;
+ return this != internal_default_instance() && primary_ != NULL;
}
inline void CaptionRuleProto::clear_primary() {
- if (primary_ != NULL) primary_->::CaptionDefProto::Clear();
- clear_has_primary();
+ if (GetArenaNoVirtual() == NULL && primary_ != NULL) delete primary_;
+ primary_ = NULL;
}
inline const ::CaptionDefProto& CaptionRuleProto::primary() const {
// @@protoc_insertion_point(field_get:CaptionRuleProto.primary)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return primary_ != NULL ? *primary_ : *default_instance().primary_;
-#else
- return primary_ != NULL ? *primary_ : *default_instance_->primary_;
-#endif
+ return primary_ != NULL ? *primary_
+ : *::CaptionDefProto::internal_default_instance();
}
inline ::CaptionDefProto* CaptionRuleProto::mutable_primary() {
- set_has_primary();
- if (primary_ == NULL) primary_ = new ::CaptionDefProto;
+
+ if (primary_ == NULL) {
+ primary_ = new ::CaptionDefProto;
+ }
// @@protoc_insertion_point(field_mutable:CaptionRuleProto.primary)
return primary_;
}
inline ::CaptionDefProto* CaptionRuleProto::release_primary() {
- clear_has_primary();
+ // @@protoc_insertion_point(field_release:CaptionRuleProto.primary)
+
::CaptionDefProto* temp = primary_;
primary_ = NULL;
return temp;
@@ -3226,43 +2634,37 @@ inline void CaptionRuleProto::set_allocated_primary(::CaptionDefProto* primary)
delete primary_;
primary_ = primary;
if (primary) {
- set_has_primary();
+
} else {
- clear_has_primary();
+
}
// @@protoc_insertion_point(field_set_allocated:CaptionRuleProto.primary)
}
-// optional .CaptionDefProto secondary = 2;
+// .CaptionDefProto secondary = 2;
inline bool CaptionRuleProto::has_secondary() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void CaptionRuleProto::set_has_secondary() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void CaptionRuleProto::clear_has_secondary() {
- _has_bits_[0] &= ~0x00000002u;
+ return this != internal_default_instance() && secondary_ != NULL;
}
inline void CaptionRuleProto::clear_secondary() {
- if (secondary_ != NULL) secondary_->::CaptionDefProto::Clear();
- clear_has_secondary();
+ if (GetArenaNoVirtual() == NULL && secondary_ != NULL) delete secondary_;
+ secondary_ = NULL;
}
inline const ::CaptionDefProto& CaptionRuleProto::secondary() const {
// @@protoc_insertion_point(field_get:CaptionRuleProto.secondary)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return secondary_ != NULL ? *secondary_ : *default_instance().secondary_;
-#else
- return secondary_ != NULL ? *secondary_ : *default_instance_->secondary_;
-#endif
+ return secondary_ != NULL ? *secondary_
+ : *::CaptionDefProto::internal_default_instance();
}
inline ::CaptionDefProto* CaptionRuleProto::mutable_secondary() {
- set_has_secondary();
- if (secondary_ == NULL) secondary_ = new ::CaptionDefProto;
+
+ if (secondary_ == NULL) {
+ secondary_ = new ::CaptionDefProto;
+ }
// @@protoc_insertion_point(field_mutable:CaptionRuleProto.secondary)
return secondary_;
}
inline ::CaptionDefProto* CaptionRuleProto::release_secondary() {
- clear_has_secondary();
+ // @@protoc_insertion_point(field_release:CaptionRuleProto.secondary)
+
::CaptionDefProto* temp = secondary_;
secondary_ = NULL;
return temp;
@@ -3271,33 +2673,23 @@ inline void CaptionRuleProto::set_allocated_secondary(::CaptionDefProto* seconda
delete secondary_;
secondary_ = secondary;
if (secondary) {
- set_has_secondary();
+
} else {
- clear_has_secondary();
+
}
// @@protoc_insertion_point(field_set_allocated:CaptionRuleProto.secondary)
}
-// required int32 priority = 3;
-inline bool CaptionRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void CaptionRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void CaptionRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// int32 priority = 3;
inline void CaptionRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 CaptionRuleProto::priority() const {
// @@protoc_insertion_point(field_get:CaptionRuleProto.priority)
return priority_;
}
inline void CaptionRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:CaptionRuleProto.priority)
}
@@ -3306,84 +2698,58 @@ inline void CaptionRuleProto::set_priority(::google::protobuf::int32 value) {
// CircleRuleProto
-// required double radius = 1;
-inline bool CircleRuleProto::has_radius() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void CircleRuleProto::set_has_radius() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void CircleRuleProto::clear_has_radius() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// double radius = 1;
inline void CircleRuleProto::clear_radius() {
radius_ = 0;
- clear_has_radius();
}
inline double CircleRuleProto::radius() const {
// @@protoc_insertion_point(field_get:CircleRuleProto.radius)
return radius_;
}
inline void CircleRuleProto::set_radius(double value) {
- set_has_radius();
+
radius_ = value;
// @@protoc_insertion_point(field_set:CircleRuleProto.radius)
}
-// required uint32 color = 2;
-inline bool CircleRuleProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void CircleRuleProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void CircleRuleProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void CircleRuleProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 CircleRuleProto::color() const {
// @@protoc_insertion_point(field_get:CircleRuleProto.color)
return color_;
}
inline void CircleRuleProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:CircleRuleProto.color)
}
-// optional .LineDefProto border = 3;
+// .LineDefProto border = 3;
inline bool CircleRuleProto::has_border() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void CircleRuleProto::set_has_border() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void CircleRuleProto::clear_has_border() {
- _has_bits_[0] &= ~0x00000004u;
+ return this != internal_default_instance() && border_ != NULL;
}
inline void CircleRuleProto::clear_border() {
- if (border_ != NULL) border_->::LineDefProto::Clear();
- clear_has_border();
+ if (GetArenaNoVirtual() == NULL && border_ != NULL) delete border_;
+ border_ = NULL;
}
inline const ::LineDefProto& CircleRuleProto::border() const {
// @@protoc_insertion_point(field_get:CircleRuleProto.border)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return border_ != NULL ? *border_ : *default_instance().border_;
-#else
- return border_ != NULL ? *border_ : *default_instance_->border_;
-#endif
+ return border_ != NULL ? *border_
+ : *::LineDefProto::internal_default_instance();
}
inline ::LineDefProto* CircleRuleProto::mutable_border() {
- set_has_border();
- if (border_ == NULL) border_ = new ::LineDefProto;
+
+ if (border_ == NULL) {
+ border_ = new ::LineDefProto;
+ }
// @@protoc_insertion_point(field_mutable:CircleRuleProto.border)
return border_;
}
inline ::LineDefProto* CircleRuleProto::release_border() {
- clear_has_border();
+ // @@protoc_insertion_point(field_release:CircleRuleProto.border)
+
::LineDefProto* temp = border_;
border_ = NULL;
return temp;
@@ -3392,33 +2758,23 @@ inline void CircleRuleProto::set_allocated_border(::LineDefProto* border) {
delete border_;
border_ = border;
if (border) {
- set_has_border();
+
} else {
- clear_has_border();
+
}
// @@protoc_insertion_point(field_set_allocated:CircleRuleProto.border)
}
-// required int32 priority = 4;
-inline bool CircleRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void CircleRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void CircleRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// int32 priority = 4;
inline void CircleRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 CircleRuleProto::priority() const {
// @@protoc_insertion_point(field_get:CircleRuleProto.priority)
return priority_;
}
inline void CircleRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:CircleRuleProto.priority)
}
@@ -3427,36 +2783,30 @@ inline void CircleRuleProto::set_priority(::google::protobuf::int32 value) {
// PathTextRuleProto
-// required .CaptionDefProto primary = 1;
+// .CaptionDefProto primary = 1;
inline bool PathTextRuleProto::has_primary() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void PathTextRuleProto::set_has_primary() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void PathTextRuleProto::clear_has_primary() {
- _has_bits_[0] &= ~0x00000001u;
+ return this != internal_default_instance() && primary_ != NULL;
}
inline void PathTextRuleProto::clear_primary() {
- if (primary_ != NULL) primary_->::CaptionDefProto::Clear();
- clear_has_primary();
+ if (GetArenaNoVirtual() == NULL && primary_ != NULL) delete primary_;
+ primary_ = NULL;
}
inline const ::CaptionDefProto& PathTextRuleProto::primary() const {
// @@protoc_insertion_point(field_get:PathTextRuleProto.primary)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return primary_ != NULL ? *primary_ : *default_instance().primary_;
-#else
- return primary_ != NULL ? *primary_ : *default_instance_->primary_;
-#endif
+ return primary_ != NULL ? *primary_
+ : *::CaptionDefProto::internal_default_instance();
}
inline ::CaptionDefProto* PathTextRuleProto::mutable_primary() {
- set_has_primary();
- if (primary_ == NULL) primary_ = new ::CaptionDefProto;
+
+ if (primary_ == NULL) {
+ primary_ = new ::CaptionDefProto;
+ }
// @@protoc_insertion_point(field_mutable:PathTextRuleProto.primary)
return primary_;
}
inline ::CaptionDefProto* PathTextRuleProto::release_primary() {
- clear_has_primary();
+ // @@protoc_insertion_point(field_release:PathTextRuleProto.primary)
+
::CaptionDefProto* temp = primary_;
primary_ = NULL;
return temp;
@@ -3465,43 +2815,37 @@ inline void PathTextRuleProto::set_allocated_primary(::CaptionDefProto* primary)
delete primary_;
primary_ = primary;
if (primary) {
- set_has_primary();
+
} else {
- clear_has_primary();
+
}
// @@protoc_insertion_point(field_set_allocated:PathTextRuleProto.primary)
}
-// optional .CaptionDefProto secondary = 2;
+// .CaptionDefProto secondary = 2;
inline bool PathTextRuleProto::has_secondary() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void PathTextRuleProto::set_has_secondary() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void PathTextRuleProto::clear_has_secondary() {
- _has_bits_[0] &= ~0x00000002u;
+ return this != internal_default_instance() && secondary_ != NULL;
}
inline void PathTextRuleProto::clear_secondary() {
- if (secondary_ != NULL) secondary_->::CaptionDefProto::Clear();
- clear_has_secondary();
+ if (GetArenaNoVirtual() == NULL && secondary_ != NULL) delete secondary_;
+ secondary_ = NULL;
}
inline const ::CaptionDefProto& PathTextRuleProto::secondary() const {
// @@protoc_insertion_point(field_get:PathTextRuleProto.secondary)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return secondary_ != NULL ? *secondary_ : *default_instance().secondary_;
-#else
- return secondary_ != NULL ? *secondary_ : *default_instance_->secondary_;
-#endif
+ return secondary_ != NULL ? *secondary_
+ : *::CaptionDefProto::internal_default_instance();
}
inline ::CaptionDefProto* PathTextRuleProto::mutable_secondary() {
- set_has_secondary();
- if (secondary_ == NULL) secondary_ = new ::CaptionDefProto;
+
+ if (secondary_ == NULL) {
+ secondary_ = new ::CaptionDefProto;
+ }
// @@protoc_insertion_point(field_mutable:PathTextRuleProto.secondary)
return secondary_;
}
inline ::CaptionDefProto* PathTextRuleProto::release_secondary() {
- clear_has_secondary();
+ // @@protoc_insertion_point(field_release:PathTextRuleProto.secondary)
+
::CaptionDefProto* temp = secondary_;
secondary_ = NULL;
return temp;
@@ -3510,33 +2854,23 @@ inline void PathTextRuleProto::set_allocated_secondary(::CaptionDefProto* second
delete secondary_;
secondary_ = secondary;
if (secondary) {
- set_has_secondary();
+
} else {
- clear_has_secondary();
+
}
// @@protoc_insertion_point(field_set_allocated:PathTextRuleProto.secondary)
}
-// required int32 priority = 3;
-inline bool PathTextRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void PathTextRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void PathTextRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// int32 priority = 3;
inline void PathTextRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 PathTextRuleProto::priority() const {
// @@protoc_insertion_point(field_get:PathTextRuleProto.priority)
return priority_;
}
inline void PathTextRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:PathTextRuleProto.priority)
}
@@ -3545,170 +2879,100 @@ inline void PathTextRuleProto::set_priority(::google::protobuf::int32 value) {
// ShieldRuleProto
-// required int32 height = 1;
-inline bool ShieldRuleProto::has_height() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ShieldRuleProto::set_has_height() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ShieldRuleProto::clear_has_height() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// int32 height = 1;
inline void ShieldRuleProto::clear_height() {
height_ = 0;
- clear_has_height();
}
inline ::google::protobuf::int32 ShieldRuleProto::height() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.height)
return height_;
}
inline void ShieldRuleProto::set_height(::google::protobuf::int32 value) {
- set_has_height();
+
height_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.height)
}
-// required uint32 color = 2;
-inline bool ShieldRuleProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ShieldRuleProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ShieldRuleProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void ShieldRuleProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 ShieldRuleProto::color() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.color)
return color_;
}
inline void ShieldRuleProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.color)
}
-// optional uint32 stroke_color = 3;
-inline bool ShieldRuleProto::has_stroke_color() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void ShieldRuleProto::set_has_stroke_color() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void ShieldRuleProto::clear_has_stroke_color() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// uint32 stroke_color = 3;
inline void ShieldRuleProto::clear_stroke_color() {
stroke_color_ = 0u;
- clear_has_stroke_color();
}
inline ::google::protobuf::uint32 ShieldRuleProto::stroke_color() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.stroke_color)
return stroke_color_;
}
inline void ShieldRuleProto::set_stroke_color(::google::protobuf::uint32 value) {
- set_has_stroke_color();
+
stroke_color_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.stroke_color)
}
-// required int32 priority = 4;
-inline bool ShieldRuleProto::has_priority() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void ShieldRuleProto::set_has_priority() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void ShieldRuleProto::clear_has_priority() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// int32 priority = 4;
inline void ShieldRuleProto::clear_priority() {
priority_ = 0;
- clear_has_priority();
}
inline ::google::protobuf::int32 ShieldRuleProto::priority() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.priority)
return priority_;
}
inline void ShieldRuleProto::set_priority(::google::protobuf::int32 value) {
- set_has_priority();
+
priority_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.priority)
}
-// optional int32 min_distance = 5;
-inline bool ShieldRuleProto::has_min_distance() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void ShieldRuleProto::set_has_min_distance() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void ShieldRuleProto::clear_has_min_distance() {
- _has_bits_[0] &= ~0x00000010u;
-}
+// int32 min_distance = 5;
inline void ShieldRuleProto::clear_min_distance() {
min_distance_ = 0;
- clear_has_min_distance();
}
inline ::google::protobuf::int32 ShieldRuleProto::min_distance() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.min_distance)
return min_distance_;
}
inline void ShieldRuleProto::set_min_distance(::google::protobuf::int32 value) {
- set_has_min_distance();
+
min_distance_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.min_distance)
}
-// required uint32 text_color = 6;
-inline bool ShieldRuleProto::has_text_color() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void ShieldRuleProto::set_has_text_color() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void ShieldRuleProto::clear_has_text_color() {
- _has_bits_[0] &= ~0x00000020u;
-}
+// uint32 text_color = 6;
inline void ShieldRuleProto::clear_text_color() {
text_color_ = 0u;
- clear_has_text_color();
}
inline ::google::protobuf::uint32 ShieldRuleProto::text_color() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.text_color)
return text_color_;
}
inline void ShieldRuleProto::set_text_color(::google::protobuf::uint32 value) {
- set_has_text_color();
+
text_color_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.text_color)
}
-// optional uint32 text_stroke_color = 7;
-inline bool ShieldRuleProto::has_text_stroke_color() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
-}
-inline void ShieldRuleProto::set_has_text_stroke_color() {
- _has_bits_[0] |= 0x00000040u;
-}
-inline void ShieldRuleProto::clear_has_text_stroke_color() {
- _has_bits_[0] &= ~0x00000040u;
-}
+// uint32 text_stroke_color = 7;
inline void ShieldRuleProto::clear_text_stroke_color() {
text_stroke_color_ = 0u;
- clear_has_text_stroke_color();
}
inline ::google::protobuf::uint32 ShieldRuleProto::text_stroke_color() const {
// @@protoc_insertion_point(field_get:ShieldRuleProto.text_stroke_color)
return text_stroke_color_;
}
inline void ShieldRuleProto::set_text_stroke_color(::google::protobuf::uint32 value) {
- set_has_text_stroke_color();
+
text_stroke_color_ = value;
// @@protoc_insertion_point(field_set:ShieldRuleProto.text_stroke_color)
}
@@ -3717,26 +2981,16 @@ inline void ShieldRuleProto::set_text_stroke_color(::google::protobuf::uint32 va
// DrawElementProto
-// required int32 scale = 1;
-inline bool DrawElementProto::has_scale() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void DrawElementProto::set_has_scale() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void DrawElementProto::clear_has_scale() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// int32 scale = 1;
inline void DrawElementProto::clear_scale() {
scale_ = 0;
- clear_has_scale();
}
inline ::google::protobuf::int32 DrawElementProto::scale() const {
// @@protoc_insertion_point(field_get:DrawElementProto.scale)
return scale_;
}
inline void DrawElementProto::set_scale(::google::protobuf::int32 value) {
- set_has_scale();
+
scale_ = value;
// @@protoc_insertion_point(field_set:DrawElementProto.scale)
}
@@ -3760,47 +3014,41 @@ inline ::LineRuleProto* DrawElementProto::add_lines() {
// @@protoc_insertion_point(field_add:DrawElementProto.lines)
return lines_.Add();
}
-inline const ::google::protobuf::RepeatedPtrField< ::LineRuleProto >&
-DrawElementProto::lines() const {
- // @@protoc_insertion_point(field_list:DrawElementProto.lines)
- return lines_;
-}
inline ::google::protobuf::RepeatedPtrField< ::LineRuleProto >*
DrawElementProto::mutable_lines() {
// @@protoc_insertion_point(field_mutable_list:DrawElementProto.lines)
return &lines_;
}
+inline const ::google::protobuf::RepeatedPtrField< ::LineRuleProto >&
+DrawElementProto::lines() const {
+ // @@protoc_insertion_point(field_list:DrawElementProto.lines)
+ return lines_;
+}
-// optional .AreaRuleProto area = 3;
+// .AreaRuleProto area = 3;
inline bool DrawElementProto::has_area() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void DrawElementProto::set_has_area() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void DrawElementProto::clear_has_area() {
- _has_bits_[0] &= ~0x00000004u;
+ return this != internal_default_instance() && area_ != NULL;
}
inline void DrawElementProto::clear_area() {
- if (area_ != NULL) area_->::AreaRuleProto::Clear();
- clear_has_area();
+ if (GetArenaNoVirtual() == NULL && area_ != NULL) delete area_;
+ area_ = NULL;
}
inline const ::AreaRuleProto& DrawElementProto::area() const {
// @@protoc_insertion_point(field_get:DrawElementProto.area)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return area_ != NULL ? *area_ : *default_instance().area_;
-#else
- return area_ != NULL ? *area_ : *default_instance_->area_;
-#endif
+ return area_ != NULL ? *area_
+ : *::AreaRuleProto::internal_default_instance();
}
inline ::AreaRuleProto* DrawElementProto::mutable_area() {
- set_has_area();
- if (area_ == NULL) area_ = new ::AreaRuleProto;
+
+ if (area_ == NULL) {
+ area_ = new ::AreaRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.area)
return area_;
}
inline ::AreaRuleProto* DrawElementProto::release_area() {
- clear_has_area();
+ // @@protoc_insertion_point(field_release:DrawElementProto.area)
+
::AreaRuleProto* temp = area_;
area_ = NULL;
return temp;
@@ -3809,43 +3057,37 @@ inline void DrawElementProto::set_allocated_area(::AreaRuleProto* area) {
delete area_;
area_ = area;
if (area) {
- set_has_area();
+
} else {
- clear_has_area();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.area)
}
-// optional .SymbolRuleProto symbol = 4;
+// .SymbolRuleProto symbol = 4;
inline bool DrawElementProto::has_symbol() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void DrawElementProto::set_has_symbol() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void DrawElementProto::clear_has_symbol() {
- _has_bits_[0] &= ~0x00000008u;
+ return this != internal_default_instance() && symbol_ != NULL;
}
inline void DrawElementProto::clear_symbol() {
- if (symbol_ != NULL) symbol_->::SymbolRuleProto::Clear();
- clear_has_symbol();
+ if (GetArenaNoVirtual() == NULL && symbol_ != NULL) delete symbol_;
+ symbol_ = NULL;
}
inline const ::SymbolRuleProto& DrawElementProto::symbol() const {
// @@protoc_insertion_point(field_get:DrawElementProto.symbol)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return symbol_ != NULL ? *symbol_ : *default_instance().symbol_;
-#else
- return symbol_ != NULL ? *symbol_ : *default_instance_->symbol_;
-#endif
+ return symbol_ != NULL ? *symbol_
+ : *::SymbolRuleProto::internal_default_instance();
}
inline ::SymbolRuleProto* DrawElementProto::mutable_symbol() {
- set_has_symbol();
- if (symbol_ == NULL) symbol_ = new ::SymbolRuleProto;
+
+ if (symbol_ == NULL) {
+ symbol_ = new ::SymbolRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.symbol)
return symbol_;
}
inline ::SymbolRuleProto* DrawElementProto::release_symbol() {
- clear_has_symbol();
+ // @@protoc_insertion_point(field_release:DrawElementProto.symbol)
+
::SymbolRuleProto* temp = symbol_;
symbol_ = NULL;
return temp;
@@ -3854,43 +3096,37 @@ inline void DrawElementProto::set_allocated_symbol(::SymbolRuleProto* symbol) {
delete symbol_;
symbol_ = symbol;
if (symbol) {
- set_has_symbol();
+
} else {
- clear_has_symbol();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.symbol)
}
-// optional .CaptionRuleProto caption = 5;
+// .CaptionRuleProto caption = 5;
inline bool DrawElementProto::has_caption() const {
- return (_has_bits_[0] & 0x00000010u) != 0;
-}
-inline void DrawElementProto::set_has_caption() {
- _has_bits_[0] |= 0x00000010u;
-}
-inline void DrawElementProto::clear_has_caption() {
- _has_bits_[0] &= ~0x00000010u;
+ return this != internal_default_instance() && caption_ != NULL;
}
inline void DrawElementProto::clear_caption() {
- if (caption_ != NULL) caption_->::CaptionRuleProto::Clear();
- clear_has_caption();
+ if (GetArenaNoVirtual() == NULL && caption_ != NULL) delete caption_;
+ caption_ = NULL;
}
inline const ::CaptionRuleProto& DrawElementProto::caption() const {
// @@protoc_insertion_point(field_get:DrawElementProto.caption)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return caption_ != NULL ? *caption_ : *default_instance().caption_;
-#else
- return caption_ != NULL ? *caption_ : *default_instance_->caption_;
-#endif
+ return caption_ != NULL ? *caption_
+ : *::CaptionRuleProto::internal_default_instance();
}
inline ::CaptionRuleProto* DrawElementProto::mutable_caption() {
- set_has_caption();
- if (caption_ == NULL) caption_ = new ::CaptionRuleProto;
+
+ if (caption_ == NULL) {
+ caption_ = new ::CaptionRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.caption)
return caption_;
}
inline ::CaptionRuleProto* DrawElementProto::release_caption() {
- clear_has_caption();
+ // @@protoc_insertion_point(field_release:DrawElementProto.caption)
+
::CaptionRuleProto* temp = caption_;
caption_ = NULL;
return temp;
@@ -3899,43 +3135,37 @@ inline void DrawElementProto::set_allocated_caption(::CaptionRuleProto* caption)
delete caption_;
caption_ = caption;
if (caption) {
- set_has_caption();
+
} else {
- clear_has_caption();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.caption)
}
-// optional .CircleRuleProto circle = 6;
+// .CircleRuleProto circle = 6;
inline bool DrawElementProto::has_circle() const {
- return (_has_bits_[0] & 0x00000020u) != 0;
-}
-inline void DrawElementProto::set_has_circle() {
- _has_bits_[0] |= 0x00000020u;
-}
-inline void DrawElementProto::clear_has_circle() {
- _has_bits_[0] &= ~0x00000020u;
+ return this != internal_default_instance() && circle_ != NULL;
}
inline void DrawElementProto::clear_circle() {
- if (circle_ != NULL) circle_->::CircleRuleProto::Clear();
- clear_has_circle();
+ if (GetArenaNoVirtual() == NULL && circle_ != NULL) delete circle_;
+ circle_ = NULL;
}
inline const ::CircleRuleProto& DrawElementProto::circle() const {
// @@protoc_insertion_point(field_get:DrawElementProto.circle)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return circle_ != NULL ? *circle_ : *default_instance().circle_;
-#else
- return circle_ != NULL ? *circle_ : *default_instance_->circle_;
-#endif
+ return circle_ != NULL ? *circle_
+ : *::CircleRuleProto::internal_default_instance();
}
inline ::CircleRuleProto* DrawElementProto::mutable_circle() {
- set_has_circle();
- if (circle_ == NULL) circle_ = new ::CircleRuleProto;
+
+ if (circle_ == NULL) {
+ circle_ = new ::CircleRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.circle)
return circle_;
}
inline ::CircleRuleProto* DrawElementProto::release_circle() {
- clear_has_circle();
+ // @@protoc_insertion_point(field_release:DrawElementProto.circle)
+
::CircleRuleProto* temp = circle_;
circle_ = NULL;
return temp;
@@ -3944,43 +3174,37 @@ inline void DrawElementProto::set_allocated_circle(::CircleRuleProto* circle) {
delete circle_;
circle_ = circle;
if (circle) {
- set_has_circle();
+
} else {
- clear_has_circle();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.circle)
}
-// optional .PathTextRuleProto path_text = 7;
+// .PathTextRuleProto path_text = 7;
inline bool DrawElementProto::has_path_text() const {
- return (_has_bits_[0] & 0x00000040u) != 0;
-}
-inline void DrawElementProto::set_has_path_text() {
- _has_bits_[0] |= 0x00000040u;
-}
-inline void DrawElementProto::clear_has_path_text() {
- _has_bits_[0] &= ~0x00000040u;
+ return this != internal_default_instance() && path_text_ != NULL;
}
inline void DrawElementProto::clear_path_text() {
- if (path_text_ != NULL) path_text_->::PathTextRuleProto::Clear();
- clear_has_path_text();
+ if (GetArenaNoVirtual() == NULL && path_text_ != NULL) delete path_text_;
+ path_text_ = NULL;
}
inline const ::PathTextRuleProto& DrawElementProto::path_text() const {
// @@protoc_insertion_point(field_get:DrawElementProto.path_text)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return path_text_ != NULL ? *path_text_ : *default_instance().path_text_;
-#else
- return path_text_ != NULL ? *path_text_ : *default_instance_->path_text_;
-#endif
+ return path_text_ != NULL ? *path_text_
+ : *::PathTextRuleProto::internal_default_instance();
}
inline ::PathTextRuleProto* DrawElementProto::mutable_path_text() {
- set_has_path_text();
- if (path_text_ == NULL) path_text_ = new ::PathTextRuleProto;
+
+ if (path_text_ == NULL) {
+ path_text_ = new ::PathTextRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.path_text)
return path_text_;
}
inline ::PathTextRuleProto* DrawElementProto::release_path_text() {
- clear_has_path_text();
+ // @@protoc_insertion_point(field_release:DrawElementProto.path_text)
+
::PathTextRuleProto* temp = path_text_;
path_text_ = NULL;
return temp;
@@ -3989,43 +3213,37 @@ inline void DrawElementProto::set_allocated_path_text(::PathTextRuleProto* path_
delete path_text_;
path_text_ = path_text;
if (path_text) {
- set_has_path_text();
+
} else {
- clear_has_path_text();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.path_text)
}
-// optional .ShieldRuleProto shield = 8;
+// .ShieldRuleProto shield = 8;
inline bool DrawElementProto::has_shield() const {
- return (_has_bits_[0] & 0x00000080u) != 0;
-}
-inline void DrawElementProto::set_has_shield() {
- _has_bits_[0] |= 0x00000080u;
-}
-inline void DrawElementProto::clear_has_shield() {
- _has_bits_[0] &= ~0x00000080u;
+ return this != internal_default_instance() && shield_ != NULL;
}
inline void DrawElementProto::clear_shield() {
- if (shield_ != NULL) shield_->::ShieldRuleProto::Clear();
- clear_has_shield();
+ if (GetArenaNoVirtual() == NULL && shield_ != NULL) delete shield_;
+ shield_ = NULL;
}
inline const ::ShieldRuleProto& DrawElementProto::shield() const {
// @@protoc_insertion_point(field_get:DrawElementProto.shield)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return shield_ != NULL ? *shield_ : *default_instance().shield_;
-#else
- return shield_ != NULL ? *shield_ : *default_instance_->shield_;
-#endif
+ return shield_ != NULL ? *shield_
+ : *::ShieldRuleProto::internal_default_instance();
}
inline ::ShieldRuleProto* DrawElementProto::mutable_shield() {
- set_has_shield();
- if (shield_ == NULL) shield_ = new ::ShieldRuleProto;
+
+ if (shield_ == NULL) {
+ shield_ = new ::ShieldRuleProto;
+ }
// @@protoc_insertion_point(field_mutable:DrawElementProto.shield)
return shield_;
}
inline ::ShieldRuleProto* DrawElementProto::release_shield() {
- clear_has_shield();
+ // @@protoc_insertion_point(field_release:DrawElementProto.shield)
+
::ShieldRuleProto* temp = shield_;
shield_ = NULL;
return temp;
@@ -4034,9 +3252,9 @@ inline void DrawElementProto::set_allocated_shield(::ShieldRuleProto* shield) {
delete shield_;
shield_ = shield;
if (shield) {
- set_has_shield();
+
} else {
- clear_has_shield();
+
}
// @@protoc_insertion_point(field_set_allocated:DrawElementProto.shield)
}
@@ -4060,7 +3278,14 @@ inline void DrawElementProto::set_apply_if(int index, const ::std::string& value
// @@protoc_insertion_point(field_set:DrawElementProto.apply_if)
apply_if_.Mutable(index)->assign(value);
}
+#if LANG_CXX11
+inline void DrawElementProto::set_apply_if(int index, ::std::string&& value) {
+ // @@protoc_insertion_point(field_set:DrawElementProto.apply_if)
+ apply_if_.Mutable(index)->assign(std::move(value));
+}
+#endif
inline void DrawElementProto::set_apply_if(int index, const char* value) {
+ GOOGLE_DCHECK(value != NULL);
apply_if_.Mutable(index)->assign(value);
// @@protoc_insertion_point(field_set_char:DrawElementProto.apply_if)
}
@@ -4070,13 +3295,21 @@ inline void DrawElementProto::set_apply_if(int index, const char* value, size_t
// @@protoc_insertion_point(field_set_pointer:DrawElementProto.apply_if)
}
inline ::std::string* DrawElementProto::add_apply_if() {
+ // @@protoc_insertion_point(field_add_mutable:DrawElementProto.apply_if)
return apply_if_.Add();
}
inline void DrawElementProto::add_apply_if(const ::std::string& value) {
apply_if_.Add()->assign(value);
// @@protoc_insertion_point(field_add:DrawElementProto.apply_if)
}
+#if LANG_CXX11
+inline void DrawElementProto::add_apply_if(::std::string&& value) {
+ apply_if_.Add(std::move(value));
+ // @@protoc_insertion_point(field_add:DrawElementProto.apply_if)
+}
+#endif
inline void DrawElementProto::add_apply_if(const char* value) {
+ GOOGLE_DCHECK(value != NULL);
apply_if_.Add()->assign(value);
// @@protoc_insertion_point(field_add_char:DrawElementProto.apply_if)
}
@@ -4099,79 +3332,56 @@ DrawElementProto::mutable_apply_if() {
// ClassifElementProto
-// required string name = 1;
-inline bool ClassifElementProto::has_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ClassifElementProto::set_has_name() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ClassifElementProto::clear_has_name() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// string name = 1;
inline void ClassifElementProto::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
+ name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& ClassifElementProto::name() const {
// @@protoc_insertion_point(field_get:ClassifElementProto.name)
- return *name_;
+ return name_.GetNoArena();
}
inline void ClassifElementProto::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:ClassifElementProto.name)
}
+#if LANG_CXX11
+inline void ClassifElementProto::set_name(::std::string&& value) {
+
+ name_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:ClassifElementProto.name)
+}
+#endif
inline void ClassifElementProto::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+ GOOGLE_DCHECK(value != NULL);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:ClassifElementProto.name)
}
inline void ClassifElementProto::set_name(const char* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:ClassifElementProto.name)
}
inline ::std::string* ClassifElementProto::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
+
// @@protoc_insertion_point(field_mutable:ClassifElementProto.name)
- return name_;
+ return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* ClassifElementProto::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
+ // @@protoc_insertion_point(field_release:ClassifElementProto.name)
+
+ return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void ClassifElementProto::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
+ if (name != NULL) {
+
} else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+
}
+ name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
// @@protoc_insertion_point(field_set_allocated:ClassifElementProto.name)
}
@@ -4194,165 +3404,112 @@ inline ::DrawElementProto* ClassifElementProto::add_element() {
// @@protoc_insertion_point(field_add:ClassifElementProto.element)
return element_.Add();
}
-inline const ::google::protobuf::RepeatedPtrField< ::DrawElementProto >&
-ClassifElementProto::element() const {
- // @@protoc_insertion_point(field_list:ClassifElementProto.element)
- return element_;
-}
inline ::google::protobuf::RepeatedPtrField< ::DrawElementProto >*
ClassifElementProto::mutable_element() {
// @@protoc_insertion_point(field_mutable_list:ClassifElementProto.element)
return &element_;
}
+inline const ::google::protobuf::RepeatedPtrField< ::DrawElementProto >&
+ClassifElementProto::element() const {
+ // @@protoc_insertion_point(field_list:ClassifElementProto.element)
+ return element_;
+}
// -------------------------------------------------------------------
// ColorElementProto
-// required string name = 1;
-inline bool ColorElementProto::has_name() const {
- return (_has_bits_[0] & 0x00000001u) != 0;
-}
-inline void ColorElementProto::set_has_name() {
- _has_bits_[0] |= 0x00000001u;
-}
-inline void ColorElementProto::clear_has_name() {
- _has_bits_[0] &= ~0x00000001u;
-}
+// string name = 1;
inline void ColorElementProto::clear_name() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- clear_has_name();
+ name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& ColorElementProto::name() const {
// @@protoc_insertion_point(field_get:ColorElementProto.name)
- return *name_;
+ return name_.GetNoArena();
}
inline void ColorElementProto::set_name(const ::std::string& value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:ColorElementProto.name)
}
+#if LANG_CXX11
+inline void ColorElementProto::set_name(::std::string&& value) {
+
+ name_.SetNoArena(
+ &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
+ // @@protoc_insertion_point(field_set_rvalue:ColorElementProto.name)
+}
+#endif
inline void ColorElementProto::set_name(const char* value) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(value);
+ GOOGLE_DCHECK(value != NULL);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:ColorElementProto.name)
}
inline void ColorElementProto::set_name(const char* value, size_t size) {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
- name_->assign(reinterpret_cast<const char*>(value), size);
+
+ name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
+ ::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:ColorElementProto.name)
}
inline ::std::string* ColorElementProto::mutable_name() {
- set_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_ = new ::std::string;
- }
+
// @@protoc_insertion_point(field_mutable:ColorElementProto.name)
- return name_;
+ return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* ColorElementProto::release_name() {
- clear_has_name();
- if (name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- return NULL;
- } else {
- ::std::string* temp = name_;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- return temp;
- }
+ // @@protoc_insertion_point(field_release:ColorElementProto.name)
+
+ return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void ColorElementProto::set_allocated_name(::std::string* name) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (name) {
- set_has_name();
- name_ = name;
+ if (name != NULL) {
+
} else {
- clear_has_name();
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
+
}
+ name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
// @@protoc_insertion_point(field_set_allocated:ColorElementProto.name)
}
-// required uint32 color = 2;
-inline bool ColorElementProto::has_color() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ColorElementProto::set_has_color() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ColorElementProto::clear_has_color() {
- _has_bits_[0] &= ~0x00000002u;
-}
+// uint32 color = 2;
inline void ColorElementProto::clear_color() {
color_ = 0u;
- clear_has_color();
}
inline ::google::protobuf::uint32 ColorElementProto::color() const {
// @@protoc_insertion_point(field_get:ColorElementProto.color)
return color_;
}
inline void ColorElementProto::set_color(::google::protobuf::uint32 value) {
- set_has_color();
+
color_ = value;
// @@protoc_insertion_point(field_set:ColorElementProto.color)
}
-// optional float x = 3;
-inline bool ColorElementProto::has_x() const {
- return (_has_bits_[0] & 0x00000004u) != 0;
-}
-inline void ColorElementProto::set_has_x() {
- _has_bits_[0] |= 0x00000004u;
-}
-inline void ColorElementProto::clear_has_x() {
- _has_bits_[0] &= ~0x00000004u;
-}
+// float x = 3;
inline void ColorElementProto::clear_x() {
x_ = 0;
- clear_has_x();
}
inline float ColorElementProto::x() const {
// @@protoc_insertion_point(field_get:ColorElementProto.x)
return x_;
}
inline void ColorElementProto::set_x(float value) {
- set_has_x();
+
x_ = value;
// @@protoc_insertion_point(field_set:ColorElementProto.x)
}
-// optional float y = 4;
-inline bool ColorElementProto::has_y() const {
- return (_has_bits_[0] & 0x00000008u) != 0;
-}
-inline void ColorElementProto::set_has_y() {
- _has_bits_[0] |= 0x00000008u;
-}
-inline void ColorElementProto::clear_has_y() {
- _has_bits_[0] &= ~0x00000008u;
-}
+// float y = 4;
inline void ColorElementProto::clear_y() {
y_ = 0;
- clear_has_y();
}
inline float ColorElementProto::y() const {
// @@protoc_insertion_point(field_get:ColorElementProto.y)
return y_;
}
inline void ColorElementProto::set_y(float value) {
- set_has_y();
+
y_ = value;
// @@protoc_insertion_point(field_set:ColorElementProto.y)
}
@@ -4380,16 +3537,16 @@ inline ::ColorElementProto* ColorsElementProto::add_value() {
// @@protoc_insertion_point(field_add:ColorsElementProto.value)
return value_.Add();
}
-inline const ::google::protobuf::RepeatedPtrField< ::ColorElementProto >&
-ColorsElementProto::value() const {
- // @@protoc_insertion_point(field_list:ColorsElementProto.value)
- return value_;
-}
inline ::google::protobuf::RepeatedPtrField< ::ColorElementProto >*
ColorsElementProto::mutable_value() {
// @@protoc_insertion_point(field_mutable_list:ColorsElementProto.value)
return &value_;
}
+inline const ::google::protobuf::RepeatedPtrField< ::ColorElementProto >&
+ColorsElementProto::value() const {
+ // @@protoc_insertion_point(field_list:ColorsElementProto.value)
+ return value_;
+}
// -------------------------------------------------------------------
@@ -4414,47 +3571,41 @@ inline ::ClassifElementProto* ContainerProto::add_cont() {
// @@protoc_insertion_point(field_add:ContainerProto.cont)
return cont_.Add();
}
-inline const ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >&
-ContainerProto::cont() const {
- // @@protoc_insertion_point(field_list:ContainerProto.cont)
- return cont_;
-}
inline ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >*
ContainerProto::mutable_cont() {
// @@protoc_insertion_point(field_mutable_list:ContainerProto.cont)
return &cont_;
}
+inline const ::google::protobuf::RepeatedPtrField< ::ClassifElementProto >&
+ContainerProto::cont() const {
+ // @@protoc_insertion_point(field_list:ContainerProto.cont)
+ return cont_;
+}
-// optional .ColorsElementProto colors = 2;
+// .ColorsElementProto colors = 2;
inline bool ContainerProto::has_colors() const {
- return (_has_bits_[0] & 0x00000002u) != 0;
-}
-inline void ContainerProto::set_has_colors() {
- _has_bits_[0] |= 0x00000002u;
-}
-inline void ContainerProto::clear_has_colors() {
- _has_bits_[0] &= ~0x00000002u;
+ return this != internal_default_instance() && colors_ != NULL;
}
inline void ContainerProto::clear_colors() {
- if (colors_ != NULL) colors_->::ColorsElementProto::Clear();
- clear_has_colors();
+ if (GetArenaNoVirtual() == NULL && colors_ != NULL) delete colors_;
+ colors_ = NULL;
}
inline const ::ColorsElementProto& ContainerProto::colors() const {
// @@protoc_insertion_point(field_get:ContainerProto.colors)
-#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
- return colors_ != NULL ? *colors_ : *default_instance().colors_;
-#else
- return colors_ != NULL ? *colors_ : *default_instance_->colors_;
-#endif
+ return colors_ != NULL ? *colors_
+ : *::ColorsElementProto::internal_default_instance();
}
inline ::ColorsElementProto* ContainerProto::mutable_colors() {
- set_has_colors();
- if (colors_ == NULL) colors_ = new ::ColorsElementProto;
+
+ if (colors_ == NULL) {
+ colors_ = new ::ColorsElementProto;
+ }
// @@protoc_insertion_point(field_mutable:ContainerProto.colors)
return colors_;
}
inline ::ColorsElementProto* ContainerProto::release_colors() {
- clear_has_colors();
+ // @@protoc_insertion_point(field_release:ContainerProto.colors)
+
::ColorsElementProto* temp = colors_;
colors_ = NULL;
return temp;
@@ -4463,16 +3614,59 @@ inline void ContainerProto::set_allocated_colors(::ColorsElementProto* colors) {
delete colors_;
colors_ = colors;
if (colors) {
- set_has_colors();
+
} else {
- clear_has_colors();
+
}
// @@protoc_insertion_point(field_set_allocated:ContainerProto.colors)
}
+#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
+// -------------------------------------------------------------------
+
// @@protoc_insertion_point(namespace_scope)
+
+#ifndef SWIG
+namespace google {
+namespace protobuf {
+
+template <> struct is_proto_enum< ::LineJoin> : ::google::protobuf::internal::true_type {};
+template <> struct is_proto_enum< ::LineCap> : ::google::protobuf::internal::true_type {};
+
+} // namespace protobuf
+} // namespace google
+#endif // SWIG
+
// @@protoc_insertion_point(global_scope)
-#endif // PROTOBUF_drules_5fstruct_2eproto__INCLUDED
+#endif // PROTOBUF_indexer_2fdrules_5fstruct_2eproto__INCLUDED