23 OutFile.write(
reinterpret_cast<const char *
>(&InObj),
sizeof(T));
29 WriteValue<uint32_t>(OutFile, InVec.size());
30 for (
const auto& InObj : InVec)
32 WriteValue<T>(OutFile, InObj);
37void WriteTArray(std::ostream &OutFile,
const TArray<T> &InVec)
39 WriteValue<uint32_t>(OutFile, InVec.Num());
40 for (
const auto& InObj : InVec)
42 WriteValue<T>(OutFile, InObj);
47void WriteFVector(std::ostream &OutFile,
const FVector &InObj);
52void WriteFString(std::ostream &OutFile,
const FString &InObj);
62 InFile.read(
reinterpret_cast<char *
>(&OutObj),
sizeof(T));
69 ReadValue<uint32_t>(InFile, VecSize);
71 for (uint32_t i = 0; i < VecSize; ++i)
74 ReadValue<T>(InFile, InObj);
75 OutVec.push_back(InObj);
83 ReadValue<uint32_t>(InFile, VecSize);
85 for (uint32_t i = 0; i < VecSize; ++i)
88 ReadValue<T>(InFile, InObj);
94void ReadFVector(std::istream &InFile, FVector &OutObj);
99void ReadFString(std::istream &InFile, FString &OutObj);
void WriteTArray(std::ostream &OutFile, const TArray< T > &InVec)
void ReadTransform(std::ifstream &InFile, FTransform &OutObj)
void WriteFTransform(std::ofstream &OutFile, const FTransform &InObj)
void WriteFString(std::ostream &OutFile, const FString &InObj)
void ReadFString(std::istream &InFile, FString &OutObj)
void WriteStdVector(std::ostream &OutFile, const std::vector< T > &InVec)
void ReadTArray(std::istream &InFile, TArray< T > &OutVec)
void ReadStdVector(std::istream &InFile, std::vector< T > &OutVec)
void WriteFVector(std::ostream &OutFile, const FVector &InObj)
void WriteValue(std::ostream &OutFile, const T &InObj)
void ReadFVector(std::istream &InFile, FVector &OutObj)
std::string GetRecorderFilename(std::string Filename)
void ReadValue(std::istream &InFile, T &OutObj)