76template<
typename TemplArrElemType>
89template<
typename TemplArrElemType,
unsigned int TemplArrSize>
92 typename std::vector<TemplArrElemType>
stlVector;
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
void ITKArrayFromFixedSizeSTLVector(const ITKML_TYPENAME std::vector< TemplArrElemType > &stlVec, TemplArrElemType *arr, size_t TemplArrSize)
Copies TemplArrSize elements from stlVec to arr and - if not enough elements are available - fills up...
MLITK_SUPPORT_EXPORT std::string & mlITKGetUTF8FromLatin1Static(const std::string &latin1StdString)
Like mlITKGetUTF8FromLatin1(const std::string &latin1StdString); the only difference is that the retu...
MLITK_SUPPORT_EXPORT std::string & mlITKGetLatin1FromUTF8Static(const std::string &utf8StdString)
Like mlITKGetLatin1FromUTF8(const std::string &utf8StdString); the only difference is that the return...
MLITK_SUPPORT_EXPORT std::string mlITKGetUTF8FromLatin1(const std::string &latin1StdString)
Convert string from Latin1 to UTF8; return empty string on failure or if "" is passed as latin1StdStr...
MLITK_SUPPORT_EXPORT std::string mlITKMakeStdString(const char *str)
Convert for a char pointer to a std::string safely.
const ITKML_TYPENAME std::vector< TemplArrElemType > STLVectorFromFixedSizeITKArray(const TemplArrElemType *theArray)
Create an STL vector with type TemplArrElemType which contains TemplArrSize elements which are read f...
MLITK_SUPPORT_EXPORT std::string mlITKGetLatin1FromUTF8(const std::string &utf8StdString)
Convert string from UTF8 to Latin1; return empty string on failure or if "" is passed as utf8StdStrin...