MeVisLabToolboxReference
|
00001 // **InsertLicense** code author="Felix Ritter" version="1.0" 00002 00006 00007 #ifndef __macFileMetadata_H 00008 #define __macFileMetadata_H 00009 #if defined(__APPLE__) 00010 00011 #include "macByteData.h" 00012 #include <string> 00013 00014 namespace macx { 00015 00017 class FileMetadata 00018 { 00019 public: 00020 00022 static bool hasData(const std::string &filename, const std::string &key); 00023 00025 static bool removeData(const std::string &filename, const std::string &key); 00026 00028 static bool updateData(const std::string &filename, const std::string &key, const void *value, size_t size); 00029 00031 static ByteDataPtr getData(const std::string &filename, const std::string &key); 00032 }; 00033 00034 } 00035 00036 #endif // __APPLE__ 00037 #endif // __macFileMetadata_H