// Copyright Low Entry. Apache License, Version 2.0. #include "LowEntryByteDataEntry.h" ULowEntryByteDataEntry::ULowEntryByteDataEntry(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) , ByteValue(0) , IntegerValue(0) , LongValue(0) , FloatValue(0) , DoubleValue(0) , BooleanValue(false) {} ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromByte(const uint8 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetByte(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromInteger(const int32 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetInteger(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger1(const int32 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger1(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger2(const int32 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger2(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger3(const int32 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger3(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromLong(const int64 Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetLong(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromLongBytes(ULowEntryLong* Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetLongBytes(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromFloat(const float Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetFloat(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromDouble(const double Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetDouble(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromDoubleBytes(ULowEntryDouble* Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetDoubleBytes(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromBoolean(const bool Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetBoolean(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromStringUtf8(const FString& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetStringUtf8(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromByteArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetByteArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromIntegerArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetIntegerArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger1Array(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger1Array(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger2Array(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger2Array(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromPositiveInteger3Array(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetPositiveInteger3Array(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromLongArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetLongArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromLongBytesArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetLongBytesArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromFloatArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetFloatArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromDoubleArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetDoubleArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromDoubleBytesArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetDoubleBytesArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromBooleanArray(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetBooleanArray(Value); return Instance; } ULowEntryByteDataEntry* ULowEntryByteDataEntry::CreateFromStringUtf8Array(const TArray& Value) { ULowEntryByteDataEntry* Instance = NewObject(); Instance->SetStringUtf8Array(Value); return Instance; } bool ULowEntryByteDataEntry::IsByte() { return (Type == 1); } void ULowEntryByteDataEntry::SetByte(const uint8 Value) { Type = 1; ByteValue = Value; } uint8 ULowEntryByteDataEntry::GetByte() { return ByteValue; } bool ULowEntryByteDataEntry::IsInteger() { return (Type == 2); } void ULowEntryByteDataEntry::SetInteger(const int32 Value) { Type = 2; IntegerValue = Value; } int32 ULowEntryByteDataEntry::GetInteger() { return IntegerValue; } bool ULowEntryByteDataEntry::IsPositiveInteger1() { return (Type == 8); } void ULowEntryByteDataEntry::SetPositiveInteger1(const int32 Value) { Type = 8; IntegerValue = Value; } int32 ULowEntryByteDataEntry::GetPositiveInteger1() { return IntegerValue; } bool ULowEntryByteDataEntry::IsPositiveInteger2() { return (Type == 9); } void ULowEntryByteDataEntry::SetPositiveInteger2(const int32 Value) { Type = 9; IntegerValue = Value; } int32 ULowEntryByteDataEntry::GetPositiveInteger2() { return IntegerValue; } bool ULowEntryByteDataEntry::IsPositiveInteger3() { return (Type == 10); } void ULowEntryByteDataEntry::SetPositiveInteger3(const int32 Value) { Type = 10; IntegerValue = Value; } int32 ULowEntryByteDataEntry::GetPositiveInteger3() { return IntegerValue; } bool ULowEntryByteDataEntry::IsLong() { return (Type == 11); } void ULowEntryByteDataEntry::SetLong(const int64 Value) { Type = 11; LongValue = Value; } int64 ULowEntryByteDataEntry::GetLong() { return LongValue; } bool ULowEntryByteDataEntry::IsLongBytes() { return (Type == 3); } void ULowEntryByteDataEntry::SetLongBytes(ULowEntryLong* Value) { Type = 3; LongBytesValue = Value; } ULowEntryLong* ULowEntryByteDataEntry::GetLongBytes() { return LongBytesValue; } bool ULowEntryByteDataEntry::IsFloat() { return (Type == 4); } void ULowEntryByteDataEntry::SetFloat(const float Value) { Type = 4; FloatValue = Value; } float ULowEntryByteDataEntry::GetFloat() { return FloatValue; } bool ULowEntryByteDataEntry::IsDouble() { return (Type == 16); } void ULowEntryByteDataEntry::SetDouble(const double Value) { Type = 16; DoubleValue = Value; } double ULowEntryByteDataEntry::GetDouble() { return DoubleValue; } bool ULowEntryByteDataEntry::IsDoubleBytes() { return (Type == 5); } void ULowEntryByteDataEntry::SetDoubleBytes(ULowEntryDouble* Value) { Type = 5; DoubleBytesValue = Value; } ULowEntryDouble* ULowEntryByteDataEntry::GetDoubleBytes() { return DoubleBytesValue; } bool ULowEntryByteDataEntry::IsBoolean() { return (Type == 6); } void ULowEntryByteDataEntry::SetBoolean(const bool Value) { Type = 6; BooleanValue = Value; } bool ULowEntryByteDataEntry::GetBoolean() { return BooleanValue; } bool ULowEntryByteDataEntry::IsStringUtf8() { return (Type == 7); } void ULowEntryByteDataEntry::SetStringUtf8(const FString& Value) { Type = 7; StringUtf8Value = Value; } FString ULowEntryByteDataEntry::GetStringUtf8() { return StringUtf8Value; } bool ULowEntryByteDataEntry::IsByteArray() { return (Type == 101); } void ULowEntryByteDataEntry::SetByteArray(const TArray& Value) { Type = 101; ByteArrayValue = Value; } TArray ULowEntryByteDataEntry::GetByteArray() { return ByteArrayValue; } bool ULowEntryByteDataEntry::IsIntegerArray() { return (Type == 102); } void ULowEntryByteDataEntry::SetIntegerArray(const TArray& Value) { Type = 102; IntegerArrayValue = Value; } TArray ULowEntryByteDataEntry::GetIntegerArray() { return IntegerArrayValue; } bool ULowEntryByteDataEntry::IsPositiveInteger1Array() { return (Type == 108); } void ULowEntryByteDataEntry::SetPositiveInteger1Array(const TArray& Value) { Type = 108; IntegerArrayValue = Value; } TArray ULowEntryByteDataEntry::GetPositiveInteger1Array() { return IntegerArrayValue; } bool ULowEntryByteDataEntry::IsPositiveInteger2Array() { return (Type == 109); } void ULowEntryByteDataEntry::SetPositiveInteger2Array(const TArray& Value) { Type = 109; IntegerArrayValue = Value; } TArray ULowEntryByteDataEntry::GetPositiveInteger2Array() { return IntegerArrayValue; } bool ULowEntryByteDataEntry::IsPositiveInteger3Array() { return (Type == 110); } void ULowEntryByteDataEntry::SetPositiveInteger3Array(const TArray& Value) { Type = 110; IntegerArrayValue = Value; } TArray ULowEntryByteDataEntry::GetPositiveInteger3Array() { return IntegerArrayValue; } bool ULowEntryByteDataEntry::IsLongArray() { return (Type == 111); } void ULowEntryByteDataEntry::SetLongArray(const TArray& Value) { Type = 111; LongArrayValue = Value; } TArray ULowEntryByteDataEntry::GetLongArray() { return LongArrayValue; } bool ULowEntryByteDataEntry::IsLongBytesArray() { return (Type == 103); } void ULowEntryByteDataEntry::SetLongBytesArray(const TArray& Value) { Type = 103; LongBytesArrayValue = Value; } TArray ULowEntryByteDataEntry::GetLongBytesArray() { return LongBytesArrayValue; } bool ULowEntryByteDataEntry::IsFloatArray() { return (Type == 104); } void ULowEntryByteDataEntry::SetFloatArray(const TArray& Value) { Type = 104; FloatArrayValue = Value; } TArray ULowEntryByteDataEntry::GetFloatArray() { return FloatArrayValue; } bool ULowEntryByteDataEntry::IsDoubleArray() { return (Type == 116); } void ULowEntryByteDataEntry::SetDoubleArray(const TArray& Value) { Type = 116; DoubleArrayValue = Value; } TArray ULowEntryByteDataEntry::GetDoubleArray() { return DoubleArrayValue; } bool ULowEntryByteDataEntry::IsDoubleBytesArray() { return (Type == 105); } void ULowEntryByteDataEntry::SetDoubleBytesArray(const TArray& Value) { Type = 105; DoubleBytesArrayValue = Value; } TArray ULowEntryByteDataEntry::GetDoubleBytesArray() { return DoubleBytesArrayValue; } bool ULowEntryByteDataEntry::IsBooleanArray() { return (Type == 106); } void ULowEntryByteDataEntry::SetBooleanArray(const TArray& Value) { Type = 106; BooleanArrayValue = Value; } TArray ULowEntryByteDataEntry::GetBooleanArray() { return BooleanArrayValue; } bool ULowEntryByteDataEntry::IsStringUtf8Array() { return (Type == 107); } void ULowEntryByteDataEntry::SetStringUtf8Array(const TArray& Value) { Type = 107; StringUtf8ArrayValue = Value; } TArray ULowEntryByteDataEntry::GetStringUtf8Array() { return StringUtf8ArrayValue; }