Documentation for OpenFLUID 2.2.0
openfluid::tools::ProgressiveChronFileReader< DataType > Class Template Reference

#include <tools/ProgressiveChronFileReader.hpp>

Public Member Functions

 ProgressiveChronFileReader (const std::string &FileName, const std::string &DateFormat="%Y-%m-%dT%H:%M:%S", const std::string &ColSeparators=" \t\r\n")
 
virtual ~ProgressiveChronFileReader ()
 
bool getNextValue (ChronItem_t< DataType > &Value)
 
bool OPENFLUID_API getNextValue (ChronItem_t< double > &Value)
 
bool OPENFLUID_API getNextValue (ChronItem_t< std::vector< std::string >> &Value)
 
- Public Member Functions inherited from openfluid::tools::ProgressiveColumnFileReader
 ProgressiveColumnFileReader (const std::string &FileName, const std::string &ColSeparators=" \t\r\n")
 
virtual ~ProgressiveColumnFileReader ()
 
bool getNextLine (std::string &Line)
 
bool getNextLine (std::vector< std::string > &Values)
 
void reset ()
 
std::string getFileName () const
 

Additional Inherited Members

- Protected Attributes inherited from openfluid::tools::ProgressiveColumnFileReader
std::string m_FileName
 
std::string m_ColSeparators
 
Inheritance diagram for openfluid::tools::ProgressiveChronFileReader< DataType >:
Collaboration diagram for openfluid::tools::ProgressiveChronFileReader< DataType >:

Constructor & Destructor Documentation

◆ ProgressiveChronFileReader()

template<class DataType >
openfluid::tools::ProgressiveChronFileReader< DataType >::ProgressiveChronFileReader ( const std::string &  FileName,
const std::string &  DateFormat = "%Y-%m-%dT%H:%M:%S",
const std::string &  ColSeparators = " \t\r\n" 
)
inline

◆ ~ProgressiveChronFileReader()

template<class DataType >
virtual openfluid::tools::ProgressiveChronFileReader< DataType >::~ProgressiveChronFileReader ( )
inlinevirtual

Member Function Documentation

◆ getNextValue() [1/3]

template<class DataType >
bool openfluid::tools::ProgressiveChronFileReader< DataType >::getNextValue ( ChronItem_t< DataType > &  Value)

◆ getNextValue() [2/3]

bool OPENFLUID_API openfluid::tools::ProgressiveChronFileReader< double >::getNextValue ( ChronItem_t< double > &  Value)
inline

◆ getNextValue() [3/3]

bool OPENFLUID_API openfluid::tools::ProgressiveChronFileReader< std::vector< std::string > >::getNextValue ( ChronItem_t< std::vector< std::string >> &  Value)
inline

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