]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | /** |
2 | * Autogenerated by Thrift Compiler (0.11.0) | |
3 | * | |
4 | * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING | |
5 | * @generated | |
6 | */ | |
7 | #ifndef baggage_TYPES_H | |
8 | #define baggage_TYPES_H | |
9 | ||
10 | #include <iosfwd> | |
11 | ||
12 | #include <thrift/Thrift.h> | |
13 | #include <thrift/TApplicationException.h> | |
14 | #include <thrift/TBase.h> | |
15 | #include <thrift/protocol/TProtocol.h> | |
16 | #include <thrift/transport/TTransport.h> | |
17 | ||
18 | ||
19 | ||
20 | ||
21 | namespace jaegertracing { namespace thrift { | |
22 | ||
23 | class BaggageRestriction; | |
24 | ||
25 | ||
26 | class BaggageRestriction : public virtual ::apache::thrift::TBase { | |
27 | public: | |
28 | ||
29 | BaggageRestriction(const BaggageRestriction&); | |
30 | BaggageRestriction& operator=(const BaggageRestriction&); | |
31 | BaggageRestriction() : baggageKey(), maxValueLength(0) { | |
32 | } | |
33 | ||
34 | virtual ~BaggageRestriction() throw(); | |
35 | std::string baggageKey; | |
36 | int32_t maxValueLength; | |
37 | ||
38 | void __set_baggageKey(const std::string& val); | |
39 | ||
40 | void __set_maxValueLength(const int32_t val); | |
41 | ||
42 | bool operator == (const BaggageRestriction & rhs) const | |
43 | { | |
44 | if (!(baggageKey == rhs.baggageKey)) | |
45 | return false; | |
46 | if (!(maxValueLength == rhs.maxValueLength)) | |
47 | return false; | |
48 | return true; | |
49 | } | |
50 | bool operator != (const BaggageRestriction &rhs) const { | |
51 | return !(*this == rhs); | |
52 | } | |
53 | ||
54 | bool operator < (const BaggageRestriction & ) const; | |
55 | ||
56 | uint32_t read(::apache::thrift::protocol::TProtocol* iprot); | |
57 | uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; | |
58 | ||
59 | virtual void printTo(std::ostream& out) const; | |
60 | }; | |
61 | ||
62 | void swap(BaggageRestriction &a, BaggageRestriction &b); | |
63 | ||
64 | std::ostream& operator<<(std::ostream& out, const BaggageRestriction& obj); | |
65 | ||
66 | }} // namespace | |
67 | ||
68 | #endif |