LeviLamina
Loading...
Searching...
No Matches
StunErrorCodeAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/StunAttribute.h"
7#include "mc/external/cricket/StunAttributeValueType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class ByteBufferReader; }
12namespace rtc { class ByteBufferWriter; }
13// clang-format on
14
15namespace cricket {
16
17class StunErrorCodeAttribute : public ::cricket::StunAttribute {
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 StunErrorCodeAttribute& operator=(StunErrorCodeAttribute const&);
29 StunErrorCodeAttribute(StunErrorCodeAttribute const&);
30 StunErrorCodeAttribute();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~StunErrorCodeAttribute() /*override*/ = default;
36
37 virtual ::cricket::StunAttributeValueType value_type() const /*override*/;
38
39 virtual bool Read(::rtc::ByteBufferReader* buf) /*override*/;
40
41 virtual bool Write(::rtc::ByteBufferWriter* buf) const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCNAPI void SetCode(int code);
48
49 MCNAPI void SetReason(::std::string const& reason);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static ushort const& MIN_SIZE();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCNAPI ::cricket::StunAttributeValueType $value_type() const;
62
63 MCNAPI bool $Read(::rtc::ByteBufferReader* buf);
64
65 MCNAPI bool $Write(::rtc::ByteBufferWriter* buf) const;
66
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
76
77} // namespace cricket
Definition StunAttribute.h:20
MCAPI bool $Write(::rtc::ByteBufferWriter *buf) const
MCAPI bool $Read(::rtc::ByteBufferReader *buf)
static MCAPI void ** $vftable()
static MCAPI ushort const & MIN_SIZE()
MCAPI void SetCode(int code)
MCAPI::cricket::StunAttributeValueType $value_type() const
MCAPI void SetReason(::std::string const &reason)
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11
Definition code.h:5
Definition Alias.h:14