LeviLamina
Loading...
Searching...
No Matches
StunByteStringAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StunAttribute.h"
7#include "mc/external/webrtc/StunAttributeValueType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class ByteBufferReader; }
12namespace webrtc { class ByteBufferWriter; }
13// clang-format on
14
15namespace webrtc {
16
17class StunByteStringAttribute : public ::webrtc::StunAttribute {
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 StunByteStringAttribute& operator=(StunByteStringAttribute const&);
27 StunByteStringAttribute(StunByteStringAttribute const&);
28 StunByteStringAttribute();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~StunByteStringAttribute() /*override*/ = default;
34
35 virtual ::webrtc::StunAttributeValueType value_type() const /*override*/;
36
37 virtual bool Read(::webrtc::ByteBufferReader* buf) /*override*/;
38
39 virtual bool Write(::webrtc::ByteBufferWriter* buf) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI ::std::optional<::std::vector<uint>> GetUInt32Vector() const;
46
47 MCNAPI explicit StunByteStringAttribute(ushort type);
48
49 MCNAPI StunByteStringAttribute(ushort type, ::std::string_view str);
50
51 MCNAPI StunByteStringAttribute(ushort type, ::std::vector<uint> const& values);
52
53 MCNAPI StunByteStringAttribute(ushort type, void const* bytes, uint64 length);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(ushort type);
60
61 MCNAPI void* $ctor(ushort type, ::std::string_view str);
62
63 MCNAPI void* $ctor(ushort type, ::std::vector<uint> const& values);
64
65 MCNAPI void* $ctor(ushort type, void const* bytes, uint64 length);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI ::webrtc::StunAttributeValueType $value_type() const;
72
74
75 MCNAPI bool $Write(::webrtc::ByteBufferWriter* buf) const;
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
86
87} // namespace webrtc
Definition ByteBufferReader.h:15
Definition ByteBufferWriter.h:11
Definition StunAttribute.h:20
MCAPI ::std::optional<::std::vector< uint > > GetUInt32Vector() const
MCAPI StunByteStringAttribute(ushort type, ::std::vector< uint > const &values)
MCAPI void * $ctor(ushort type, void const *bytes, uint64 length)
MCAPI StunByteStringAttribute(ushort type, void const *bytes, uint64 length)
MCAPI bool $Write(::webrtc::ByteBufferWriter *buf) const
MCAPI::webrtc::StunAttributeValueType $value_type() const
MCAPI StunByteStringAttribute(ushort type, ::std::string_view str)
static MCAPI void ** $vftable()
MCAPI void * $ctor(ushort type, ::std::vector< uint > const &values)
MCAPI void * $ctor(ushort type, ::std::string_view str)
MCAPI StunByteStringAttribute(ushort type)
MCAPI bool $Read(::webrtc::ByteBufferReader *buf)
MCAPI void * $ctor(ushort type)
Definition Alias.h:14