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

#include <VisualAudioMetaData.h>

List of all members.

Public Member Functions

 VisualAudioMetaData ()
 ~VisualAudioMetaData ()
 VisualAudioMetaData (const VisualAudioMetaData &other)
VisualAudioMetaDataoperator= (const VisualAudioMetaData &other)
bool operator== (const VisualAudioMetaData &other)
bool operator!= (const VisualAudioMetaData &other)
void init (void)
void setIsStream (bool isAStream)
void setTrackName (const VisualString &aTrackName)
void setTrackArtist (const VisualString &aTrackArtist)
void setTrackAlbum (const VisualString &aTrackAlbum)
void setTrackLyrics (const VisualString &someTrackLyrics)
void setTrackComposer (const VisualString &aComposer)
void setStreamTitle (const VisualString &aStreamTitle)
void setStreamMessage (const VisualString &aStreamMessage)
void setStreamURL (const VisualString &aStreamURL)
void setStreamName (const VisualString &aStreamName)
void setTrackSizeInBytes (uint32 aTrackSizeInBytes)
void setYear (uint16 aYear)
const VisualStringgetTrackName (void)
const VisualStringgetTrackArtist (void)
const VisualStringgetTrackAlbum (void)
const VisualStringgetTrackLyrics (void)
const VisualStringgetTrackComposer (void)
const VisualStringgetStreamTitle (void)
const VisualStringgetStreamMessage (void)
const VisualStringgetStreamURL (void)
const VisualStringgetStreamName (void)
uint32 getTrackSizeInBytes (void)
uint16 getYear (void)
VisualItemIdentifier getTrackIdentifier (void)
bool getIsStream (void)

Private Member Functions

void copy (const VisualAudioMetaData &other)

Private Attributes

bool isStream
VisualString trackName
VisualString trackArtist
VisualString trackAlbum
VisualString trackLyrics
VisualString trackComposer
VisualString streamTitle
VisualString streamMessage
VisualString streamURL
VisualString streamName
VisualString returnString
uint32 trackSizeInBytes
uint16 year
VisualItemIdentifiertrackIdentifier

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 Mar 25 2012 14:27:43 for VizKit by doxygen 1.8.0