icedb  version 0.5.1
Snow particle scattering database API
Classes | Namespaces | Typedefs | Functions
shapeIOpsu.cpp File Reference
#include <icedb/defs.h>
#include <icedb/error.hpp>
#include <iostream>
#include <hdf5.h>
#include <hdf5_hl.h>
#include <boost/filesystem.hpp>
#include <memory>
#include <map>
#include <set>
#include <string>
#include <vector>
#include "shapeIOtext.hpp"
Include dependency graph for shapeIOpsu.cpp:

Go to the source code of this file.

Classes

struct  icedb::Examples::Shapes::ScopedHandles::InvalidHDF5Handle
 
struct  icedb::Examples::Shapes::ScopedHandles::CloseHDF5File
 
struct  icedb::Examples::Shapes::ScopedHandles::CloseHDF5Dataset
 
struct  icedb::Examples::Shapes::ScopedHandles::CloseHDF5Dataspace
 
struct  icedb::Examples::Shapes::ScopedHandles::CloseHDF5Datatype
 
struct  icedb::Examples::Shapes::ScopedHandles::ScopedHandle< HandleType, InvalidValueClass, CloseMethod >
 

Namespaces

 icedb
 
 icedb::Examples
 
 icedb::Examples::Shapes
 
 icedb::Examples::Shapes::ScopedHandles
 This makes it much easier to automatically close HDF5 handles that are no longer used.
 

Typedefs

typedef ScopedHandle< hid_t, InvalidHDF5Handle, CloseHDF5File > icedb::Examples::Shapes::ScopedHandles::H5F_handle
 
typedef ScopedHandle< hid_t, InvalidHDF5Handle, CloseHDF5Dataset > icedb::Examples::Shapes::ScopedHandles::H5D_handle
 
typedef ScopedHandle< hid_t, InvalidHDF5Handle, CloseHDF5Dataspace > icedb::Examples::Shapes::ScopedHandles::H5DS_handle
 
typedef ScopedHandle< hid_t, InvalidHDF5Handle, CloseHDF5Datatype > icedb::Examples::Shapes::ScopedHandles::H5T_handle
 
typedef hid_t icedb::Examples::Shapes::MatchType_t
 

Functions

template<class DataType >
MatchType_t icedb::Examples::Shapes::MatchType ()
 
template<>
MatchType_t icedb::Examples::Shapes::MatchType< int32_t > ()
 
template<>
MatchType_t icedb::Examples::Shapes::MatchType< float > ()
 
template<typename T >
void icedb::Examples::Shapes::readDataset (hid_t file_id, const char *dataset_name, std::vector< T > &outdata)
 
ShapeDataBasic icedb::Examples::Shapes::readPSUfile (const std::string &filename)
 Reads a Penn State-style geometry file. More...