openPMD-api
Public Member Functions | Friends | List of all members
openPMD::PatchRecordComponent Class Reference

#include <PatchRecordComponent.hpp>

Inheritance diagram for openPMD::PatchRecordComponent:
Inheritance graph
[legend]
Collaboration diagram for openPMD::PatchRecordComponent:
Collaboration graph
[legend]

Public Member Functions

PatchRecordComponentsetUnitSI (double)
 
PatchRecordComponentresetDataset (Dataset)
 
uint8_t getDimensionality () const
 
Extent getExtent () const
 
template<typename T >
std::shared_ptr< Tload ()
 
template<typename T >
void load (std::shared_ptr< T >)
 
template<typename T >
void store (uint64_t idx, T)
 
- Public Member Functions inherited from openPMD::BaseRecordComponent
double unitSI () const
 
BaseRecordComponentresetDatatype (Datatype)
 
Datatype getDatatype () const
 
bool constant () const
 Returns true if this is a constant record component. More...
 
ChunkTable availableChunks ()
 Get data chunks that are available to be loaded from the backend. More...
 
- Public Member Functions inherited from openPMD::Attributable
 Attributable (Attributable const &)
 
 Attributable (Attributable &&)=delete
 
Attributableoperator= (Attributable const &)
 
Attributableoperator= (Attributable &&)=delete
 
Attribute getAttribute (std::string const &key) const
 Retrieve value of Attribute stored with provided key. More...
 
bool deleteAttribute (std::string const &key)
 Remove Attribute of provided value both logically and physically. More...
 
std::vector< std::string > attributes () const
 List all currently stored Attributes' keys. More...
 
size_t numAttributes () const
 Count all currently stored Attributes. More...
 
bool containsAttribute (std::string const &key) const
 Check whether am Attribute with a given key exists. More...
 
std::string comment () const
 Retrieve a user-supplied comment associated with the object. More...
 
AttributablesetComment (std::string const &comment)
 Populate Attribute corresponding to a comment with the user-supplied comment. More...
 
template<typename T >
bool setAttribute (std::string const &key, T const &value)
 Populate Attribute of provided name with provided value. More...
 
bool setAttribute (std::string const &key, char const value[])
 

Friends

template<typename T , typename T_key , typename T_container >
class Container
 
template<typename >
class BaseRecord
 
class ParticlePatches
 
class PatchRecord
 

Additional Inherited Members

- Protected Member Functions inherited from openPMD::Attributable
void flushAttributes ()
 
void readAttributes ()
 
template<typename T >
T readFloatingpoint (std::string const &key) const
 Retrieve the value of a floating point Attribute of user-defined precision with ensured type-safety. More...
 
template<typename T >
std::vector< TreadVectorFloatingpoint (std::string const &key) const
 Retrieve a vector of values of a floating point Attributes of user-defined precision with ensured type-safety. More...
 
bool & dirty () const
 
bool & written () const
 
- Protected Attributes inherited from openPMD::BaseRecordComponent
std::shared_ptr< Datasetm_dataset
 
std::shared_ptr< bool > m_isConstant
 
- Protected Attributes inherited from openPMD::Attributable
std::shared_ptr< Writablem_writable
 
AbstractFilePositionabstractFilePosition
 
AbstractIOHandlerIOHandler
 
Writableparent
 

Detailed Description

Todo:
add support for constant patch record components

Member Function Documentation

◆ load()

template<typename T >
void openPMD::PatchRecordComponent::load ( std::shared_ptr< T data)
inline
Todo:
add support for constant patch record components

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