LeviLamina
Loading...
Searching...
No Matches
RakString.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/data_structures/List.h"
7
8namespace RakNet {
9
10class RakString {
11public:
12 // RakString inner types declare
13 // clang-format off
14 struct SharedString;
15 // clang-format on
16
17 // RakString inner types define
18 struct SharedString {
19 public:
20 // member variables
21 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 SharedString& operator=(SharedString const&);
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
41 // NOLINTEND
42
43public:
44 // prevent constructor by default
45 RakString& operator=(RakString const&);
46 RakString(RakString const&);
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI void Allocate(uint64 len);
52
53 MCAPI void Assign(char const* str);
54
55 MCAPI void Assign(char const* str, char* ap);
56
57 MCAPI void Free();
58
59 MCAPI RakString();
60
61 MCAPI RakString(char const*, ...);
62
63 MCAPI ~RakString();
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static void FreeMemoryNoMutex();
70 // NOLINTEND
71
72public:
73 // static variables
74 // NOLINTBEGIN
75 MCAPI static ::RakNet::RakString::SharedString& emptyString();
76
77 MCAPI static ::DataStructures::List<::RakNet::RakString::SharedString*>& freeList();
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor();
84
85 MCAPI void* $ctor(char const*, ...);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCAPI void $dtor();
92 // NOLINTEND
93};
94
95} // namespace RakNet
Definition RakString.h:10
Definition RakString.h:18
Definition Alias.h:14