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.
VisualAudioMetaDataoperator= (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 VisualStringgetTrackName (void)
 Returns the name of the track.
const VisualStringgetTrackArtist (void)
 Returns the artist of the track.
const VisualStringgetTrackAlbum (void)
 Returns the name of the album.
const VisualStringgetTrackLyrics (void)
 Returns the lyrics of the track.
const VisualStringgetTrackComposer (void)
 Returns the composer of the track.
const VisualStringgetStreamTitle (void)
 Returns the title of a stream.
const VisualStringgetStreamMessage (void)
 Returns the message of a stream.
const VisualStringgetStreamURL (void)
 Returns the URL of a stream.
const VisualStringgetStreamName (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.
VisualItemIdentifiertrackIdentifier
 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