mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-04-07 20:28:41 +00:00
chore: replace all usages of removed ClassUtils macros
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "Obj/Gdt/GdtEntry.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <istream>
|
||||
#include <string>
|
||||
@@ -16,14 +16,14 @@ class InfoString
|
||||
std::vector<std::string> m_keys_by_insertion;
|
||||
|
||||
public:
|
||||
_NODISCARD bool HasKey(const std::string& key) const;
|
||||
_NODISCARD const std::string& GetValueForKey(const std::string& key) const;
|
||||
[[nodiscard]] bool HasKey(const std::string& key) const;
|
||||
[[nodiscard]] const std::string& GetValueForKey(const std::string& key) const;
|
||||
const std::string& GetValueForKey(const std::string& key, bool* foundValue) const;
|
||||
void SetValueForKey(const std::string& key, std::string value);
|
||||
void RemoveKey(const std::string& key);
|
||||
|
||||
_NODISCARD std::string ToString() const;
|
||||
_NODISCARD std::string ToString(const std::string& prefix) const;
|
||||
[[nodiscard]] std::string ToString() const;
|
||||
[[nodiscard]] std::string ToString(const std::string& prefix) const;
|
||||
void ToGdtProperties(const std::string& prefix, GdtEntry& gdtEntry) const;
|
||||
|
||||
bool FromStream(std::istream& stream);
|
||||
|
||||
Reference in New Issue
Block a user