AVBlocks for C++  1.13
Audio and Video Software Development Kit
MetaAttribute Class Referenceabstract

MetaAttribute describes a textual meta information that is part of an audio or video file. More...

Inherits Reference.

Public Member Functions

virtual const char_t * value () const =0
 Returns the value of the meta attribute. More...
 
virtual void setValue (const char_t *val)=0
 Sets the value a meta attribute. 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...
 
- Public Member Functions inherited from Reference
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Protected Member Functions

virtual ~MetaAttribute ()
 This object can be destroyed only by the library that has created it. More...
 

Detailed Description

MetaAttribute describes a textual meta information that is part of an audio or video file.

See Also
Library::createMetaAttribute
Metadata

Constructor & Destructor Documentation

virtual ~MetaAttribute ( )
protectedvirtual

This object can be destroyed only by the library that has created it.

See Also
primo::Reference::release

Member Function Documentation

virtual const char* name ( ) const
pure virtual

Returns the name of the meta attribute.

Returns
A pointer to an ANSI string.

Common meta attribute names are defined in primo::codecs::Meta

See Also
primo::codecs::Meta
virtual void setName ( const char *  name)
pure virtual

Sets the name of a meta attribute.

Parameters
[in]nameA pointer to an ANSI string.

Common meta attribute names are defined in primo::codecs::Meta

See Also
primo::codecs::Meta
virtual void setValue ( const char_t *  val)
pure virtual

Sets the value a meta attribute.

Parameters
[in]valA 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.