初始提交: UE5.3项目基础框架

This commit is contained in:
2025-10-14 11:14:54 +08:00
commit 721d9fd98e
5334 changed files with 316782 additions and 0 deletions

View File

@ -0,0 +1,31 @@
#pragma once
#include "JsonHandler.h"
#include "Library.h"
#include <string>
namespace CesiumJsonReader {
/**
* @brief \ref IJsonHandler for reading string values.
*/
class CESIUMJSONREADER_API StringJsonHandler : public JsonHandler {
public:
StringJsonHandler() noexcept;
/**
* @brief Resets the parent \ref IJsonHandler of this handler, and the pointer
* to its destination string value.
*/
void reset(IJsonHandler* pParent, std::string* pString);
/**
* @brief Obtains the pointer to the current destination string value of this
* handler.
*/
std::string* getObject() noexcept;
/** @copydoc IJsonHandler::readString */
virtual IJsonHandler* readString(const std::string_view& str) override;
private:
std::string* _pString = nullptr;
};
} // namespace CesiumJsonReader