icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Macros | Functions
shapeIOtextParsers.cpp File Reference
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <boost/spirit/include/karma.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/iostreams/copy.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#include <boost/spirit/include/qi.hpp>
#include "shape.hpp"
Include dependency graph for shapeIOtextParsers.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{shapeIOtextParsers.cpp}
 Internal namespace for the reader parsers.
 
 icedb
 
 icedb::Examples
 
 icedb::Examples::Shapes
 

Macros

#define _HAS_AUTO_PTR_ETC   1
 

Functions

template<typename Iterator >
bool anonymous_namespace{shapeIOtextParsers.cpp}::parse_shapefile_entries (Iterator first, Iterator last, std::vector< float > &v)
 Parses space-separated shapefile entries. More...
 
template<typename OutputIterator , typename Container >
bool anonymous_namespace{shapeIOtextParsers.cpp}::print_shapefile_entries (OutputIterator &sink, Container const &v)
 Used in quickly printing shapefile. More...
 
template<typename OutputIterator , typename Container >
bool anonymous_namespace{shapeIOtextParsers.cpp}::print_shapefile_pts (OutputIterator &sink, Container const &v)
 
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::readDDSCAT (const char *in)
 
void icedb::Examples::Shapes::writeDDSCAT (const std::string &filename, const ShapeDataBasic &p)
 
ShapeDataBasic icedb::Examples::Shapes::readRawText (const char *iin)
 
void icedb::Examples::Shapes::writeTextRaw (const std::string &filename, const ShapeDataBasic &p)
 
ShapeDataBasic icedb::Examples::Shapes::readTextFile (const std::string &filename)
 

Macro Definition Documentation

◆ _HAS_AUTO_PTR_ETC

#define _HAS_AUTO_PTR_ETC   1

Definition at line 4 of file shapeIOtextParsers.cpp.