indigoX
FileReader Class Reference

Class for reading simple text file from disk. More...

#include <indigox/utils/filereader.hpp>

Public Member Functions

 FileReader ()=delete
 
 FileReader (const std::string &)
 Normal constructor. More...
 
void GetAllLines (std::vector< std::string > &)
 Reads the file from disk. More...
 
void SetFilePath (const std::string &p)
 

Detailed Description

Class for reading simple text file from disk.

Loads a simple text file from disk.

Since
0.1

Constructor & Destructor Documentation

◆ FileReader() [1/2]

FileReader ( )
delete

◆ FileReader() [2/2]

FileReader ( const std::string &  )

Normal constructor.

Member Function Documentation

◆ GetAllLines()

void GetAllLines ( std::vector< std::string > &  )

Reads the file from disk.

◆ SetFilePath()

void SetFilePath ( const std::string &  p)
inline

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