21 #ifndef otbMetaDataKey_h
22 #define otbMetaDataKey_h
27 #include <unordered_map>
29 #include <boost/bimap.hpp>
30 #include <boost/algorithm/string.hpp>
32 #include "itkDataObject.h"
33 #include "itkVariableLengthVector.h"
35 #include "OTBMetadataExport.h"
76 extern OTBMetadata_EXPORT
char const*
TileHintX;
77 extern OTBMetadata_EXPORT
char const*
TileHintY;
82 extern OTBMetadata_EXPORT
char const*
DataType;
251 std::string
ToJSON(
bool multiline=
false)
const;
262 template <
unsigned int VDim>
class LUT
269 std::string OTBMetadata_EXPORT
ToJSON(
bool multiline=
false)
const;
277 return std::equal(std::begin(lhs.
Array), std::end(lhs.
Array), std::begin(rhs.
Array) )
284 template <
unsigned int VDim>
296 template <
typename T>
297 inline boost::bimap<T, std::string>
bimapGenerator(std::map<T, std::string> inMap)
299 boost::bimap<T, std::string> bm;
300 for (
const auto& kv : inMap)
301 bm.insert({kv.first, kv.second});
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
@ AbsoluteCalibrationConstant