class dlstreamer::SourceIdentifierMetadata#
#include <image_metadata.h> class SourceIdentifierMetadata: public dlstreamer::DictionaryProxy { public: // structs struct key; // fields static constexpr auto name = "SourceIdentifierMetadata"; // methods static std::shared_ptr<SourceIdentifierMetadata> try_cast(DictionaryPtr dict); int batch_index() const; int64_t pts() const; intptr_t stream_id() const; int roi_id() const; int object_id() const; void init( int batch_index, int64_t pts, intptr_t stream_id, int roi_id, int object_id = 0 ); DictionaryProxy(DictionaryPtr dict); };
Inherited Members#
public: // methods virtual std::string name() const = 0; virtual std::vector<std::string> keys() const = 0; virtual std::optional<Any> try_get(std::string_view key) const = 0; virtual std::pair<const void*, size_t> try_get_array(std::string_view key) const = 0; virtual void set(std::string_view key, Any value) = 0; virtual void set_array(std::string_view key, const void* data, size_t nbytes) = 0; virtual void set_name(std::string const& name) = 0; template <typename T> T get(std::string_view key) const; template <typename T> T get(std::string_view key, T default_value) const; template <class T> const std::vector<T> get_array(std::string_view key) const; virtual std::string name() const; virtual std::optional<Any> try_get(std::string_view key) const; virtual std::pair<const void*, size_t> try_get_array(std::string_view key) const; virtual void set(std::string_view key, Any value); virtual void set_array(std::string_view key, const void* data, size_t nbytes); virtual void set_name(std::string const& name); virtual std::vector<std::string> keys() const;