Files
alexei lebedev 2815323fbc [mutable] Moved the Mutable plugin out of Experimental status into Beta.
#jira UE-223488
#rb jordi.rovira
#tests Editor
#rnx

#virtualized

[CL 36035608 by alexei lebedev in ue5-main branch]
2024-09-05 07:16:19 -04:00

55 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuR/MutableString.h"
namespace mu {
//---------------------------------------------------------------------------------------------
String::String( const FString& InValue)
{
Value = InValue;
}
////---------------------------------------------------------------------------------------------
//void String::Serialise( const String* p, OutputArchive& arch )
//{
// arch << *p;
//}
////---------------------------------------------------------------------------------------------
//Ptr<String> String::StaticUnserialise( InputArchive& arch )
//{
// Ptr<String> pResult = new String();
// arch >> *pResult;
// return pResult;
//}
//---------------------------------------------------------------------------------------------
Ptr<String> String::Clone() const
{
Ptr<String> pResult = new String(Value);
return pResult;
}
//---------------------------------------------------------------------------------------------
int32 String::GetDataSize() const
{
return sizeof(String) + Value.GetAllocatedSize();
}
//---------------------------------------------------------------------------------------------
const FString& String::GetValue() const
{
return Value;
}
}