VizKit  3.3.7
Public Member Functions | Private Member Functions | Private Attributes
VizKit::VisualAudioMetaData Class Reference

Meta data (like track name, artist name, or lyrics, etc.) of audio track or audio stream. More...

#include <VisualAudioMetaData.h>

List of all members.

Public Member Functions

 VisualAudioMetaData ()
 Constructor.
 ~VisualAudioMetaData ()
 Destructor.
 VisualAudioMetaData (const VisualAudioMetaData &other)
 Copy constructor.
VisualAudioMetaData & operator= (const VisualAudioMetaData &other)
 Assignment operator.
bool operator== (const VisualAudioMetaData &other)
 Equality operator.
bool operator!= (const VisualAudioMetaData &other)
 Inequality operator.
void init (void)
 Resets the values of the audio meta data to their initial default empty values.
void setIsStream (bool isAStream)
 Sets whether data belongs to stream or track.
void setTrackName (const VisualString &aTrackName)
 Sets the name of the track.
void setTrackArtist (const VisualString &aTrackArtist)
 Sets the artist of the track.
void setTrackAlbum (const VisualString &aTrackAlbum)
 Sets the name of the album.
void setTrackLyrics (const VisualString &someTrackLyrics)
 Sets the lyrics of the track.
void setTrackComposer (const VisualString &aComposer)
 Sets the composer of the track.
void setStreamTitle (const VisualString &aStreamTitle)
 Sets the title of a stream.
void setStreamMessage (const VisualString &aStreamMessage)
 Sets the message of a stream.
void setStreamURL (const VisualString &aStreamURL)
 Sets the URL of a stream.
void setStreamName (const VisualString &aStreamName)
 Sets the name of a stream.
void setTrackSizeInBytes (uint32 aTrackSizeInBytes)
 Sets the size of the track in bytes.
void setYear (uint16 aYear)
 Sets the year of the audio data.
const VisualString & getTrackName (void)
 Returns the name of the track.
const VisualString & getTrackArtist (void)
 Returns the artist of the track.
const VisualString & getTrackAlbum (void)
 Returns the name of the album.
const VisualString & getTrackLyrics (void)
 Returns the lyrics of the track.
const VisualString & getTrackComposer (void)
 Returns the composer of the track.
const VisualString & getStreamTitle (void)
 Returns the title of a stream.
const VisualString & getStreamMessage (void)
 Returns the message of a stream.
const VisualString & getStreamURL (void)
 Returns the URL of a stream.
const VisualString & getStreamName (void)
 Returns the name of a stream.
uint32 getTrackSizeInBytes (void)
 Returns the size of the track in bytes.
uint16 getYear (void)
 Returns the year of the audio data in bytes.
VisualItemIdentifier getTrackIdentifier (void)
 Returns the unique identifer of the track for the meta data.
bool getIsStream (void)
 Answers the question whether audio meta data belongs to stream or track.

Private Member Functions

void copy (const VisualAudioMetaData &other)
 Copy method for assignment operator and copy constructor.

Private Attributes

bool isStream
 True if audio meta data belongs to stream.
VisualString trackName
 Name of audio track.
VisualString trackArtist
 Name of track artist.
VisualString trackAlbum
 Name of album the track belongs to.
VisualString trackLyrics
 Lyrics of track.
VisualString trackComposer
 Composer of track.
VisualString streamTitle
 Title of a stream.
VisualString streamMessage
 Message of a stream.
VisualString streamURL
 URL of a stream.
VisualString streamName
 Name of a stream.
VisualString returnString
 Utility string for thread-safe returning string value.
uint32 trackSizeInBytes
 Size of audio track in bytes.
uint16 year
 The year of the audio track.
VisualItemIdentifier * trackIdentifier
 The identifier of the audio track.

Detailed Description

Meta data (like track name, artist name, or lyrics, etc.) of audio track or audio stream.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy constructor.

Parameters:
otherAnother VisualAudioMetaData.

Member Function Documentation

void VisualAudioMetaData::copy ( const VisualAudioMetaData &  other) [private]

Copy method for assignment operator and copy constructor.

