SourceXtractorPlusPlus  0.11
Please provide a description of the project.
ImageSourceWithMetadata.h
Go to the documentation of this file.
1 
18 #ifndef _SEFRAMEWORK_IMAGE_IMAGESOURCEWITHMETADATA_H_
19 #define _SEFRAMEWORK_IMAGE_IMAGESOURCEWITHMETADATA_H_
20 
21 #include <boost/variant.hpp>
23 
24 namespace SourceXtractor {
25 
26 struct MetadataEntry {
27  typedef boost::variant<bool, char, int64_t, double, std::string> value_t;
28 
30 
33 };
34 
39 template <typename T>
41 public:
47  virtual ~ImageSourceWithMetadata() = default;
48 
53 };
54 
55 } // end of namespace SourceXtractor
56 
57 #endif /* _SEFRAMEWORK_IMAGE_IMAGESOURCEWITHMETADATA_H_ */
SourceXtractor::ImageSourceWithMetadata
Definition: ImageSourceWithMetadata.h:40
SourceXtractor::ImageSourceWithMetadata::~ImageSourceWithMetadata
virtual ~ImageSourceWithMetadata()=default
SourceXtractor::MetadataEntry::m_extra
std::map< std::string, std::string > m_extra
Additional metadata about the entry: i.e. comments.
Definition: ImageSourceWithMetadata.h:32
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::ImageSourceWithMetadata::getMetadata
virtual const std::map< std::string, MetadataEntry > & getMetadata() const =0
SourceXtractor::MetadataEntry
Definition: ImageSourceWithMetadata.h:26
std::map< std::string, std::string >
SourceXtractor::ImageSource
Definition: ImageSource.h:41
SourceXtractor::MetadataEntry::m_value
value_t m_value
Definition: ImageSourceWithMetadata.h:29
ImageSource.h
SourceXtractor::MetadataEntry::value_t
boost::variant< bool, char, int64_t, double, std::string > value_t
Definition: ImageSourceWithMetadata.h:27