]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/jaeger-client-cpp/src/jaegertracing/thrift-gen/dependency_types.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / jaegertracing / jaeger-client-cpp / src / jaegertracing / thrift-gen / dependency_types.h
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 dependency_TYPES_H
8 #define dependency_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 DependencyLink;
24
25 class Dependencies;
26
27
28 class DependencyLink : public virtual ::apache::thrift::TBase {
29 public:
30
31 DependencyLink(const DependencyLink&);
32 DependencyLink& operator=(const DependencyLink&);
33 DependencyLink() : parent(), child(), callCount(0) {
34 }
35
36 virtual ~DependencyLink() throw();
37 std::string parent;
38 std::string child;
39 int64_t callCount;
40
41 void __set_parent(const std::string& val);
42
43 void __set_child(const std::string& val);
44
45 void __set_callCount(const int64_t val);
46
47 bool operator == (const DependencyLink & rhs) const
48 {
49 if (!(parent == rhs.parent))
50 return false;
51 if (!(child == rhs.child))
52 return false;
53 if (!(callCount == rhs.callCount))
54 return false;
55 return true;
56 }
57 bool operator != (const DependencyLink &rhs) const {
58 return !(*this == rhs);
59 }
60
61 bool operator < (const DependencyLink & ) const;
62
63 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
64 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
65
66 virtual void printTo(std::ostream& out) const;
67 };
68
69 void swap(DependencyLink &a, DependencyLink &b);
70
71 std::ostream& operator<<(std::ostream& out, const DependencyLink& obj);
72
73
74 class Dependencies : public virtual ::apache::thrift::TBase {
75 public:
76
77 Dependencies(const Dependencies&);
78 Dependencies& operator=(const Dependencies&);
79 Dependencies() {
80 }
81
82 virtual ~Dependencies() throw();
83 std::vector<DependencyLink> links;
84
85 void __set_links(const std::vector<DependencyLink> & val);
86
87 bool operator == (const Dependencies & rhs) const
88 {
89 if (!(links == rhs.links))
90 return false;
91 return true;
92 }
93 bool operator != (const Dependencies &rhs) const {
94 return !(*this == rhs);
95 }
96
97 bool operator < (const Dependencies & ) const;
98
99 uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
100 uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
101
102 virtual void printTo(std::ostream& out) const;
103 };
104
105 void swap(Dependencies &a, Dependencies &b);
106
107 std::ostream& operator<<(std::ostream& out, const Dependencies& obj);
108
109 }} // namespace
110
111 #endif