pktools  2.6.7
Processing Kernel for geospatial data
Public Member Functions | Protected Attributes | List of all members
FileReaderAscii Class Reference
Collaboration diagram for FileReaderAscii:
Collaboration graph
[legend]

Public Member Functions

 FileReaderAscii (const std::string &filename)
 
 FileReaderAscii (const std::string &filename, const char &fieldseparator)
 
void reset ()
 
void open (const std::string &filename)
 
void close (void)
 
void setFieldSeparator (const char &fieldseparator)
 
void setMinRow (int minRow)
 
void setMaxRow (int maxRow)
 
void setComment (char comment)
 
unsigned int nrOfCol (bool checkCols=false, bool verbose=false)
 
unsigned int nrOfRow (bool checkCols=false, bool verbose=false)
 
template<class T >
unsigned int readData (std::vector< std::vector< T > > &dataVector, const std::vector< int > &cols, double scale=1.0, double offset=0.0, bool transpose=false, bool verbose=false)
 
template<class T >
unsigned int readData (std::vector< T > &dataVector, int col, double scale=1.0, double offset=0, bool verbose=false)
 

Protected Attributes

std::string m_filename
 
std::ifstream m_ifstream
 
char m_fs
 
char m_comment
 
double m_min
 
double m_max
 
int m_minRow
 
int m_maxRow
 

Detailed Description

Definition at line 30 of file FileReaderAscii.h.


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