openPMD-api
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
openPMD::Dataset Class Reference
Collaboration diagram for openPMD::Dataset:
Collaboration graph
[legend]

Public Types

enum  : std::uint64_t { JOINED_DIMENSION = std::numeric_limits<std::uint64_t>::max() }
 

Public Member Functions

 Dataset (Datatype, Extent, std::string options="{}")
 
 Dataset (Extent)
 Constructor that sets the datatype to undefined. More...
 
Datasetextend (Extent newExtent)
 
bool empty () const
 
std::optional< size_t > joinedDimension () const
 

Public Attributes

Extent extent
 
Datatype dtype
 
uint8_t rank
 
std::string options = "{}"
 backend-dependent JSON configuration
 

Friends

class RecordComponent
 

Constructor & Destructor Documentation

◆ Dataset()

openPMD::Dataset::Dataset ( Extent  e)

Constructor that sets the datatype to undefined.

Helpful for resizing datasets, since datatypes need not be given twice.


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