Files
botw/lib/NintendoSDK/include/nn/nex/string.h
T
Léo Lam 18c60323a9 Switch to subrepos
git subrepo clone https://github.com/open-ead/sead lib/sead

subrepo:
  subdir:   "lib/sead"
  merged:   "1b66e825d"
upstream:
  origin:   "https://github.com/open-ead/sead"
  branch:   "master"
  commit:   "1b66e825d"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone (merge) https://github.com/open-ead/nnheaders lib/NintendoSDK

subrepo:
  subdir:   "lib/NintendoSDK"
  merged:   "9ee21399f"
upstream:
  origin:   "https://github.com/open-ead/nnheaders"
  branch:   "master"
  commit:   "9ee21399f"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone https://github.com/open-ead/agl lib/agl

subrepo:
  subdir:   "lib/agl"
  merged:   "7c063271b"
upstream:
  origin:   "https://github.com/open-ead/agl"
  branch:   "master"
  commit:   "7c063271b"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

git subrepo clone https://github.com/open-ead/EventFlow lib/EventFlow

subrepo:
  subdir:   "lib/EventFlow"
  merged:   "c35d21b34"
upstream:
  origin:   "https://github.com/open-ead/EventFlow"
  branch:   "master"
  commit:   "c35d21b34"
git-subrepo:
  version:  "0.4.3"
  origin:   "ssh://git@github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"
2022-03-21 21:31:42 +01:00

47 lines
1.1 KiB
C++

/**
* @file string.h
* @brief NEX String Implementation.
*/
#pragma once
#include <nn/nex/RootObject.h>
namespace nn {
namespace nex {
class String : public nn::nex::RootObject {
public:
String();
String(const char*);
String(const wchar_t*);
String(const char16_t*);
String(const String&);
String(String&&);
String& operator=(String&&);
String& operator=(const char*);
String& operator=(const wchar_t*);
String& operator=(const String&);
String& operator=(const char16_t*);
String& operator+=(const String&);
String operator==(const String&);
bool operator<(nn::nex::String const&);
void Truncate(u64) const;
u64 GetLength() const;
void Reserve(u64);
void SetBufferChar(char*);
void SetStringToPreReservedBuffer(char const*);
s32 GetWideCharLength() const;
void CopyString(char*, u64) const;
void CreateCopy(wchar_t**) const;
void ReleaseCopy(wchar_t*);
void ToUpper();
void ToLower();
void DeleteContent();
template <typename T>
void Assign(T const*);
};
}; // namespace nex
}; // namespace nn