icedb  version 0.5.1
Snow particle scattering database API
Namespaces | Macros | Functions
Attributes.cpp File Reference
#include "../icedb/Attribute.hpp"
#include "../private/Attribute_impl.hpp"
#include "../private/hdf5_load.h"
#include "../private/hdf5_supplemental.hpp"
#include "../icedb/compat/gsl/gsl_assert"
Include dependency graph for Attributes.cpp:

Go to the source code of this file.

Namespaces

 icedb
 
 icedb::Attributes
 Contains everything concerning attributes.
 

Macros

#define INST_READ_ATTR_TYPE(x)
 
#define INST_WRITE_ATTR_TYPE(x)
 

Functions

template<class DataType >
constexpr bool icedb::Attributes::isString ()
 Used to flag string types for special treatment. More...
 
template<>
constexpr bool icedb::Attributes::isString< std::string > ()
 
template<class DataType >
void icedb::Attributes::pullData (const std::string &attributeName, std::vector< size_t > &dims, std::vector< DataType > &tdata, gsl::not_null< const H5::H5Object *> obj)
 Template function to pull data from the HDF5 object. More...
 
 icedb::Attributes::INST_ATTR (INST_READ_ATTR_TYPE)
 
template<class DataType , class ObjectType >
void icedb::Attributes::pushData (const std::string &attributeName, const std::vector< size_t > &dimensionality, std::shared_ptr< ObjectType > obj, const std::vector< DataType > &data, bool forceArray=false)
 
 icedb::Attributes::INST_ATTR (INST_WRITE_ATTR_TYPE)
 

Macro Definition Documentation

◆ INST_READ_ATTR_TYPE

#define INST_READ_ATTR_TYPE (   x)
Value:
template void CanHaveAttributes::readAttributeData<x>( \
gsl::not_null<const H5::H5Object*> parent, \
const std::string &attributeName, \
std::vector<size_t> &dims, \
std::vector<x> &data) ; \
template void CanHaveAttributes::readAttributeData<x>( \
const std::string &attributeName,\
std::vector<size_t> &dims, \
std::vector<x> &data) const;

Definition at line 178 of file Attributes.cpp.

◆ INST_WRITE_ATTR_TYPE

#define INST_WRITE_ATTR_TYPE (   x)
Value:
template void CanHaveAttributes::writeAttributeData( \
const std::string &attributeName, \
const std::vector<size_t> &dimensionality, \
const std::vector<x> &data);

Definition at line 234 of file Attributes.cpp.