#include <ServiceBuddy.h>
Public Member Functions | |
ServiceBuddy (AccountHandler *handler, ServiceBuddyType type_, uint64_t user_id, const std::string &name, const std::string &domain) | |
virtual UT_UTF8String | getDescriptor (bool include_session_info=false) const |
virtual UT_UTF8String | getDescription () const |
ServiceBuddyType | getType () const |
uint64_t | getUserId () const |
const std::string & | getName () const |
virtual const DocTreeItem * | getDocTreeItems () const |
Private Attributes | |
ServiceBuddyType | m_type |
uint64_t | m_user_id |
std::string | m_name |
std::string | m_domain |
ServiceBuddy::ServiceBuddy | ( | AccountHandler * | handler, | |
ServiceBuddyType | type_, | |||
uint64_t | user_id, | |||
const std::string & | name, | |||
const std::string & | domain | |||
) | [inline] |
References Buddy::setVolatile().
virtual UT_UTF8String ServiceBuddy::getDescription | ( | ) | const [inline, virtual] |
virtual UT_UTF8String ServiceBuddy::getDescriptor | ( | bool | include_session_info = false |
) | const [inline, virtual] |
Implements Buddy.
References m_domain, m_type, m_user_id, UT_ASSERT_HARMLESS, and UT_NOT_REACHED.
virtual const DocTreeItem* ServiceBuddy::getDocTreeItems | ( | ) | const [inline, virtual] |
Implements Buddy.
References Buddy::getDocHandles(), DocTreeItem::m_child, DocTreeItem::m_docHandle, DocTreeItem::m_next, and DocTreeItem::m_type.
const std::string& ServiceBuddy::getName | ( | ) | const [inline] |
References m_name.
ServiceBuddyType ServiceBuddy::getType | ( | ) | const [inline] |
References m_type.
uint64_t ServiceBuddy::getUserId | ( | ) | const [inline] |
References m_user_id.
std::string ServiceBuddy::m_domain [private] |
Referenced by getDescriptor().
std::string ServiceBuddy::m_name [private] |
Referenced by getDescription(), and getName().
ServiceBuddyType ServiceBuddy::m_type [private] |
Referenced by getDescriptor(), and getType().
uint64_t ServiceBuddy::m_user_id [private] |
Referenced by getDescriptor(), and getUserId().