#include <tools/ProgressiveColumnFileReader.hpp>
Progressive reader for column text files 
      
        
          | openfluid::tools::ProgressiveColumnFileReader::ProgressiveColumnFileReader | ( | const std::string & | FileName, | 
        
          |  |  | const std::string & | ColSeparators = " \t\r\n" | 
        
          |  | ) |  |  | 
      
 
Constructor 
- Parameters
- 
  
    | [in] | FileName | the file to open |  | [in] | ColSeparators | a list of columns separators. Default value is " \t\r\n" |  
 
 
 
  
  | 
        
          | virtual openfluid::tools::ProgressiveColumnFileReader::~ProgressiveColumnFileReader | ( |  | ) |  |  | inlinevirtual | 
 
 
  
  | 
        
          | std::string openfluid::tools::ProgressiveColumnFileReader::getFileName | ( |  | ) | const |  | inline | 
 
Returns the file name 
- Returns
- the file name 
 
 
      
        
          | bool openfluid::tools::ProgressiveColumnFileReader::getNextLine | ( | std::string & | Line | ) |  | 
      
 
Gets the next line of data in the file, as a single string 
- Parameters
- 
  
  
- Returns
- true if the next line has been read, false otherwise 
 
 
      
        
          | bool openfluid::tools::ProgressiveColumnFileReader::getNextLine | ( | std::vector< std::string > & | Values | ) |  | 
      
 
Gets the next line of data in the file, as a vector of strings 
- Parameters
- 
  
    | [out] | Values | the vector of read values |  
 
- Returns
- true if the next line has been read and splitted into a vector of strings, false otherwise 
 
 
      
        
          | void openfluid::tools::ProgressiveColumnFileReader::reset | ( |  | ) |  | 
      
 
Resets the internal iterator of the file 
 
 
  
  | 
        
          | std::string openfluid::tools::ProgressiveColumnFileReader::m_FileName |  | protected | 
 
 
The documentation for this class was generated from the following file: