Classes | Functions
SpyPlotHistoryReaderPrivate Namespace Reference

Classes

class  TimeStep
 

Functions

template<class T >
bool convert (const std::string &num, T &t)
 
void trim (std::string &string, const std::string &whitespace=" \")
 
int rowFromHeaderCol (const std::string &str)
 
std::string nameFromHeaderCol (const std::string &str)
 
void split (const std::string &s, const char &delim, std::vector< std::string > &elems)
 
void getMetaHeaderInfo (const std::string &s, const char &delim, std::map< std::string, int > &fields, std::map< int, std::string > &lookup)
 
void getTimeStepInfo (const std::string &s, const char &delim, std::map< int, std::string > &lookup, std::map< std::string, std::string > &info)
 
std::vector< std::stringcreateTableLayoutFromHeader (std::string &header, const char &delim, std::map< int, int > &columnIndexToRowId, std::map< int, std::string > &fieldCols)
 

Function Documentation

◆ convert()

template<class T >
bool SpyPlotHistoryReaderPrivate::convert ( const std::string num,
T &  t 
)

Definition at line 39 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ trim()

void SpyPlotHistoryReaderPrivate::trim ( std::string string,
const std::string whitespace = " \t\"" 
)
inline

Definition at line 47 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ rowFromHeaderCol()

int SpyPlotHistoryReaderPrivate::rowFromHeaderCol ( const std::string str)
inline

Definition at line 61 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ nameFromHeaderCol()

std::string SpyPlotHistoryReaderPrivate::nameFromHeaderCol ( const std::string str)
inline

Definition at line 75 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ split()

void SpyPlotHistoryReaderPrivate::split ( const std::string s,
const char &  delim,
std::vector< std::string > &  elems 
)
inline

Definition at line 89 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ getMetaHeaderInfo()

void SpyPlotHistoryReaderPrivate::getMetaHeaderInfo ( const std::string s,
const char &  delim,
std::map< std::string, int > &  fields,
std::map< int, std::string > &  lookup 
)
inline

Definition at line 101 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ getTimeStepInfo()

void SpyPlotHistoryReaderPrivate::getTimeStepInfo ( const std::string s,
const char &  delim,
std::map< int, std::string > &  lookup,
std::map< std::string, std::string > &  info 
)
inline

Definition at line 133 of file vtkSpyPlotHistoryReaderPrivate.h.

◆ createTableLayoutFromHeader()

std::vector<std::string> SpyPlotHistoryReaderPrivate::createTableLayoutFromHeader ( std::string header,
const char &  delim,
std::map< int, int > &  columnIndexToRowId,
std::map< int, std::string > &  fieldCols 
)
inline

Definition at line 159 of file vtkSpyPlotHistoryReaderPrivate.h.