mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 23:38:09 -05:00
Read assetlists for ignoring assets
This commit is contained in:
25
src/ZoneCommon/Zone/AssetList/AssetListStream.h
Normal file
25
src/ZoneCommon/Zone/AssetList/AssetListStream.h
Normal file
@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
|
||||
#include "AssetList.h"
|
||||
#include "Csv/CsvStream.h"
|
||||
|
||||
class AssetListInputStream
|
||||
{
|
||||
CsvInputStream m_stream;
|
||||
|
||||
public:
|
||||
explicit AssetListInputStream(std::istream& stream);
|
||||
|
||||
bool NextEntry(AssetListEntry& entry) const;
|
||||
};
|
||||
|
||||
class AssetListOutputStream
|
||||
{
|
||||
CsvOutputStream m_stream;
|
||||
|
||||
public:
|
||||
explicit AssetListOutputStream(std::ostream& stream);
|
||||
|
||||
void WriteEntry(const AssetListEntry& entry);
|
||||
};
|
Reference in New Issue
Block a user