#ifndef USMETADATABAG_H #define USMETADATABAG_H #include #include #include "model/ultrasoundModule/metadata/UsBaseMetadata.h" /*************************************************************************************************/ /** * @brief This class acts as the holder of all metadata for a given type * @author Hessamoddin Hediyehloo(H-4nd-H) * @date 2020/10/04(1399/7/13) */ /*************************************************************************************************/ class UsMetadataBag { private: QList _metadataList; public: UsMetadataBag(); template void appendMetadata(const QVariant& metadata); template T getMetadata() const; template bool hasMetadata() const; QList getAllMetadata() const; template void deleteMetadata(); void clear(); }; #endif //USMETADATABAG_H