XGCa
Public Member Functions | Private Attributes | List of all members
FileReader Class Reference

#include <file_reader.hpp>

Public Member Functions

void open (const std::string &input)
 
template<typename T >
void read (T *var, int n)
 
void skip (int n)
 
void skip_line ()
 
void skip_lines (int n)
 

Private Attributes

std::ifstream ifile
 
std::string filename
 

Member Function Documentation

◆ open()

void FileReader::open ( const std::string &  input)
inline
Here is the caller graph for this function:

◆ read()

template<typename T >
void FileReader::read ( T *  var,
int  n 
)
inline
Here is the caller graph for this function:

◆ skip()

void FileReader::skip ( int  n)
inline

◆ skip_line()

void FileReader::skip_line ( )
inline
Here is the caller graph for this function:

◆ skip_lines()

void FileReader::skip_lines ( int  n)
inline
Here is the call graph for this function:

Member Data Documentation

◆ filename

std::string FileReader::filename
private

◆ ifile

std::ifstream FileReader::ifile
private

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