umbra/projs/shadow-file-format/src/SFFParser.h
dpeter99 87e7c7d202 [BUILD] Removed cpp20 modules. As no IDE supports them they will not be used.
This should be re-evluated later when both VScode and Clion has support for them.
2022-06-15 16:31:15 +02:00

23 lines
343 B
C++

#pragma once
#include <string>
#include <iostream>
#include "SFFElement.h"
#include "SFFVersion.h"
namespace Shadow::SFF {
class SFFParser
{
public:
static SFFElement* ReadFromStream(std::istream& stream);
static SFFVersion ReadVersionFromHeader(std::istream& stream);
static SFFElement* ReadFromFile(std::string path);
};
}