Class MetadataIo
Defined in File metadata_io.hpp
Class Documentation
-
class MetadataIo
Public Functions
-
virtual ~MetadataIo() = default
- virtual ROSBAG2_STORAGE_PUBLIC void write_metadata (const std::string &uri, const BagMetadata &metadata)
- virtual ROSBAG2_STORAGE_PUBLIC BagMetadata read_metadata (const std::string &uri)
- virtual ROSBAG2_STORAGE_PUBLIC bool metadata_file_exists (const std::string &uri)
- virtual ROSBAG2_STORAGE_PUBLIC std::string serialize_metadata (const BagMetadata &metadata)
- virtual ROSBAG2_STORAGE_PUBLIC BagMetadata deserialize_metadata (const std::string &serialized_metadata)
Public Static Attributes
-
static constexpr const char *const metadata_filename = "metadata.yaml"
-
virtual ~MetadataIo() = default