|
enum | Datatype : int {
CHAR = 0,
UCHAR,
SHORT,
INT,
LONG,
LONGLONG,
USHORT,
UINT,
ULONG,
ULONGLONG,
FLOAT,
DOUBLE,
LONG_DOUBLE,
CFLOAT,
CDOUBLE,
CLONG_DOUBLE,
STRING,
VEC_CHAR,
VEC_SHORT,
VEC_INT,
VEC_LONG,
VEC_LONGLONG,
VEC_UCHAR,
VEC_USHORT,
VEC_UINT,
VEC_ULONG,
VEC_ULONGLONG,
VEC_FLOAT,
VEC_DOUBLE,
VEC_LONG_DOUBLE,
VEC_CFLOAT,
VEC_CDOUBLE,
VEC_CLONG_DOUBLE,
VEC_STRING,
ARR_DBL_7,
BOOL,
DATATYPE = 1000,
UNDEFINED
} |
| Concrete datatype of an object available at runtime.
|
|
enum | Access { Access::READ_ONLY,
Access::READ_WRITE,
Access::CREATE
} |
| File access mode to use during IO. More...
|
|
enum | Format {
HDF5,
ADIOS1,
ADIOS2,
JSON,
DUMMY
} |
| File format to use during IO.
|
|
enum | IterationEncoding { fileBased,
groupBased
} |
| Encoding scheme of an Iterations Series'. More...
|
|
enum | UnitDimension : uint8_t {
UnitDimension::L = 0,
UnitDimension::M,
UnitDimension::T,
UnitDimension::I,
UnitDimension::theta,
UnitDimension::N,
UnitDimension::J
} |
| Physical dimension of a record. More...
|
|
|
void | warnWrongDtype (std::string const &key, Datatype store, Datatype request) |
|
std::ostream & | operator<< (std::ostream &os, openPMD::Datatype const &d) |
|
Datatype | stringToDatatype (std::string s) |
|
std::string | datatypeToString (openPMD::Datatype dt) |
|
Datatype | basicDatatype (Datatype dt) |
| basicDatatype Strip openPMD Datatype of std::vector, std::array et. More...
|
|
Datatype | toVectorType (Datatype dt) |
|
Format | determineFormat (std::string const &filename) |
| Determine the storage format of a Series from the used filename extension. More...
|
|
std::string | suffix (Format f) |
| Determine the default filename suffix for a given storage format. More...
|
|
std::shared_ptr< AbstractIOHandler > | createIOHandler (std::string path, Access access, Format format, MPI_Comm comm, std::string const &options="{}") |
| Construct an appropriate specific IOHandler for the desired IO mode that may be MPI-aware. More...
|
|
std::shared_ptr< AbstractIOHandler > | createIOHandler (std::string path, Access access, Format format, std::string const &options="{}") |
| Construct an appropriate specific IOHandler for the desired IO mode. More...
|
|
Writable * | getWritable (Attributable *a) |
|
std::string | cleanFilename (std::string const &filename, Format f) |
| Remove the filename extension of a given storage format. More...
|
|
std::function< std::tuple< bool, int >std::string const &) > | matcher (std::string const &prefix, int padding, std::string const &postfix, Format f) |
| Create a functor to determine if a file can be of a format and matches an iterationEncoding, given the filename on disk. More...
|
|
template void | Series::flushFileBased< std::map< uint64_t, Iteration > &> (std::map< uint64_t, Iteration > &) |
|
template void | Series::flushGroupBased< std::map< uint64_t, Iteration > &> (std::map< uint64_t, Iteration > &) |
|
std::function< std::tuple< bool, int >std::string const &) > | buildMatcher (std::string const ®exPattern) |
|
template<typename U > |
U | getCast (Attribute const &a) |
| Retrieve a stored specific Attribute and cast if convertible. More...
|
|
Datatype | dtype_from_numpy (pybind11::dtype const dt) |
|
Datatype | dtype_from_bufferformat (std::string const &fmt) |
| Return openPMD::Datatype from py::buffer_info::format.
|
|
pybind11::dtype | dtype_to_numpy (Datatype const dt) |
|
template<typename T > |
Datatype | determineDatatype () |
|
template<typename T > |
Datatype | determineDatatype (std::shared_ptr< T >) |
|
size_t | toBytes (Datatype d) |
| Return number of bytes representing a Datatype. More...
|
|
size_t | toBits (Datatype d) |
| Return number of bits representing a Datatype. More...
|
|
bool | isVector (Datatype d) |
| Compare if a Datatype is a vector type. More...
|
|
bool | isFloatingPoint (Datatype d) |
| Compare if a Datatype is a floating point type. More...
|
|
bool | isComplexFloatingPoint (Datatype d) |
| Compare if a Datatype is a complex floating point type. More...
|
|
template<typename T > |
bool | isFloatingPoint () |
| Compare if a type is a floating point type. More...
|
|
template<typename T > |
bool | isComplexFloatingPoint () |
| Compare if a type is a complex floating point type. More...
|
|
std::tuple< bool, bool > | isInteger (Datatype d) |
| Compare if a Datatype is an integer type. More...
|
|
template<typename T > |
std::tuple< bool, bool > | isInteger () |
| Compare if a type is an integer type. More...
|
|
template<typename T_FP > |
bool | isSameFloatingPoint (Datatype d) |
| Compare if a Datatype is equivalent to a floating point type. More...
|
|
template<typename T_CFP > |
bool | isSameComplexFloatingPoint (Datatype d) |
| Compare if a Datatype is equivalent to a complex floating point type. More...
|
|
template<typename T_Int > |
bool | isSameInteger (Datatype d) |
| Compare if a Datatype is equivalent to an integer type. More...
|
|
bool | isSame (openPMD::Datatype const d, openPMD::Datatype const e) |
| Comparison for two Datatypes. More...
|
|
template<typename ReturnType = void, typename Action , typename... Args> |
ReturnType | switchType (Datatype dt, Action action, Args &&... args) |
| Generalizes switching over an openPMD datatype. More...
|
|
std::string | getBP1Extent (Extent const &e, std::string const &delimiter=",") |
|
std::string | getZerosLikeBP1Extent (Extent const &e, std::string const &delimiter=",") |
|
ADIOS_DATATYPES | getBP1DataType (Datatype dtype) |
|
std::string | concrete_bp1_file_position (Writable *w) |
|
std::string | getEnvNum (std::string const &key, std::string const &defaultValue) |
|
template<typename T > |
Attribute | readVectorAttributeInternal (void *data, int size) |
|
hid_t | getH5DataSpace (Attribute const &att) |
|
std::string | concrete_h5_file_position (Writable *w) |
|
| OPENPMDAPI_EXPORT_ENUM_CLASS (Operation) |
| Type of IO operation between logical and persistent data.
|
|
std::ostream & | operator<< (std::ostream &, openPMD::IterationEncoding const &) |
|
std::ostream & | operator<< (std::ostream &, openPMD::Mesh::Geometry const &) |
|
std::ostream & | operator<< (std::ostream &, openPMD::Mesh::DataOrder const &) |
|
std::string | getVersion () |
| Return the version of the openPMD-api library (run-time) More...
|
|
std::string | getStandard () |
| Return the maximum supported version of the openPMD standard (read & write, run-time) More...
|
|
std::string | getStandardMinimum () |
| Return the minimum supported version of the openPMD standard (read, run-time) More...
|
|
std::map< std::string, bool > | getVariants () |
| Return the feature variants of the openPMD-api library (run-time) More...
|
|
std::vector< std::string > | getFileExtensions () |
| Return the file extensions supported in this variant of the openPMD-api library (run-time) More...
|
|
|
template<typename T > |
std::shared_ptr< T > | shareRaw (T *x) |
| Share ownership with a raw pointer. More...
|
|
template<typename T > |
std::shared_ptr< T const > | shareRaw (T const *x) |
|
template<typename T > |
auto | shareRaw (T &c) -> std::shared_ptr< typename std::remove_pointer< decltype(c.data()) >::type > |
|
template<typename T > |
auto | shareRaw (T const &c) -> std::shared_ptr< typename std::remove_pointer< decltype(c.data()) >::type > |
|
Public definitions of openPMD-api.