OTB
9.0.0
Orfeo Toolbox
|
#include <otbMetadataStorageInterface.h>
Public Member Functions | |
void | SetAs (const std::string &path, const std::string &value, int band=-1) |
void | SetAs (const std::string &path, double value, int band=-1) |
virtual void | SetMetadataValue (const char *path, const char *value, int band=-1)=0 |
template<typename T > | |
void | SetAsVector (const char *path, std::vector< T > value, const char sep=' ', int band=-1) |
template<typename T > | |
void | SetAsVector (const std::string &path, std::vector< T > value, const char sep=' ', int band=-1) |
Base class to store metadata information in files/images.
Definition at line 43 of file otbMetadataStorageInterface.h.
void otb::MetadataStorageInterface::SetAs | ( | const std::string & | path, |
const std::string & | value, | ||
int | band = -1 |
||
) |
void otb::MetadataStorageInterface::SetAs | ( | const std::string & | path, |
double | value, | ||
int | band = -1 |
||
) |
|
inline |
Parse a std::vector to a metadata value
Definition at line 57 of file otbMetadataStorageInterface.h.
References otb::Join().
|
inline |
Parse a std::vector to a metadata value
Definition at line 65 of file otbMetadataStorageInterface.h.
|
pure virtual |
Set the metadata value corresponding to a given path (meaning of this path depends on the specific implementation. Returns NULL when path is not found
Implemented in otb::GDALImageIO.