MetaAttribute describes a textual meta information that is part of an audio or video file.
More...
|
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 bool_t | setName (const char *name)=0 |
| Sets the name of a meta attribute. More...
|
|
virtual bool_t | 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.
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 bool_t setName |
( |
const char * |
name | ) |
|
|
pure virtual |
Sets the name of a meta attribute.
- Parameters
-
[in] | name | A pointer to an ANSI string. |
Common meta attribute names are defined in primo::codecs::Meta
- Returns
- TRUE if the name is successfully set, otherwise FALSE.
@see primo::codecs::Meta
virtual bool_t setValue |
( |
const char_t * |
val | ) |
|
|
pure virtual |
Sets the value a meta attribute.
- Parameters
-
[in] | val | A pointer to a Unicode string. |
- Returns
- TRUE if the value is successfully set, otherwise FALSE.
virtual const char_t* value |
( |
| ) |
const |
|
pure virtual |
Returns the value of the meta attribute.
- Returns
- A pointer to a Unicode string.