icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Functions
shapeIOtextParsers2.cpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <cmath>
#include <icedb/fs_backend.hpp>
#include <boost/lexical_cast.hpp>
#include "shape.hpp"
Include dependency graph for shapeIOtextParsers2.cpp:

Go to the source code of this file.

Namespaces

 icedb
 
 icedb::Examples
 
 icedb::Examples::Shapes
 

Functions

size_t icedb::Examples::Shapes::strints_array_to_floats (const char *in, const size_t inlen, float *out, const size_t outlen, float &max_element)
 
size_t icedb::Examples::Shapes::array_to_floats (const char *in, const size_t inlen, float *out, const size_t outlen)
 
template<class T >
icedb::Examples::Shapes::m_atof (const char *x, size_t len)
 
template<class T >
icedb::Examples::Shapes::m_atoi (const char *x, size_t len)
 
ShapeDataBasic icedb::Examples::Shapes::readTextFile (const std::string &filename)
 
ShapeDataBasic icedb::Examples::Shapes::readDDSCAT (const char *in)
 
void icedb::Examples::Shapes::readHeader (const char *in, std::string &desc, size_t &np, size_t &headerEnd)
 
void icedb::Examples::Shapes::readDDSCATtextContents (const char *iin, size_t numExpectedPoints, size_t headerEnd, ShapeDataBasic &p)
 Read ddscat text contents. More...
 
ShapeDataBasic icedb::Examples::Shapes::readRawText (const char *iin)