MetaAttribute describes a textual meta information that is part of an audio or video file.
More...
#include <PrimoAV.h>
Inherits Reference.
|
virtual MetaAttribute * | clone () const =0 |
| Creates a deep copy of this object. More...
|
|
virtual bool_t | immutable () const =0 |
| Returns whether the object is immutable. More...
|
|
virtual const char * | name () const =0 |
| Returns the name of the meta attribute. More...
|
|
virtual void | setName (const char *name)=0 |
| Sets the name of a meta attribute. More...
|
|
virtual void | setValue (const char_t *val)=0 |
| Sets the value a meta attribute. More...
|
|
virtual const char_t * | value () const =0 |
| Returns the value of the meta attribute. More...
|
|
virtual int32_t | release () const =0 |
| Releases the instance. More...
|
|
virtual int32_t | retain () const =0 |
| Retains the instance. More...
|
|
virtual int32_t | retainCount () const =0 |
| Returns the current reference count. More...
|
|
MetaAttribute describes a textual meta information that is part of an audio or video file.
- See Also
- Library::createMetaAttribute
-
Metadata
Creates a deep copy of this object.
- Returns
- A new MetaAttribute object. The caller is responsible for releasing the new object when it's not needed anymore.
-
NULL if the object cannot be cloned because there is not enough memory.
- See Also
- Object Management
virtual bool_t immutable |
( |
| ) |
const |
|
pure virtual |
Returns whether the object is immutable.
An immmutable object cannot be modified and all modifying methods fail to produce a result.
- Returns
- TRUE if the object is immutable, FALSE otherwise.
virtual const char* name |
( |
| ) |
const |
|
pure virtual |
virtual void setName |
( |
const char * |
name | ) |
|
|
pure virtual |
virtual void setValue |
( |
const char_t * |
val | ) |
|
|
pure virtual |
Sets the value a meta attribute.
- Parameters
-
[in] | val | A pointer to a Unicode string. |
virtual const char_t* value |
( |
| ) |
const |
|
pure virtual |
Returns the value of the meta attribute.
- Returns
- A pointer to a Unicode string.