mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-12 07:48:16 -05:00
clang formatting
This commit is contained in:
@ -14,7 +14,7 @@ const std::string ParsedCsvRow::GetValue(const std::string& header, bool require
|
||||
std::cerr << "ERROR: Required column \"" << header << "\" was not found";
|
||||
else
|
||||
std::cerr << "WARNING: Expected column \"" << header << "\" was not found";
|
||||
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ public:
|
||||
explicit ParsedCsvRow(std::unordered_map<std::string, size_t>& headers, std::vector<std::string>& row);
|
||||
const std::string GetValue(const std::string& header, bool required = false) const;
|
||||
const float GetValueFloat(const std::string& header, bool required = false) const;
|
||||
|
||||
|
||||
template<typename T> T GetValueInt(const std::string& header, bool required = false) const
|
||||
{
|
||||
const auto& value = this->GetValue(header, required);
|
||||
@ -35,8 +35,8 @@ class ParsedCsv
|
||||
|
||||
public:
|
||||
explicit ParsedCsv(const CsvInputStream& inputStream, bool hasHeaders = true);
|
||||
|
||||
|
||||
size_t Size() const;
|
||||
|
||||
ParsedCsvRow operator[](size_t index) const;
|
||||
};
|
||||
};
|
||||
|
@ -44,4 +44,4 @@ struct WavHeader
|
||||
WavChunkHeader chunkHeader;
|
||||
WavFormatChunkPcm formatChunk;
|
||||
WavChunkHeader subChunkHeader;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user