]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/jaeger-client-cpp/src/jaegertracing/thrift-gen/dependency_types.h
2 * Autogenerated by Thrift Compiler (0.11.0)
4 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
7 #ifndef dependency_TYPES_H
8 #define dependency_TYPES_H
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>
21 namespace jaegertracing
{ namespace thrift
{
28 class DependencyLink
: public virtual ::apache::thrift::TBase
{
31 DependencyLink(const DependencyLink
&);
32 DependencyLink
& operator=(const DependencyLink
&);
33 DependencyLink() : parent(), child(), callCount(0) {
36 virtual ~DependencyLink() throw();
41 void __set_parent(const std::string
& val
);
43 void __set_child(const std::string
& val
);
45 void __set_callCount(const int64_t val
);
47 bool operator == (const DependencyLink
& rhs
) const
49 if (!(parent
== rhs
.parent
))
51 if (!(child
== rhs
.child
))
53 if (!(callCount
== rhs
.callCount
))
57 bool operator != (const DependencyLink
&rhs
) const {
58 return !(*this == rhs
);
61 bool operator < (const DependencyLink
& ) const;
63 uint32_t read(::apache::thrift::protocol::TProtocol
* iprot
);
64 uint32_t write(::apache::thrift::protocol::TProtocol
* oprot
) const;
66 virtual void printTo(std::ostream
& out
) const;
69 void swap(DependencyLink
&a
, DependencyLink
&b
);
71 std::ostream
& operator<<(std::ostream
& out
, const DependencyLink
& obj
);
74 class Dependencies
: public virtual ::apache::thrift::TBase
{
77 Dependencies(const Dependencies
&);
78 Dependencies
& operator=(const Dependencies
&);
82 virtual ~Dependencies() throw();
83 std::vector
<DependencyLink
> links
;
85 void __set_links(const std::vector
<DependencyLink
> & val
);
87 bool operator == (const Dependencies
& rhs
) const
89 if (!(links
== rhs
.links
))
93 bool operator != (const Dependencies
&rhs
) const {
94 return !(*this == rhs
);
97 bool operator < (const Dependencies
& ) const;
99 uint32_t read(::apache::thrift::protocol::TProtocol
* iprot
);
100 uint32_t write(::apache::thrift::protocol::TProtocol
* oprot
) const;
102 virtual void printTo(std::ostream
& out
) const;
105 void swap(Dependencies
&a
, Dependencies
&b
);
107 std::ostream
& operator<<(std::ostream
& out
, const Dependencies
& obj
);