CommonLibVR
Loading...
Searching...
No Matches
hkStringPtr.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
6 {
7 public:
8 hkStringPtr(const char* a_data);
9
10 // member types
11 using size_type = std::int32_t;
12
13 // members access
14 [[nodiscard]] const char* data() const noexcept;
15 [[nodiscard]] const char* c_str() const noexcept;
16
17 // capacity
18 [[nodiscard]] bool empty() const noexcept;
19 [[nodiscard]] size_type size() const;
20 [[nodiscard]] size_type length() const;
21
22 protected:
23 enum
24 {
25 kManaged = 1 << 0
26 };
27
28 const char* _data; // 0
29 private:
31 };
32 static_assert(sizeof(hkStringPtr) == 0x8);
33}
#define KEEP_FOR_RE()
Definition PCH.h:517
Definition hkStringPtr.h:6
bool empty() const noexcept
std::int32_t size_type
Definition hkStringPtr.h:11
const char * _data
Definition hkStringPtr.h:28
hkStringPtr(const char *a_data)
const char * c_str() const noexcept
size_type length() const
@ kManaged
Definition hkStringPtr.h:25
size_type size() const
const char * data() const noexcept
Definition AbsorbEffect.h:6