AsmGrader 0.0.0
Loading...
Searching...
No Matches
asmgrader::DatabaseReader Class Reference

Small CSV reader implementation for student names database Expects the specified file to contain a list of newline-seperated "lastname,firstname" entries, utf-8 encoded. More...

#include <database_reader.hpp>

Public Member Functions

 DatabaseReader (std::filesystem::path path)
 
Expected< std::vector< StudentInfo >, std::string > read () const
 

Detailed Description

Small CSV reader implementation for student names database Expects the specified file to contain a list of newline-seperated "lastname,firstname" entries, utf-8 encoded.

Constructor & Destructor Documentation

◆ DatabaseReader()

asmgrader::DatabaseReader::DatabaseReader ( std::filesystem::path path)
explicit

Member Function Documentation

◆ read()

Expected< std::vector< StudentInfo >, std::string > asmgrader::DatabaseReader::read ( ) const

The documentation for this class was generated from the following files: