LeviLamina
Loading...
Searching...
No Matches
IPAddress.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace rtc {
6
7class IPAddress {
8public:
9 // member variables
10 // NOLINTBEGIN
13 // NOLINTEND
14
15public:
16 // prevent constructor by default
17 IPAddress& operator=(IPAddress const&);
18 IPAddress(IPAddress const&);
19 IPAddress();
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 0
25 virtual ~IPAddress();
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::rtc::IPAddress AsIPv6Address() const;
32
33 MCAPI bool IsNil() const;
34
35 MCAPI ::std::string ToSensitiveString() const;
36
37 MCAPI ::std::string ToString() const;
38
39 MCAPI ::in_addr ipv4_address() const;
40
41 MCAPI ::in6_addr ipv6_address() const;
42
43 MCAPI bool operator!=(::rtc::IPAddress const&) const;
44
45 MCAPI bool operator<(::rtc::IPAddress const&) const;
46
47 MCAPI bool operator==(::rtc::IPAddress const&) const;
48
49 MCAPI int overhead() const;
50
51 MCAPI uint v4AddressAsHostOrderInteger() const;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCFOLD void $dtor();
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
66
67} // namespace rtc
Definition IPAddress.h:7
Definition Alias.h:14