|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
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;
250 std::string
ToJSON(
bool multiline=
false)
const;
261 template <
unsigned int VDim>
class LUT
268 std::string OTBMetadata_EXPORT
ToJSON(
bool multiline=
false)
const;
270 std::string OTBMetadata_EXPORT
ToString()
const;
272 void OTBMetadata_EXPORT
FromString(std::string);
276 return std::equal(std::begin(lhs.
Array), std::end(lhs.
Array), std::begin(rhs.
Array) )
283 template <
unsigned int VDim>
295 template <
typename T>
296 inline boost::bimap<T, std::string>
bimapGenerator(std::map<T, std::string> inMap)
298 boost::bimap<T, std::string> bm;
299 for (
const auto& kv : inMap)
300 bm.insert({kv.first, kv.second});
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
@ AbsoluteCalibrationConstant