Public Member Functions

Swift::AvatarMemoryStorage Class Reference

Inheritance diagram for Swift::AvatarMemoryStorage:
Collaboration diagram for Swift::AvatarMemoryStorage:

List of all members.

Public Member Functions

virtual bool hasAvatar (const std::string &hash) const
virtual void addAvatar (const std::string &hash, const ByteArray &avatar)
virtual ByteArray getAvatar (const std::string &hash) const
virtual boost::filesystem::path getAvatarPath (const std::string &hash) const
virtual void setAvatarForJID (const JID &jid, const std::string &hash)
virtual std::string getAvatarForJID (const JID &jid) const
virtual void addAvatar (const std::string &hash, const ByteArray &avatar)=0

Detailed Description

Definition at line 15 of file AvatarMemoryStorage.h.


Member Function Documentation

virtual void Swift::AvatarMemoryStorage::addAvatar ( const std::string &  hash,
const ByteArray &  avatar 
) [inline, virtual]

Definition at line 17 of file AvatarMemoryStorage.h.

virtual void Swift::AvatarStorage::addAvatar ( const std::string &  hash,
const ByteArray &  avatar 
) [pure virtual, inherited]
virtual ByteArray Swift::AvatarMemoryStorage::getAvatar ( const std::string &  hash  )  const [inline, virtual]

Implements Swift::AvatarStorage.

Definition at line 18 of file AvatarMemoryStorage.h.

virtual std::string Swift::AvatarMemoryStorage::getAvatarForJID ( const JID jid  )  const [inline, virtual]

Implements Swift::AvatarStorage.

Definition at line 31 of file AvatarMemoryStorage.h.

virtual boost::filesystem::path Swift::AvatarMemoryStorage::getAvatarPath ( const std::string &  hash  )  const [inline, virtual]

Implements Swift::AvatarStorage.

Definition at line 23 of file AvatarMemoryStorage.h.

virtual bool Swift::AvatarMemoryStorage::hasAvatar ( const std::string &  hash  )  const [inline, virtual]

Implements Swift::AvatarStorage.

Definition at line 16 of file AvatarMemoryStorage.h.

virtual void Swift::AvatarMemoryStorage::setAvatarForJID ( const JID jid,
const std::string &  hash 
) [inline, virtual]

Implements Swift::AvatarStorage.

Definition at line 27 of file AvatarMemoryStorage.h.