You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-223488 #rb jordi.rovira #tests Editor #rnx #virtualized [CL 36035608 by alexei lebedev in ue5-main branch]
55 lines
1.3 KiB
C++
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;
|
|
}
|
|
|
|
}
|
|
|