97 const std::string &tagName,
107 const std::string &tagName,
119 const std::string &tagName,
Project global and OS specific declarations.
#define MLDMFileReader_EXPORT
If included by external modules, exported symbols are declared as import symbols.
A tool classes to load Digital Microscopy files.
MLint32 MLDataType
MLDataType.
Project wide definitions.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
UINT64 MLuint64
Introduce platform independent 64 bit unsigned integer type.
INT64 MLint64
Include 64 bit integer support for Windows or Unix.
MLDMFileReader_EXPORT std::vector< DMImageDataStructPtr > DMSetUpImageStructs(DMFileReader &reader)
Search all image data structures in the open reader and return them as list.
MLDMFileReader_EXPORT MLuint64 DMGetEncodedSimpleTypeByteSize(DMEncodedStructureType encType)
Returns the byte size of the encoded simple, on arrays, structs or bad types it returns 0.
boost::shared_ptr< DMTag > DMTagPtr
Boost shared-pointer type definitions for DMTagEntry.
MLDMFileReader_EXPORT MLDataType DMPixelDataTypeToMLType(DMEncodedVoxelDataType encType)
Converts a DM pixel data type to the corresponding MLDataType or to ML_INVALID_DATA_TYPE if not possi...
MLDMFileReader_EXPORT std::string DMGetDataTypeAsString(DMEncodedStructureType encType)
Returns a human readable string version for the provided encType.
MLDMFileReader_EXPORT DMTagPtrVector DMGetTags(const std::string &label, const DMTagPtrVector &tagVec)
Returns all tags with label in tagVec or an empty vector if not found.
MLDMFileReader_EXPORT MLint64 DMGetSimpleEncodedMemoryValueAsMLint64(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
MLDMFileReader_EXPORT double DMGetSimpleEncodedMemoryValueAsDouble(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
DMEncodedVoxelDataType
Enumerator describing the DMReader encoded voxel data type; the enumerator value corresponds to the v...
std::vector< DMTagPtr > DMTagPtrVector
Vector of shared pointers to DMTags.
MLDMFileReader_EXPORT MLDataType DMEncodedStructureTypeToMLType(DMEncodedStructureType encType)
Converts encType to the corresponding MLDataType or to ML_INVALID_DATA_TYPE if not possible.
MLDMFileReader_EXPORT DMTagPtr DMGetTag(const std::string &label, const DMTagPtrVector &tagVec)
Returns the first tag with label in tagVec or nullptr if not found.
MLDMFileReader_EXPORT MLuint64 DMGetSimpleEncodedMemoryValueAsMLuint64(DMFileReader &reader, MLuint64 dataPos, DMEncodedStructureType encType, MLuint64 byteOffset=0)
DMEncodedStructureType
Enumerator describing the encoded type; the enumerator value is the same as the stored value in file.