Enum MetadataPolicy
Defined in File metadata.hpp
-
enum class holoscan::MetadataPolicy
Enum to define the policy for handling behavior of MetadataDictionary::set
Values:
-
enumerator kReject
Reject the new value if the key already exists.
-
enumerator kInplaceUpdate
Replace the
std:::any
value within the existingstd::shared_ptr<MetadataObject>
if the key already exists
-
enumerator kUpdate
Replace the
std::shared_ptr<MetadataObject>
with a newly constructed one if the key already exists
-
enumerator kRaise
Raise an exception if the key already exists.
-
enumerator kReject