SourceXtractorPlusPlus  0.12
Please provide a description of the project.
Public Member Functions | List of all members
SourceXtractor::ImageSourceWithMetadata< T > Class Template Referenceabstract

#include <ImageSourceWithMetadata.h>

Inheritance diagram for SourceXtractor::ImageSourceWithMetadata< T >:
[legend]
Collaboration diagram for SourceXtractor::ImageSourceWithMetadata< T >:
[legend]

Public Member Functions

virtual ~ImageSourceWithMetadata ()=default
 
virtual const std::map< std::string, MetadataEntry > & getMetadata () const =0
 
- Public Member Functions inherited from SourceXtractor::ImageSource< T >
 ImageSource ()
 
virtual ~ImageSource ()=default
 
virtual std::shared_ptr< ImageTile< T > > getImageTile (int x, int y, int width, int height) const =0
 
virtual void saveTile (ImageTile< T > &tile)=0
 
virtual int getWidth () const =0
 Returns the width of the image in pixels. More...
 
virtual int getHeight () const =0
 Returns the height of the image in pixels. More...
 
- Public Member Functions inherited from SourceXtractor::ImageSourceBase
virtual ~ImageSourceBase ()=default
 
virtual std::string getRepr () const =0
 Human readable representation of this source. More...
 

Detailed Description

template<typename T>
class SourceXtractor::ImageSourceWithMetadata< T >

ImageSource with additional metadata: i.e. coming from FITS headers Metadata is modeled as a set of key/value pairs. Keys are unique.

Definition at line 40 of file ImageSourceWithMetadata.h.

Constructor & Destructor Documentation

◆ ~ImageSourceWithMetadata()

template<typename T >
virtual SourceXtractor::ImageSourceWithMetadata< T >::~ImageSourceWithMetadata ( )
virtualdefault

Accepted values are bool, char, int64_t, double and string Other types must be promoted (i.e. int32_t => int64_t, float => double)

Member Function Documentation

◆ getMetadata()

template<typename T >
virtual const std::map<std::string, MetadataEntry>& SourceXtractor::ImageSourceWithMetadata< T >::getMetadata ( ) const
pure virtual
Returns
A copy of the metadata set

Implemented in SourceXtractor::FitsImageSource< T >.


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