XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

void FileReader::open ( const std::string &  input)
inline

Here is the caller graph for this function:

template<typename T >
void FileReader::read ( T *  var,
int  n 
)
inline

Here is the caller graph for this function:

void FileReader::skip ( int  n)
inline
void FileReader::skip_line ( )
inline

Here is the caller graph for this function:

void FileReader::skip_lines ( int  n)
inline

Here is the call graph for this function:

Member Data Documentation

std::string FileReader::filename
private
std::ifstream FileReader::ifile
private

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