Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
openfluid::tools::ChronFileInterpolator Class Referenceabstract

#include <tools/ChronFileInterpolator.hpp>

Inheritance diagram for openfluid::tools::ChronFileInterpolator:
Inheritance graph
[legend]
Collaboration diagram for openfluid::tools::ChronFileInterpolator:
Collaboration graph
[legend]

Public Types

enum  PreProcess { PREPROCESS_NONE, PREPROCESS_CUMULATE }
 

Public Member Functions

 ChronFileInterpolator (const std::string &InFilePath, const std::string &OutFilePath, const openfluid::core::DateTime &BeginDate, const openfluid::core::DateTime &EndDate, const openfluid::core::Duration_t &DeltaT, PreProcess PrePcs=PREPROCESS_NONE)
 
virtual ~ChronFileInterpolator ()
 
virtual void runInterpolation ()=0
 
std::string getInColumnSeparators () const
 
void setInColumnSeparators (const std::string &InColumnSeparators)
 
std::string getInCommentChar () const
 
void setInCommentChar (const std::string &InCommentChar)
 
std::string getInDateFormat () const
 
void setInDateFormat (const std::string &InDateFormat)
 
std::string getInFilePath () const
 
std::string getOutColumnSeparator () const
 
void setOutColumnSeparator (const std::string &OutColumnSeparator)
 
std::string getOutCommentChar () const
 
void setOutCommentChar (const std::string &OutCommentChar)
 
std::string getOutDateFormat () const
 
void setOutDateFormat (const std::string &OutDateFormat)
 
std::string getOutFilePath () const
 
openfluid::core::DateTime getBeginDate () const
 
openfluid::core::Duration_t getDeltaT () const
 
openfluid::core::DateTime getEndDate () const
 
PreProcess getPreProcess () const
 

Protected Member Functions

void loadInFile (ChronologicalSerie &Data)
 

Static Protected Member Functions

static void displayChronSerie (ChronologicalSerie &Data)
 

Protected Attributes

std::string m_InFilePath
 
std::string m_InDateFormat
 
std::string m_InColumnSeparators
 
std::string m_InCommentChar
 
std::string m_OutFilePath
 
std::string m_OutDateFormat
 
std::string m_OutColumnSeparator
 
std::string m_OutCommentChar
 
openfluid::core::DateTime m_BeginDate
 
openfluid::core::DateTime m_EndDate
 
openfluid::core::Duration_t m_DeltaT
 
PreProcess m_PreProcess
 

Member Enumeration Documentation

Enumerator
PREPROCESS_NONE 
PREPROCESS_CUMULATE 

Constructor & Destructor Documentation

openfluid::tools::ChronFileInterpolator::ChronFileInterpolator ( const std::string &  InFilePath,
const std::string &  OutFilePath,
const openfluid::core::DateTime BeginDate,
const openfluid::core::DateTime EndDate,
const openfluid::core::Duration_t DeltaT,
PreProcess  PrePcs = PREPROCESS_NONE 
)
virtual openfluid::tools::ChronFileInterpolator::~ChronFileInterpolator ( )
virtual

Member Function Documentation

static void openfluid::tools::ChronFileInterpolator::displayChronSerie ( ChronologicalSerie Data)
inlinestaticprotected
openfluid::core::DateTime openfluid::tools::ChronFileInterpolator::getBeginDate ( ) const
inline
openfluid::core::Duration_t openfluid::tools::ChronFileInterpolator::getDeltaT ( ) const
inline
openfluid::core::DateTime openfluid::tools::ChronFileInterpolator::getEndDate ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getInColumnSeparators ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getInCommentChar ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getInDateFormat ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getInFilePath ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getOutColumnSeparator ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getOutCommentChar ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getOutDateFormat ( ) const
inline
std::string openfluid::tools::ChronFileInterpolator::getOutFilePath ( ) const
inline
PreProcess openfluid::tools::ChronFileInterpolator::getPreProcess ( ) const
inline
void openfluid::tools::ChronFileInterpolator::loadInFile ( ChronologicalSerie Data)
protected
virtual void openfluid::tools::ChronFileInterpolator::runInterpolation ( )
pure virtual
void openfluid::tools::ChronFileInterpolator::setInColumnSeparators ( const std::string &  InColumnSeparators)
inline
void openfluid::tools::ChronFileInterpolator::setInCommentChar ( const std::string &  InCommentChar)
inline
void openfluid::tools::ChronFileInterpolator::setInDateFormat ( const std::string &  InDateFormat)
inline
void openfluid::tools::ChronFileInterpolator::setOutColumnSeparator ( const std::string &  OutColumnSeparator)
inline
void openfluid::tools::ChronFileInterpolator::setOutCommentChar ( const std::string &  OutCommentChar)
inline
void openfluid::tools::ChronFileInterpolator::setOutDateFormat ( const std::string &  OutDateFormat)
inline

Member Data Documentation

openfluid::core::DateTime openfluid::tools::ChronFileInterpolator::m_BeginDate
protected
openfluid::core::Duration_t openfluid::tools::ChronFileInterpolator::m_DeltaT
protected
openfluid::core::DateTime openfluid::tools::ChronFileInterpolator::m_EndDate
protected
std::string openfluid::tools::ChronFileInterpolator::m_InColumnSeparators
protected
std::string openfluid::tools::ChronFileInterpolator::m_InCommentChar
protected
std::string openfluid::tools::ChronFileInterpolator::m_InDateFormat
protected
std::string openfluid::tools::ChronFileInterpolator::m_InFilePath
protected
std::string openfluid::tools::ChronFileInterpolator::m_OutColumnSeparator
protected
std::string openfluid::tools::ChronFileInterpolator::m_OutCommentChar
protected
std::string openfluid::tools::ChronFileInterpolator::m_OutDateFormat
protected
std::string openfluid::tools::ChronFileInterpolator::m_OutFilePath
protected
PreProcess openfluid::tools::ChronFileInterpolator::m_PreProcess
protected

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