diff options
author | vng <viktor.govako@gmail.com> | 2011-11-15 18:40:35 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:27:57 +0300 |
commit | 7eac53c6c361bf6a52111c96197b24487f31a6f5 (patch) | |
tree | f5cbc687b672b208b18d42fd756a3ab62faf0f6f /indexer/drules_struct.pb.h | |
parent | 48924414df541207e2af80fbbf3a32abe74a8775 (diff) |
Add offset to DashDot.
Add apply_for_type to SymbolRule - need to separate rules according to feature geometry type (node, way).
Diffstat (limited to 'indexer/drules_struct.pb.h')
-rw-r--r-- | indexer/drules_struct.pb.h | 68 |
1 files changed, 66 insertions, 2 deletions
diff --git a/indexer/drules_struct.pb.h b/indexer/drules_struct.pb.h index 418e632c91..04fbd3c011 100644 --- a/indexer/drules_struct.pb.h +++ b/indexer/drules_struct.pb.h @@ -108,15 +108,25 @@ class DashDotProto : public ::google::protobuf::Message { inline ::google::protobuf::RepeatedField< double >* mutable_dd(); + // optional double offset = 2; + inline bool has_offset() const; + inline void clear_offset(); + static const int kOffsetFieldNumber = 2; + inline double offset() const; + inline void set_offset(double value); + // @@protoc_insertion_point(class_scope:DashDotProto) private: + inline void set_has_offset(); + inline void clear_has_offset(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::google::protobuf::RepeatedField< double > dd_; + double offset_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; friend void protobuf_AddDesc_drules_5fstruct_2eproto(); friend void protobuf_AssignDesc_drules_5fstruct_2eproto(); @@ -415,20 +425,30 @@ class SymbolRuleProto : public ::google::protobuf::Message { inline ::google::protobuf::int32 priority() const; inline void set_priority(::google::protobuf::int32 value); + // optional int32 apply_for_type = 3; + inline bool has_apply_for_type() const; + inline void clear_apply_for_type(); + static const int kApplyForTypeFieldNumber = 3; + inline ::google::protobuf::int32 apply_for_type() const; + inline void set_apply_for_type(::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_priority(); inline void clear_has_priority(); + inline void set_has_apply_for_type(); + inline void clear_has_apply_for_type(); ::google::protobuf::UnknownFieldSet _unknown_fields_; ::std::string* name_; ::google::protobuf::int32 priority_; + ::google::protobuf::int32 apply_for_type_; mutable int _cached_size_; - ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; + ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; friend void protobuf_AddDesc_drules_5fstruct_2eproto(); friend void protobuf_AssignDesc_drules_5fstruct_2eproto(); @@ -1017,6 +1037,28 @@ 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; +} +inline void DashDotProto::clear_offset() { + offset_ = 0; + clear_has_offset(); +} +inline double DashDotProto::offset() const { + return offset_; +} +inline void DashDotProto::set_offset(double value) { + set_has_offset(); + offset_ = value; +} + // ------------------------------------------------------------------- // LineRuleProto @@ -1277,6 +1319,28 @@ inline void SymbolRuleProto::set_priority(::google::protobuf::int32 value) { priority_ = value; } +// optional int32 apply_for_type = 3; +inline bool SymbolRuleProto::has_apply_for_type() const { + return (_has_bits_[0] & 0x00000004u) != 0; +} +inline void SymbolRuleProto::set_has_apply_for_type() { + _has_bits_[0] |= 0x00000004u; +} +inline void SymbolRuleProto::clear_has_apply_for_type() { + _has_bits_[0] &= ~0x00000004u; +} +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 { + return apply_for_type_; +} +inline void SymbolRuleProto::set_apply_for_type(::google::protobuf::int32 value) { + set_has_apply_for_type(); + apply_for_type_ = value; +} + // ------------------------------------------------------------------- // CaptionRuleProto |