Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

57 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Misc/AssertionMacros.h"
#include "MuR/Ptr.h"
#include "MuR/RefCounted.h"
#include "MuR/Serialisation.h"
#include "MuR/SerialisationPrivate.h"
#define UE_API MUTABLERUNTIME_API
namespace UE::Mutable::Private
{
/** Container for text string data. */
class String : public FResource
{
public:
//-----------------------------------------------------------------------------------------
// Life cycle
//-----------------------------------------------------------------------------------------
UE_API String(const FString&);
//! Deep clone this string.
UE_API TSharedPtr<String> Clone() const;
// Resource interface
UE_API int32 GetDataSize() const override;
//-----------------------------------------------------------------------------------------
// Own interface
//-----------------------------------------------------------------------------------------
//! Get the string data.
UE_API const FString& GetValue() const;
public:
//!
FString Value;
//!
inline bool operator==(const String& o) const
{
return (Value == o.Value);
}
};
}
#undef UE_API