19namespace TextStringParserTools {
91 template <
typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
typename T6>
110#pragma GCC diagnostic push
111#pragma GCC diagnostic ignored "-Wformat-nonliteral"
118#pragma GCC diagnostic pop
Class which represents an image, which manages properties of an image and image data which is located...
#define ML_FILE_OR_DATA_STRUCTURE_CORRUPTED
The content of a file or another data structure is not organized as expected by the program; this may...
MLint32 MLErrorCode
Type of an ML Error code.
#define ML_RESULT_OK
No error. Everything seems to be okay.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
UINT64 MLuint64
Introduce platform independent 64 bit unsigned integer type.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
ML_MLToDicomTools_EXPORT const char *const CacheLineSep
Separator between cache file lines. Has a terminator at the line end for simple line end detection.
ML_MLToDicomTools_EXPORT std::string extractLine(const std::string &source, MLErrorCode &err, size_t &readPos)
Extraction from std::string.
ML_MLToDicomTools_EXPORT std::string toPagedImgStr(const PagedImage &imgProps, const std::string &lineEndStr)
Converts a PagedImage property description to a std::string and returns it.
MLErrorCode extractLine6T(const std::string &srcStr, const std::string &parseFormatStr, T1 &val0, T2 &val1, T3 &val2, T4 &val3, T5 &val4, T6 &val5, int NUM_ELEMS, size_t &readPos)
Extracts one line starting at readPos, reads parseFormatStr and writes it into val[0-5]; readPos is i...
ML_MLToDicomTools_EXPORT MLErrorCode extractStringChunk(const std::string &srcStr, const std::string &introStr, size_t chunkSize, std::string &readStr, size_t &readPos)
Expects introString at position readPos in srcStr, then a string of size chunkSize and a terminating ...
ML_MLToDicomTools_EXPORT MLErrorCode extractPagedImgPropsFromString(const std::string &srcStr, PagedImage &imgProps, size_t &readPos)
Reads one line starting at readPos, sets imgProps from read data and increments readPos to position a...