-
Notifications
You must be signed in to change notification settings - Fork 0
/
glyphs.pb.h
862 lines (757 loc) · 27.7 KB
/
glyphs.pb.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: glyphs.proto
#ifndef PROTOBUF_glyphs_2eproto__INCLUDED
#define PROTOBUF_glyphs_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3000000
#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 3000000 < 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/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
// @@protoc_insertion_point(includes)
namespace llmr {
namespace glyphs {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_glyphs_2eproto();
void protobuf_AssignDesc_glyphs_2eproto();
void protobuf_ShutdownFile_glyphs_2eproto();
class fontstack;
class glyph;
class glyphs;
// ===================================================================
class glyph : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:llmr.glyphs.glyph) */ {
public:
glyph();
virtual ~glyph();
glyph(const glyph& from);
inline glyph& operator=(const glyph& from) {
CopyFrom(from);
return *this;
}
inline const ::std::string& unknown_fields() const {
return _unknown_fields_.GetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* mutable_unknown_fields() {
return _unknown_fields_.MutableNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
static const glyph& 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 glyph* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(glyph* other);
// implements Message ----------------------------------------------
inline glyph* New() const { return New(NULL); }
glyph* New(::google::protobuf::Arena* arena) const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const glyph& from);
void MergeFrom(const glyph& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
void DiscardUnknownFields();
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(glyph* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _arena_ptr_;
}
inline ::google::protobuf::Arena* MaybeArenaPtr() const {
return _arena_ptr_;
}
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required uint32 id = 1;
bool has_id() const;
void clear_id();
static const int kIdFieldNumber = 1;
::google::protobuf::uint32 id() const;
void set_id(::google::protobuf::uint32 value);
// optional bytes bitmap = 2;
bool has_bitmap() const;
void clear_bitmap();
static const int kBitmapFieldNumber = 2;
const ::std::string& bitmap() const;
void set_bitmap(const ::std::string& value);
void set_bitmap(const char* value);
void set_bitmap(const void* value, size_t size);
::std::string* mutable_bitmap();
::std::string* release_bitmap();
void set_allocated_bitmap(::std::string* bitmap);
// required uint32 width = 3;
bool has_width() const;
void clear_width();
static const int kWidthFieldNumber = 3;
::google::protobuf::uint32 width() const;
void set_width(::google::protobuf::uint32 value);
// required uint32 height = 4;
bool has_height() const;
void clear_height();
static const int kHeightFieldNumber = 4;
::google::protobuf::uint32 height() const;
void set_height(::google::protobuf::uint32 value);
// required sint32 left = 5;
bool has_left() const;
void clear_left();
static const int kLeftFieldNumber = 5;
::google::protobuf::int32 left() const;
void set_left(::google::protobuf::int32 value);
// required sint32 top = 6;
bool has_top() const;
void clear_top();
static const int kTopFieldNumber = 6;
::google::protobuf::int32 top() const;
void set_top(::google::protobuf::int32 value);
// required uint32 advance = 7;
bool has_advance() const;
void clear_advance();
static const int kAdvanceFieldNumber = 7;
::google::protobuf::uint32 advance() const;
void set_advance(::google::protobuf::uint32 value);
// @@protoc_insertion_point(class_scope:llmr.glyphs.glyph)
private:
inline void set_has_id();
inline void clear_has_id();
inline void set_has_bitmap();
inline void clear_has_bitmap();
inline void set_has_width();
inline void clear_has_width();
inline void set_has_height();
inline void clear_has_height();
inline void set_has_left();
inline void clear_has_left();
inline void set_has_top();
inline void clear_has_top();
inline void set_has_advance();
inline void clear_has_advance();
// helper for ByteSize()
int RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::ArenaStringPtr _unknown_fields_;
::google::protobuf::Arena* _arena_ptr_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr bitmap_;
::google::protobuf::uint32 id_;
::google::protobuf::uint32 width_;
::google::protobuf::uint32 height_;
::google::protobuf::int32 left_;
::google::protobuf::int32 top_;
::google::protobuf::uint32 advance_;
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_glyphs_2eproto_impl();
#else
friend void protobuf_AddDesc_glyphs_2eproto();
#endif
friend void protobuf_AssignDesc_glyphs_2eproto();
friend void protobuf_ShutdownFile_glyphs_2eproto();
void InitAsDefaultInstance();
static glyph* default_instance_;
};
// -------------------------------------------------------------------
class fontstack : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:llmr.glyphs.fontstack) */ {
public:
fontstack();
virtual ~fontstack();
fontstack(const fontstack& from);
inline fontstack& operator=(const fontstack& from) {
CopyFrom(from);
return *this;
}
inline const ::std::string& unknown_fields() const {
return _unknown_fields_.GetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* mutable_unknown_fields() {
return _unknown_fields_.MutableNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
static const fontstack& 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 fontstack* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(fontstack* other);
// implements Message ----------------------------------------------
inline fontstack* New() const { return New(NULL); }
fontstack* New(::google::protobuf::Arena* arena) const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const fontstack& from);
void MergeFrom(const fontstack& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
void DiscardUnknownFields();
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(fontstack* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _arena_ptr_;
}
inline ::google::protobuf::Arena* MaybeArenaPtr() const {
return _arena_ptr_;
}
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required string name = 1;
bool has_name() const;
void clear_name();
static const int kNameFieldNumber = 1;
const ::std::string& name() const;
void set_name(const ::std::string& value);
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);
// required string range = 2;
bool has_range() const;
void clear_range();
static const int kRangeFieldNumber = 2;
const ::std::string& range() const;
void set_range(const ::std::string& value);
void set_range(const char* value);
void set_range(const char* value, size_t size);
::std::string* mutable_range();
::std::string* release_range();
void set_allocated_range(::std::string* range);
// repeated .llmr.glyphs.glyph glyphs = 3;
int glyphs_size() const;
void clear_glyphs();
static const int kGlyphsFieldNumber = 3;
const ::llmr::glyphs::glyph& glyphs(int index) const;
::llmr::glyphs::glyph* mutable_glyphs(int index);
::llmr::glyphs::glyph* add_glyphs();
::google::protobuf::RepeatedPtrField< ::llmr::glyphs::glyph >*
mutable_glyphs();
const ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::glyph >&
glyphs() const;
// @@protoc_insertion_point(class_scope:llmr.glyphs.fontstack)
private:
inline void set_has_name();
inline void clear_has_name();
inline void set_has_range();
inline void clear_has_range();
// helper for ByteSize()
int RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::ArenaStringPtr _unknown_fields_;
::google::protobuf::Arena* _arena_ptr_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::internal::ArenaStringPtr range_;
::google::protobuf::RepeatedPtrField< ::llmr::glyphs::glyph > glyphs_;
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_glyphs_2eproto_impl();
#else
friend void protobuf_AddDesc_glyphs_2eproto();
#endif
friend void protobuf_AssignDesc_glyphs_2eproto();
friend void protobuf_ShutdownFile_glyphs_2eproto();
void InitAsDefaultInstance();
static fontstack* default_instance_;
};
// -------------------------------------------------------------------
class glyphs : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:llmr.glyphs.glyphs) */ {
public:
glyphs();
virtual ~glyphs();
glyphs(const glyphs& from);
inline glyphs& operator=(const glyphs& from) {
CopyFrom(from);
return *this;
}
inline const ::std::string& unknown_fields() const {
return _unknown_fields_.GetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* mutable_unknown_fields() {
return _unknown_fields_.MutableNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
static const glyphs& 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 glyphs* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(glyphs* other);
// implements Message ----------------------------------------------
inline glyphs* New() const { return New(NULL); }
glyphs* New(::google::protobuf::Arena* arena) const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const glyphs& from);
void MergeFrom(const glyphs& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
void DiscardUnknownFields();
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
void InternalSwap(glyphs* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return _arena_ptr_;
}
inline ::google::protobuf::Arena* MaybeArenaPtr() const {
return _arena_ptr_;
}
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .llmr.glyphs.fontstack stacks = 1;
int stacks_size() const;
void clear_stacks();
static const int kStacksFieldNumber = 1;
const ::llmr::glyphs::fontstack& stacks(int index) const;
::llmr::glyphs::fontstack* mutable_stacks(int index);
::llmr::glyphs::fontstack* add_stacks();
::google::protobuf::RepeatedPtrField< ::llmr::glyphs::fontstack >*
mutable_stacks();
const ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::fontstack >&
stacks() const;
GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(glyphs)
// @@protoc_insertion_point(class_scope:llmr.glyphs.glyphs)
private:
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::ArenaStringPtr _unknown_fields_;
::google::protobuf::Arena* _arena_ptr_;
::google::protobuf::uint32 _has_bits_[1];
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::llmr::glyphs::fontstack > stacks_;
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_glyphs_2eproto_impl();
#else
friend void protobuf_AddDesc_glyphs_2eproto();
#endif
friend void protobuf_AssignDesc_glyphs_2eproto();
friend void protobuf_ShutdownFile_glyphs_2eproto();
void InitAsDefaultInstance();
static glyphs* default_instance_;
};
// ===================================================================
// ===================================================================
#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// glyph
// required uint32 id = 1;
inline bool glyph::has_id() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void glyph::set_has_id() {
_has_bits_[0] |= 0x00000001u;
}
inline void glyph::clear_has_id() {
_has_bits_[0] &= ~0x00000001u;
}
inline void glyph::clear_id() {
id_ = 0u;
clear_has_id();
}
inline ::google::protobuf::uint32 glyph::id() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.id)
return id_;
}
inline void glyph::set_id(::google::protobuf::uint32 value) {
set_has_id();
id_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.id)
}
// optional bytes bitmap = 2;
inline bool glyph::has_bitmap() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void glyph::set_has_bitmap() {
_has_bits_[0] |= 0x00000002u;
}
inline void glyph::clear_has_bitmap() {
_has_bits_[0] &= ~0x00000002u;
}
inline void glyph::clear_bitmap() {
bitmap_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_bitmap();
}
inline const ::std::string& glyph::bitmap() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.bitmap)
return bitmap_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void glyph::set_bitmap(const ::std::string& value) {
set_has_bitmap();
bitmap_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.bitmap)
}
inline void glyph::set_bitmap(const char* value) {
set_has_bitmap();
bitmap_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:llmr.glyphs.glyph.bitmap)
}
inline void glyph::set_bitmap(const void* value, size_t size) {
set_has_bitmap();
bitmap_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:llmr.glyphs.glyph.bitmap)
}
inline ::std::string* glyph::mutable_bitmap() {
set_has_bitmap();
// @@protoc_insertion_point(field_mutable:llmr.glyphs.glyph.bitmap)
return bitmap_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* glyph::release_bitmap() {
// @@protoc_insertion_point(field_release:llmr.glyphs.glyph.bitmap)
clear_has_bitmap();
return bitmap_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void glyph::set_allocated_bitmap(::std::string* bitmap) {
if (bitmap != NULL) {
set_has_bitmap();
} else {
clear_has_bitmap();
}
bitmap_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), bitmap);
// @@protoc_insertion_point(field_set_allocated:llmr.glyphs.glyph.bitmap)
}
// required uint32 width = 3;
inline bool glyph::has_width() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void glyph::set_has_width() {
_has_bits_[0] |= 0x00000004u;
}
inline void glyph::clear_has_width() {
_has_bits_[0] &= ~0x00000004u;
}
inline void glyph::clear_width() {
width_ = 0u;
clear_has_width();
}
inline ::google::protobuf::uint32 glyph::width() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.width)
return width_;
}
inline void glyph::set_width(::google::protobuf::uint32 value) {
set_has_width();
width_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.width)
}
// required uint32 height = 4;
inline bool glyph::has_height() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void glyph::set_has_height() {
_has_bits_[0] |= 0x00000008u;
}
inline void glyph::clear_has_height() {
_has_bits_[0] &= ~0x00000008u;
}
inline void glyph::clear_height() {
height_ = 0u;
clear_has_height();
}
inline ::google::protobuf::uint32 glyph::height() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.height)
return height_;
}
inline void glyph::set_height(::google::protobuf::uint32 value) {
set_has_height();
height_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.height)
}
// required sint32 left = 5;
inline bool glyph::has_left() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void glyph::set_has_left() {
_has_bits_[0] |= 0x00000010u;
}
inline void glyph::clear_has_left() {
_has_bits_[0] &= ~0x00000010u;
}
inline void glyph::clear_left() {
left_ = 0;
clear_has_left();
}
inline ::google::protobuf::int32 glyph::left() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.left)
return left_;
}
inline void glyph::set_left(::google::protobuf::int32 value) {
set_has_left();
left_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.left)
}
// required sint32 top = 6;
inline bool glyph::has_top() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void glyph::set_has_top() {
_has_bits_[0] |= 0x00000020u;
}
inline void glyph::clear_has_top() {
_has_bits_[0] &= ~0x00000020u;
}
inline void glyph::clear_top() {
top_ = 0;
clear_has_top();
}
inline ::google::protobuf::int32 glyph::top() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.top)
return top_;
}
inline void glyph::set_top(::google::protobuf::int32 value) {
set_has_top();
top_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.top)
}
// required uint32 advance = 7;
inline bool glyph::has_advance() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void glyph::set_has_advance() {
_has_bits_[0] |= 0x00000040u;
}
inline void glyph::clear_has_advance() {
_has_bits_[0] &= ~0x00000040u;
}
inline void glyph::clear_advance() {
advance_ = 0u;
clear_has_advance();
}
inline ::google::protobuf::uint32 glyph::advance() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyph.advance)
return advance_;
}
inline void glyph::set_advance(::google::protobuf::uint32 value) {
set_has_advance();
advance_ = value;
// @@protoc_insertion_point(field_set:llmr.glyphs.glyph.advance)
}
// -------------------------------------------------------------------
// fontstack
// required string name = 1;
inline bool fontstack::has_name() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void fontstack::set_has_name() {
_has_bits_[0] |= 0x00000001u;
}
inline void fontstack::clear_has_name() {
_has_bits_[0] &= ~0x00000001u;
}
inline void fontstack::clear_name() {
name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_name();
}
inline const ::std::string& fontstack::name() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.fontstack.name)
return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void fontstack::set_name(const ::std::string& value) {
set_has_name();
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:llmr.glyphs.fontstack.name)
}
inline void fontstack::set_name(const char* value) {
set_has_name();
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:llmr.glyphs.fontstack.name)
}
inline void fontstack::set_name(const char* value, size_t size) {
set_has_name();
name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:llmr.glyphs.fontstack.name)
}
inline ::std::string* fontstack::mutable_name() {
set_has_name();
// @@protoc_insertion_point(field_mutable:llmr.glyphs.fontstack.name)
return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* fontstack::release_name() {
// @@protoc_insertion_point(field_release:llmr.glyphs.fontstack.name)
clear_has_name();
return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void fontstack::set_allocated_name(::std::string* name) {
if (name != NULL) {
set_has_name();
} else {
clear_has_name();
}
name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
// @@protoc_insertion_point(field_set_allocated:llmr.glyphs.fontstack.name)
}
// required string range = 2;
inline bool fontstack::has_range() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void fontstack::set_has_range() {
_has_bits_[0] |= 0x00000002u;
}
inline void fontstack::clear_has_range() {
_has_bits_[0] &= ~0x00000002u;
}
inline void fontstack::clear_range() {
range_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_range();
}
inline const ::std::string& fontstack::range() const {
// @@protoc_insertion_point(field_get:llmr.glyphs.fontstack.range)
return range_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void fontstack::set_range(const ::std::string& value) {
set_has_range();
range_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:llmr.glyphs.fontstack.range)
}
inline void fontstack::set_range(const char* value) {
set_has_range();
range_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:llmr.glyphs.fontstack.range)
}
inline void fontstack::set_range(const char* value, size_t size) {
set_has_range();
range_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:llmr.glyphs.fontstack.range)
}
inline ::std::string* fontstack::mutable_range() {
set_has_range();
// @@protoc_insertion_point(field_mutable:llmr.glyphs.fontstack.range)
return range_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* fontstack::release_range() {
// @@protoc_insertion_point(field_release:llmr.glyphs.fontstack.range)
clear_has_range();
return range_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void fontstack::set_allocated_range(::std::string* range) {
if (range != NULL) {
set_has_range();
} else {
clear_has_range();
}
range_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), range);
// @@protoc_insertion_point(field_set_allocated:llmr.glyphs.fontstack.range)
}
// repeated .llmr.glyphs.glyph glyphs = 3;
inline int fontstack::glyphs_size() const {
return glyphs_.size();
}
inline void fontstack::clear_glyphs() {
glyphs_.Clear();
}
inline const ::llmr::glyphs::glyph& fontstack::glyphs(int index) const {
// @@protoc_insertion_point(field_get:llmr.glyphs.fontstack.glyphs)
return glyphs_.Get(index);
}
inline ::llmr::glyphs::glyph* fontstack::mutable_glyphs(int index) {
// @@protoc_insertion_point(field_mutable:llmr.glyphs.fontstack.glyphs)
return glyphs_.Mutable(index);
}
inline ::llmr::glyphs::glyph* fontstack::add_glyphs() {
// @@protoc_insertion_point(field_add:llmr.glyphs.fontstack.glyphs)
return glyphs_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::glyph >*
fontstack::mutable_glyphs() {
// @@protoc_insertion_point(field_mutable_list:llmr.glyphs.fontstack.glyphs)
return &glyphs_;
}
inline const ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::glyph >&
fontstack::glyphs() const {
// @@protoc_insertion_point(field_list:llmr.glyphs.fontstack.glyphs)
return glyphs_;
}
// -------------------------------------------------------------------
// glyphs
// repeated .llmr.glyphs.fontstack stacks = 1;
inline int glyphs::stacks_size() const {
return stacks_.size();
}
inline void glyphs::clear_stacks() {
stacks_.Clear();
}
inline const ::llmr::glyphs::fontstack& glyphs::stacks(int index) const {
// @@protoc_insertion_point(field_get:llmr.glyphs.glyphs.stacks)
return stacks_.Get(index);
}
inline ::llmr::glyphs::fontstack* glyphs::mutable_stacks(int index) {
// @@protoc_insertion_point(field_mutable:llmr.glyphs.glyphs.stacks)
return stacks_.Mutable(index);
}
inline ::llmr::glyphs::fontstack* glyphs::add_stacks() {
// @@protoc_insertion_point(field_add:llmr.glyphs.glyphs.stacks)
return stacks_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::fontstack >*
glyphs::mutable_stacks() {
// @@protoc_insertion_point(field_mutable_list:llmr.glyphs.glyphs.stacks)
return &stacks_;
}
inline const ::google::protobuf::RepeatedPtrField< ::llmr::glyphs::fontstack >&
glyphs::stacks() const {
// @@protoc_insertion_point(field_list:llmr.glyphs.glyphs.stacks)
return stacks_;
}
#endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace glyphs
} // namespace llmr
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_glyphs_2eproto__INCLUDED