OTB  9.0.0
Orfeo Toolbox
Public Member Functions | List of all members
otb::MetadataStorageInterface Class Referenceabstract

#include <otbMetadataStorageInterface.h>

+ Inheritance diagram for otb::MetadataStorageInterface:

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)
 

Detailed Description

Base class to store metadata information in files/images.

Definition at line 43 of file otbMetadataStorageInterface.h.

Member Function Documentation

◆ SetAs() [1/2]

void otb::MetadataStorageInterface::SetAs ( const std::string &  path,
const std::string &  value,
int  band = -1 
)

◆ SetAs() [2/2]

void otb::MetadataStorageInterface::SetAs ( const std::string &  path,
double  value,
int  band = -1 
)

◆ SetAsVector() [1/2]

template<typename T >
void otb::MetadataStorageInterface::SetAsVector ( const char *  path,
std::vector< T >  value,
const char  sep = ' ',
int  band = -1 
)
inline

Parse a std::vector to a metadata value

Definition at line 57 of file otbMetadataStorageInterface.h.

References otb::Join().

◆ SetAsVector() [2/2]

template<typename T >
void otb::MetadataStorageInterface::SetAsVector ( const std::string &  path,
std::vector< T >  value,
const char  sep = ' ',
int  band = -1 
)
inline

Parse a std::vector to a metadata value

Definition at line 65 of file otbMetadataStorageInterface.h.

◆ SetMetadataValue()

virtual void otb::MetadataStorageInterface::SetMetadataValue ( const char *  path,
const char *  value,
int  band = -1 
)
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.


The documentation for this class was generated from the following file: