MMDevice 70
|
#include <ImageMetadata.h>
Public Member Functions | |
MetadataTag (const char *name, const char *device, bool readOnly) | |
const std::string & | GetDevice () const |
const std::string & | GetName () const |
const std::string | GetQualifiedName () const |
bool | IsReadOnly () const |
void | SetDevice (const char *device) |
void | SetName (const char *name) |
void | SetReadOnly (bool ro) |
virtual const MetadataSingleTag * | ToSingleTag () const |
virtual const MetadataArrayTag * | ToArrayTag () const |
virtual MetadataTag * | Clone ()=0 |
virtual std::string | Serialize ()=0 |
virtual bool | Restore (const char *stream)=0 |
virtual bool | Restore (std::istringstream &is)=0 |
Static Public Member Functions | |
static std::string | ReadLine (std::istringstream &is) |
Image information tags - metadata.
|
inlinevirtual |
Equivalent of dynamic_cast<MetadataArrayTag*>(this), but does not use RTTI.
Reimplemented in MetadataArrayTag.
|
inlinevirtual |
Equivalent of dynamic_cast<MetadataSingleTag*>(this), but does not use RTTI. This makes it safe against multiple definitions when using dynamic libraries on Linux (original cause: JVM uses dlopen with RTLD_LOCAL when loading libraries.
Reimplemented in MetadataSingleTag.