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);
37 void 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);
47 void WriteFVector(std::ostream &OutFile,
const FVector &InObj);
52 void 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);
94 void ReadFVector(std::istream &InFile, FVector &OutObj);
97 void ReadTransform(std::ifstream &InFile, FTransform &OutObj);
99 void ReadFString(std::istream &InFile, FString &OutObj);
void ReadValue(std::istream &InFile, T &OutObj)
void ReadFString(std::istream &InFile, FString &OutObj)
void WriteTArray(std::ostream &OutFile, const TArray< T > &InVec)
void WriteFString(std::ostream &OutFile, const FString &InObj)
void WriteFVector(std::ostream &OutFile, const FVector &InObj)
void WriteStdVector(std::ostream &OutFile, const std::vector< T > &InVec)
void ReadFVector(std::istream &InFile, FVector &OutObj)
std::string GetRecorderFilename(std::string Filename)
void ReadTransform(std::ifstream &InFile, FTransform &OutObj)
void WriteValue(std::ostream &OutFile, const T &InObj)
void WriteFTransform(std::ofstream &OutFile, const FTransform &InObj)
void ReadTArray(std::istream &InFile, TArray< T > &OutVec)
void ReadStdVector(std::istream &InFile, std::vector< T > &OutVec)