Buffer returns the n slots it has

This commit is contained in:
2018-12-05 14:20:31 +01:00
parent 2ab625c1d7
commit 60023d632b
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -76,4 +76,9 @@ shared_ptr<char> MetadataBuffer::get_metadata_values(string name)
shared_ptr<unordered_map<string, HeaderDataType>> MetadataBuffer::get_header_values_type()
{
return header_values_type;
}
uint64_t MetadataBuffer::get_n_images()
{
return n_images;
}
+1
View File
@@ -20,6 +20,7 @@ class MetadataBuffer
void add_metadata_to_buffer(std::string name, uint64_t frame_index, const char* data);
std::shared_ptr<char> get_metadata_values(std::string name);
std::shared_ptr<std::unordered_map<std::string, HeaderDataType>> get_header_values_type();
uint64_t get_n_images();
};
#endif