openPMD-api
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
openPMD::detail::DatasetHelper< T, typename std::enable_if< DatasetTypes< T >::validType >::type > Struct Template Reference
Collaboration diagram for openPMD::detail::DatasetHelper< T, typename std::enable_if< DatasetTypes< T >::validType >::type >:
Collaboration graph
[legend]

Public Member Functions

 DatasetHelper (openPMD::ADIOS2IOHandlerImpl *impl)
 
void openDataset (InvalidatableFile, const std::string &varName, Parameter< Operation::OPEN_DATASET > &parameters)
 
void readDataset (BufferedGet &, adios2::IO &, adios2::Engine &, std::string const &fileName)
 
void writeDataset (BufferedPut &, adios2::IO &, adios2::Engine &)
 

Static Public Member Functions

static void defineVariable (adios2::IO &IO, std::string const &name, std::vector< ADIOS2IOHandlerImpl::ParameterizedOperator > const &compressions, adios2::Dims const &shape=adios2::Dims(), adios2::Dims const &start=adios2::Dims(), adios2::Dims const &count=adios2::Dims(), bool const constantDims=false)
 Define a Variable of type T within the passed IO. More...
 
static void blocksInfo (Parameter< Operation::AVAILABLE_CHUNKS > &params, adios2::IO &IO, adios2::Engine &engine, std::string const &varName)
 

Public Attributes

openPMD::ADIOS2IOHandlerImplm_impl
 

Member Function Documentation

◆ defineVariable()

template<typename T >
void openPMD::detail::DatasetHelper< T, typename std::enable_if< DatasetTypes< T >::validType >::type >::defineVariable ( adios2::IO &  IO,
std::string const &  name,
std::vector< ADIOS2IOHandlerImpl::ParameterizedOperator > const &  compressions,
adios2::Dims const &  shape = adios2::Dims(),
adios2::Dims const &  start = adios2::Dims(),
adios2::Dims const &  count = adios2::Dims(),
bool const  constantDims = false 
)
static

Define a Variable of type T within the passed IO.

Parameters
IOThe adios2::IO object within which to define the variable. The variable can later be retrieved from the IO using the passed name.
nameAs in adios2::IO::DefineVariable
compressionsADIOS2 operators, including an arbitrary number of parameters, to be added to the variable upon definition.
shapeAs in adios2::IO::DefineVariable
startAs in adios2::IO::DefineVariable
countAs in adios2::IO::DefineVariable
constantDimsAs in adios2::IO::DefineVariable

The documentation for this struct was generated from the following files: