sbIdentityService Class Reference

#include <sbIdentityService.h>

Inheritance diagram for sbIdentityService:
[legend]
Collaboration diagram for sbIdentityService:
[legend]

Public Member Functions

 sbIdentityService ()
 
- Public Member Functions inherited from sbIIdentityService
AString hashString (in AString aString)
 HashString Hashes the param string using the same method as used when generating metadata hash identities. The methods described below calculate an identity by passing this function a metadata property string of the form: contentType|trackName|artistName|albumName|genre for audio and contentType|trackName|artistName|albumName|genre for video to this method and this format should also be used for any other identity calculations. More...
 
AString calculateIdentityForMediaItem (in sbIMediaItem aMediaItem)
 CalculateIdentityForMediaItem Generates an identifier for the param aMediaItem and that identifier is returned. If media item's content type is not video or audio or the hash property values were not found or empty, a void string is returned. More...
 
AString calculateIdentityForBag (in sbILocalDatabaseResourcePropertyBag aPropertyBag)
 CalculateIdentityForBag - Generates an identifier for the properties contained within the param aPropertyBag and that identifier is returned. If content type is not video or audio or the hash property values were not found or empty a void string is returned. More...
 
void saveIdentityToMediaItem (in sbIMediaItem aMediaItem, in AString aIdentity)
 SaveIdentityToMediaItem - Saves the param aIdentity to the param aMediaItem's propertybag which will automatically flush that value to the database. More...
 
void saveIdentityToBag (in sbILocalDatabaseResourcePropertyBag aPropertyBag, in AString aIdentity)
 SaveIdentityToBag - Saves the param aIdentity to the propertybag which will automatically flush that value to the database for later retrieval. More...
 

Detailed Description

Definition at line 52 of file sbIdentityService.h.

Constructor & Destructor Documentation

sbIdentityService::sbIdentityService ( )

Definition at line 89 of file sbIdentityService.cpp.


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