Alexandria  2.19
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
AsciiReaderHelper.h File Reference
#include <istream>
#include <map>
#include <string>
#include <typeindex>
#include "ElementsKernel/Export.h"
#include "Table/Row.h"
Include dependency graph for AsciiReaderHelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Euclid::Table::StreamRewinder
 This class gets a stream as argument during construction and when it is deleted it sets the position of the stream back to where it was during the constructor call. More...
 

Namespaces

 Euclid
 
 Euclid::Table
 

Functions

size_t Euclid::Table::countColumns (std::istream &in, const std::string &comment)
 Returns the number of whitespace separated tokens of the first non commented line. More...
 
std::map< std::string,
ColumnDescription > 
Euclid::Table::autoDetectColumnDescriptions (std::istream &in, const std::string &comment)
 Reads the column descriptions of the given stream. More...
 
std::vector< std::stringEuclid::Table::autoDetectColumnNames (std::istream &in, const std::string &comment, size_t columns_number)
 Reads the column names of the given stream. More...
 
Row::cell_type Euclid::Table::convertToCellType (const std::string &value, std::type_index type)
 Converts the given value to a Row::cell_type of the given type. More...
 
bool Euclid::Table::hasNextRow (std::istream &in, const std::string &comment)
 
std::size_t Euclid::Table::countRemainingRows (std::istream &in, const std::string &comment)
 

Detailed Description

Date
April 15, 2014
Author
Nikolaos Apostolakos

Definition in file AsciiReaderHelper.h.