LeviLamina
Loading...
Searching...
No Matches
Candidate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/IceCandidateType.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace rtc { class SocketAddress; }
11// clang-format on
12
13namespace cricket {
14
15class Candidate {
16public:
17 // member variables
18 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI Candidate();
45
47
48 MCNAPI Candidate(
49 int,
50 ::std::string_view,
52 uint,
53 ::std::string_view,
54 ::std::string_view,
55 ::webrtc::IceCandidateType,
56 uint,
57 ::std::string_view,
58 ushort,
59 ushort
60 );
61
62 MCNAPI void ComputeFoundation(::rtc::SocketAddress const&, uint64);
63
65
66 MCNAPI uint GetPriority(uint, int, int, bool) const;
67
68 MCNAPI bool IsEquivalent(::cricket::Candidate const&) const;
69
70 MCNAPI bool MatchesForRemoval(::cricket::Candidate const&) const;
71
72 MCNAPI ::cricket::Candidate ToSanitizedCopy(bool, bool) const;
73
74 MCNAPI ::std::string ToStringInternal(bool) const;
75
76 MCNAPI void generate_id();
77
78 MCNAPI bool is_local() const;
79
80 MCNAPI bool is_prflx() const;
81
82 MCNAPI bool is_relay() const;
83
84 MCNAPI bool is_stun() const;
85
86 MCNAPI bool operator!=(::cricket::Candidate const&) const;
87
88 MCNAPI ::cricket::Candidate& operator=(::cricket::Candidate const&);
89
90 MCNAPI bool operator==(::cricket::Candidate const&) const;
91
92 MCNAPI void set_password(::std::string_view);
93
94 MCNAPI void set_username(::std::string_view);
95
96 MCNAPI ::std::string_view type_name() const;
97
98 MCNAPI ~Candidate();
99 // NOLINTEND
100
101public:
102 // static functions
103 // NOLINTBEGIN
104 MCNAPI static void Assign(::std::string&, ::std::string_view);
105 // NOLINTEND
106
107public:
108 // constructor thunks
109 // NOLINTBEGIN
110 MCNAPI void* $ctor();
111
112 MCNAPI void* $ctor(::cricket::Candidate const&);
113
114 MCNAPI void* $ctor(
115 int,
116 ::std::string_view,
118 uint,
119 ::std::string_view,
120 ::std::string_view,
121 ::webrtc::IceCandidateType,
122 uint,
123 ::std::string_view,
124 ushort,
125 ushort
126 );
127 // NOLINTEND
128
129public:
130 // destructor thunk
131 // NOLINTBEGIN
132 MCNAPI void $dtor();
133 // NOLINTEND
134};
135
136} // namespace cricket
Definition Candidate.h:15
static MCAPI void Assign(::std::string &, ::std::string_view)
MCAPI::cricket::Candidate ToSanitizedCopy(bool, bool) const
MCAPI bool MatchesForRemoval(::cricket::Candidate const &) const
MCAPI bool is_prflx() const
MCAPI Candidate(::cricket::Candidate const &)
MCAPI bool operator==(::cricket::Candidate const &) const
MCAPI void set_username(::std::string_view)
MCAPI void set_password(::std::string_view)
MCAPI bool is_local() const
MCAPI void generate_id()
MCAPI::std::string_view type_name() const
MCAPI bool is_relay() const
MCAPI void $dtor()
MCAPI bool is_stun() const
MCAPI bool operator!=(::cricket::Candidate const &) const
MCAPI void ComputePrflxFoundation()
MCAPI::std::string ToStringInternal(bool) const
MCAPI Candidate(int, ::std::string_view, ::rtc::SocketAddress const &, uint, ::std::string_view, ::std::string_view, ::webrtc::IceCandidateType, uint, ::std::string_view, ushort, ushort)
MCAPI::cricket::Candidate & operator=(::cricket::Candidate const &)
MCAPI void ComputeFoundation(::rtc::SocketAddress const &, uint64)
MCAPI void * $ctor()
MCAPI bool IsEquivalent(::cricket::Candidate const &) const
MCAPI uint GetPriority(uint, int, int, bool) const
MCAPI void * $ctor(::cricket::Candidate const &)
MCAPI void * $ctor(int, ::std::string_view, ::rtc::SocketAddress const &, uint, ::std::string_view, ::std::string_view, ::webrtc::IceCandidateType, uint, ::std::string_view, ushort, ushort)
Definition SocketAddress.h:12
Definition Alias.h:14