aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/csv/CsvParseState.hpp
blob: ee60c34ae8364a1285026d395ec92a6547e646be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <openvic-dataloader/csv/LineObject.hpp>
#include <openvic-dataloader/csv/Parser.hpp>

#include <lexy/encoding.hpp>

#include "File.hpp"
#include "ParseState.hpp"
#include "detail/InternalConcepts.hpp"

namespace ovdl::csv {
   using CsvParseState = ovdl::FileParseState<ovdl::BasicFile<std::vector<ovdl::csv::LineObject>>>;

   static_assert(detail::IsFileParseState<CsvParseState>, "CsvParseState failed IsFileParseState concept");
}