Parameters:
otherAnother VisualAudioMetaData.

Answers the question whether audio meta data belongs to stream or track.

Returns:
True if audio meta data belongs to stream. False if audio meta data belongs to track.

Returns the message of a stream.

Returns:
The message of a stream.

Returns the name of a stream.

Returns:
The name of a stream.

Returns the title of a stream.

Returns:
The title of a stream.

Returns the URL of a stream.

Returns:
The URL of a stream.

Returns the name of the album.

Returns:
The name of the album the track belongs to.

Returns the artist of the track.

Returns:
The artist of the track.

Returns the composer of the track.

Returns:
The composer of the track.

Returns the unique identifer of the track for the meta data.

Returns:
The unique identifer of the track for the meta data.

Returns the lyrics of the track.

Returns:
The lyrics of the track.

Returns the name of the track.

Returns:
The name of the track.

Returns the size of the track in bytes.

Returns:
The size of the track in bytes.

Returns the year of the audio data in bytes.

Returns:
The year of the audio data in bytes.
void VisualAudioMetaData::init ( void  )

Resets the values of the audio meta data to their initial default empty values.

bool VisualAudioMetaData::operator!= ( const VisualAudioMetaData &  other)

Inequality operator.

Parameters:
otherAnother VisualAudioMetaData.
VisualAudioMetaData & VisualAudioMetaData::operator= ( const VisualAudioMetaData &  other)

Assignment operator.

bool VisualAudioMetaData::operator== ( const VisualAudioMetaData &  other)

Equality operator.

Parameters:
otherAnother VisualAudioMetaData.
void VisualAudioMetaData::setIsStream ( bool  isAStream)

Sets whether data belongs to stream or track.

Parameters:
isAStreamIf true data is stream meta data. If false data is track meta data.
void VisualAudioMetaData::setStreamMessage ( const VisualString &  aStreamMessage)

Sets the message of a stream.

Parameters:
aStreamMessageThe message of a stream.
void VisualAudioMetaData::setStreamName ( const VisualString &  aStreamName)

Sets the name of a stream.

Parameters:
aStreamNameThe name of a stream.
void VisualAudioMetaData::setStreamTitle ( const VisualString &  aStreamTitle)

Sets the title of a stream.

Parameters:
aStreamTitleThe title of a stream.
void VisualAudioMetaData::setStreamURL ( const VisualString &  aStreamURL)

Sets the URL of a stream.

Parameters:
aStreamURLThe URL of a stream.
void VisualAudioMetaData::setTrackAlbum ( const VisualString &  aTrackAlbum)

Sets the name of the album.

Parameters:
aTrackAlbumThe name of the album the track belongs to.
void VisualAudioMetaData::setTrackArtist ( const VisualString &  aTrackArtist)

Sets the artist of the track.

Parameters:
aTrackArtistThe name of the track artist.

Sets the composer of the track.

Parameters:
aComposerThe composer of the track.
void VisualAudioMetaData::setTrackLyrics ( const VisualString &  someTrackLyrics)

Sets the lyrics of the track.

Parameters:
someTrackLyricsThe lyrics of the track.
void VisualAudioMetaData::setTrackName ( const VisualString &  aTrackName)

Sets the name of the track.

Parameters:
aTrackNameThe name of the track.
void VisualAudioMetaData::setTrackSizeInBytes ( uint32  aTrackSizeInBytes)

Sets the size of the track in bytes.

Parameters:
aTrackSizeInBytesThe size of the track in bytes.

Sets the year of the audio data.

Parameters:
aYearThe year of the audio data.

Member Data Documentation

True if audio meta data belongs to stream.

False if audio meta data belongs to track.

Utility string for thread-safe returning string value.

Message of a stream.

Name of a stream.

Title of a stream.

URL of a stream.

Name of album the track belongs to.

Name of track artist.

Composer of track.

The identifier of the audio track.

Lyrics of track.

Name of audio track.

Size of audio track in bytes.

The year of the audio track.


The documentation for this class was generated from the following files:

Generated on Sun May 3 2015 20:26:31 for VizKit by doxygen 1.8.0