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
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~StunErrorCodeAttribute() /*override*/;
37
38 // vIndex: 1
39 virtual ::cricket::StunAttributeValueType value_type() const /*override*/;
40
41 // vIndex: 3
42 virtual bool Read(::rtc::ByteBufferReader* buf) /*override*/;
43
44 // vIndex: 4
45 virtual bool Write(::rtc::ByteBufferWriter* buf) const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI void SetCode(int code);
52
53 MCNAPI void SetReason(::std::string const& reason);
54
55 MCNAPI StunErrorCodeAttribute(ushort type, ushort length);
56
57 MCNAPI int code() const;
58 // NOLINTEND
59
60public:
61 // static variables
62 // NOLINTBEGIN
63 MCNAPI static ushort const& MIN_SIZE();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(ushort type, ushort length);
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCNAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI ::cricket::StunAttributeValueType $value_type() const;
82
83 MCNAPI bool $Read(::rtc::ByteBufferReader* buf);
84
85 MCNAPI bool $Write(::rtc::ByteBufferWriter* buf) const;
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
94
95} // namespace cricket
Definition StunAttribute.h:20
Definition StunErrorCodeAttribute.h:17
MCAPI bool $Write(::rtc::ByteBufferWriter *buf) const
MCAPI StunErrorCodeAttribute(ushort type, ushort length)
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 * $ctor(ushort type, ushort length)
MCAPI void SetReason(::std::string const &reason)
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11
Definition Read.h:6
Definition Write.h:6
Definition code.h:5
Definition Alias.h:14