openPMD-api
 
Loading...
Searching...
No Matches
openPMD::internal::RecordComponentData Class Reference
Inheritance diagram for openPMD::internal::RecordComponentData:
openPMD::internal::BaseRecordComponentData openPMD::internal::AttributableData

Public Member Functions

 RecordComponentData (RecordComponentData const &)=delete
 
 RecordComponentData (RecordComponentData &&)=delete
 
RecordComponentDataoperator= (RecordComponentData const &)=delete
 
RecordComponentDataoperator= (RecordComponentData &&)=delete
 
void push_chunk (IOTask &&task)
 
void reset () override
 
- Public Member Functions inherited from openPMD::internal::BaseRecordComponentData
 BaseRecordComponentData (BaseRecordComponentData const &)=delete
 
 BaseRecordComponentData (BaseRecordComponentData &&)=delete
 
BaseRecordComponentDataoperator= (BaseRecordComponentData const &)=delete
 
BaseRecordComponentDataoperator= (BaseRecordComponentData &&)=delete
 
- Public Member Functions inherited from openPMD::internal::AttributableData
 AttributableData (SharedAttributableData *)
 
 AttributableData (AttributableData const &)=delete
 
 AttributableData (AttributableData &&)=delete
 
AttributableDataoperator= (AttributableData const &)=delete
 
AttributableDataoperator= (AttributableData &&)=delete
 
void cloneFrom (AttributableData const &other)
 
template<typename T>
T asInternalCopyOf ()
 
auto attributes () -> A_MAP &
 
auto attributes () const -> A_MAP const &
 
auto readAttribute (std::string const &name) const -> Attribute const &
 

Public Attributes

std::queue< IOTaskm_chunks
 Chunk reading/writing requests on the contained dataset.
 
Attribute m_constantValue {-1}
 Stores the value for constant record components.
 
bool m_isEmpty = false
 True if this component is an empty dataset, i.e.
 
bool m_hasBeenExtended = false
 User has extended the dataset, but the EXTEND task must yet be flushed to the backend.
 
- Public Attributes inherited from openPMD::internal::BaseRecordComponentData
std::optional< Datasetm_dataset
 The type and extent of the dataset defined by this component.
 
bool m_isConstant = false
 True if this is defined as a constant record component as specified in the openPMD standard.
 
bool m_datasetDefined = false
 Tracks if there was any write access to the record component.
 

Member Function Documentation

◆ reset()

void openPMD::internal::RecordComponentData::reset ( )
inlineoverridevirtual

Member Data Documentation

◆ m_constantValue

Attribute openPMD::internal::RecordComponentData::m_constantValue {-1}

Stores the value for constant record components.

Ignored otherwise.

◆ m_isEmpty

bool openPMD::internal::RecordComponentData::m_isEmpty = false

True if this component is an empty dataset, i.e.

its extent is zero in at least one dimension. Treated by the openPMD-api as a special case of constant record components.


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