openPMD-api
Public Types | Public Member Functions | Public Attributes | List of all members
openPMD::detail::BufferedActions Struct Reference
Collaboration diagram for openPMD::detail::BufferedActions:
Collaboration graph
[legend]

Public Types

using AttributeMap_t = std::map< std::string, adios2::Params >
 

Public Member Functions

 BufferedActions (BufferedActions const &)=delete
 
 BufferedActions (ADIOS2IOHandlerImpl &impl, InvalidatableFile file)
 
void configure_IO (ADIOS2IOHandlerImpl &impl)
 
adios2::Engine & getEngine ()
 
template<typename BA >
void enqueue (BA &&ba)
 
void flush ()
 
void drop ()
 
AttributeMap_t const & availableAttributes ()
 
std::vector< std::string > availableAttributesPrefixed (std::string const &prefix)
 
void invalidateAttributesMap ()
 
AttributeMap_t const & availableVariables ()
 
std::vector< std::string > availableVariablesPrefixed (std::string const &prefix)
 
void invalidateVariablesMap ()
 

Public Attributes

std::string m_file
 
adios2::IO m_IO
 
std::vector< std::unique_ptr< BufferedAction > > m_buffer
 
std::unique_ptr< adios2::Engine > m_engine
 std::optional would be more idiomatic, but it's not in the C++11 standard More...
 
adios2::Mode m_mode
 
detail::WriteDataset m_writeDataset
 
detail::DatasetReader m_readDataset
 
detail::AttributeReader m_attributeReader
 
ADIOS2IOHandlerImplm_impl
 

Member Data Documentation

◆ m_engine

std::unique_ptr< adios2::Engine > openPMD::detail::BufferedActions::m_engine

std::optional would be more idiomatic, but it's not in the C++11 standard

Todo:
replace with std::optional upon switching to C++17

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