OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
otb::ImageKeywordlist Class Reference

#include <otbImageKeywordlist.h>

+ Collaboration diagram for otb::ImageKeywordlist:

Public Types

typedef std::map< std::string,
std::string > 
typedef ImageKeywordlist Self

Public Member Functions

virtual void AddKey (const std::string &key, const std::string &value)
void Clear (void)
virtual void ClearMetadataByKey (const std::string &key)
virtual bool convertToGDALRPC (GDALRPCInfo &rpc) const
virtual void convertToOSSIMKeywordlist (ossimKeywordlist &kwl) const
const KeywordlistMapGetKeywordlist () const
const std::string & GetMetadataByKey (const std::string &key) const
unsigned int GetSize (void) const
bool HasKey (const std::string &key) const
 ImageKeywordlist ()
 ImageKeywordlist (const Self &)
bool operator!= (const Self &) const
void operator= (const Self &)
bool operator== (const Self &) const
virtual void Print (std::ostream &os, itk::Indent indent=0) const
void SetKeywordlist (const ossimKeywordlist &kwl)
virtual ~ImageKeywordlist ()

Protected Member Functions

virtual void PrintSelf (std::ostream &os, itk::Indent indent) const

Private Attributes

KeywordlistMap m_Keywordlist

Detailed Description

Storage and conversion for OSSIM metadata.

See Also

Definition at line 74 of file otbImageKeywordlist.h.

Member Typedef Documentation

typedef std::map<std::string, std::string> otb::ImageKeywordlist::KeywordlistMap

Definition at line 83 of file otbImageKeywordlist.h.

Standard class typedefs.

Definition at line 78 of file otbImageKeywordlist.h.

Constructor & Destructor Documentation

otb::ImageKeywordlist::ImageKeywordlist ( )
virtual otb::ImageKeywordlist::~ImageKeywordlist ( )
otb::ImageKeywordlist::ImageKeywordlist ( const Self )

Member Function Documentation

virtual void otb::ImageKeywordlist::AddKey ( const std::string &  key,
const std::string &  value 
void otb::ImageKeywordlist::Clear ( void  )

Definition at line 93 of file otbImageKeywordlist.h.

virtual void otb::ImageKeywordlist::ClearMetadataByKey ( const std::string &  key)

Clear a given field of the keyword list

virtual bool otb::ImageKeywordlist::convertToGDALRPC ( GDALRPCInfo &  rpc) const

try to convert the image keywordlist into a GDALRpcInfo structure return true if successful, false otherwise

virtual void otb::ImageKeywordlist::convertToOSSIMKeywordlist ( ossimKeywordlist &  kwl) const
const KeywordlistMap& otb::ImageKeywordlist::GetKeywordlist ( ) const

Get the internal map container

Definition at line 86 of file otbImageKeywordlist.h.

const std::string& otb::ImageKeywordlist::GetMetadataByKey ( const std::string &  key) const

Get the Data object descriptor corresponding to the given key

Referenced by otb::SarParametricMapFunction< TInputImage, TCoordRep >::EvaluateParametricCoefficient().

unsigned int otb::ImageKeywordlist::GetSize ( void  ) const
bool otb::ImageKeywordlist::HasKey ( const std::string &  key) const

return true if the key is in the dictionary

bool otb::ImageKeywordlist::operator!= ( const Self p) const

Definition at line 159 of file otbImageKeywordlist.h.

References otb::ogr::operator==().

void otb::ImageKeywordlist::operator= ( const Self )
bool otb::ImageKeywordlist::operator== ( const Self ) const
virtual void otb::ImageKeywordlist::Print ( std::ostream &  os,
itk::Indent  indent = 0 
) const

Referenced by otb::operator<<().

virtual void otb::ImageKeywordlist::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const

Methods invoked by Print() to print information about the object Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

void otb::ImageKeywordlist::SetKeywordlist ( const ossimKeywordlist &  kwl)

Member Data Documentation

KeywordlistMap otb::ImageKeywordlist::m_Keywordlist

Geo informations are in this map

Definition at line 140 of file otbImageKeywordlist.h.

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