|
enum | PossiblyExisting { PE_InvalidatableFile = 0,
PE_Iterator,
PE_NewlyCreated
} |
|
◆ extendFilePosition()
template<typename FilePositionType = AbstractFilePosition>
virtual std::shared_ptr< FilePositionType > openPMD::AbstractIOHandlerImplCommon< FilePositionType >::extendFilePosition |
( |
std::shared_ptr< FilePositionType > const & |
, |
|
|
std::string |
|
|
) |
| |
|
protectedpure virtual |
- Returns
- A new file position that is extended with the given string.
◆ filePositionToString()
template<typename FilePositionType = AbstractFilePosition>
- Returns
- A string representation of the file position.
◆ fullPath()
template<typename FilePositionType >
- Returns
- Full OS path of the file.
◆ refreshFileFromParent()
template<typename FilePositionType >
Get the writable's containing file.
- Parameters
-
writable | The writable whose containing file to figure out. |
preferParentFile | If true, the file is set to the parent's file if present. Otherwise, the parent file is only considered if no own file is defined. This is usually needed when switching between iterations when opening paths. |
- Returns
- The containing file of the writable. If its parent is associated with another file, update the writable to match its parent and return the refreshed file.
◆ setAndGetFilePosition() [1/2]
template<typename FilePositionType >
Figure out the file position of the writable.
Only modify the writable's fileposition when specified.
- Parameters
-
writable | The writable. |
write | Whether to refresh the writable's file position. |
- Returns
- The current file position.
◆ setAndGetFilePosition() [2/2]
template<typename FilePositionType >
Figure out the file position of the writable and extend it.
- Parameters
-
writable | The writable. |
extend | The extension string. |
- Returns
- The current file position.
The documentation for this class was generated from the following files: