#include <RealmBuddy.h>
Public Member Functions | |
| RealmBuddy (AccountHandler *handler, uint64_t _user_id, const std::string &domain_, UT_uint8 realm_conn_id, bool _master, boost::shared_ptr< RealmConnection > conn) | |
| virtual UT_UTF8String | getDescriptor (bool include_session_info=false) const |
| virtual UT_UTF8String | getDescription () const |
| virtual const DocTreeItem * | getDocTreeItems () const |
| boost::shared_ptr< RealmBuddy > | ptr () |
| std::string | domain () |
| boost::shared_ptr < RealmConnection > | connection () |
| uint64_t | user_id () const |
| UT_uint8 | realm_connection_id () const |
| bool | master () const |
| void | demote () |
| void | promote () |
Private Attributes | |
| uint64_t | m_user_id |
| std::string | m_domain |
| UT_uint8 | m_realm_connection_id |
| bool | m_master |
| boost::shared_ptr < RealmConnection > | m_connection |
| RealmBuddy::RealmBuddy | ( | AccountHandler * | handler, | |
| uint64_t | _user_id, | |||
| const std::string & | domain_, | |||
| UT_uint8 | realm_conn_id, | |||
| bool | _master, | |||
| boost::shared_ptr< RealmConnection > | conn | |||
| ) | [inline] |
References Buddy::setVolatile().
| boost::shared_ptr<RealmConnection> RealmBuddy::connection | ( | ) | [inline] |
References m_connection.
| void RealmBuddy::demote | ( | ) | [inline] |
References m_master.
| std::string RealmBuddy::domain | ( | ) | [inline] |
References m_domain.
| virtual UT_UTF8String RealmBuddy::getDescription | ( | ) | const [inline, virtual] |
Implements Buddy.
References getDescriptor().
| virtual UT_UTF8String RealmBuddy::getDescriptor | ( | bool | include_session_info = false |
) | const [inline, virtual] |
Implements Buddy.
References m_domain, m_realm_connection_id, and m_user_id.
Referenced by getDescription().
| virtual const DocTreeItem* RealmBuddy::getDocTreeItems | ( | ) | const [inline, virtual] |
Implements Buddy.
| bool RealmBuddy::master | ( | ) | const [inline] |
References m_master.
| void RealmBuddy::promote | ( | ) | [inline] |
References m_master.
| boost::shared_ptr<RealmBuddy> RealmBuddy::ptr | ( | ) | [inline] |
| UT_uint8 RealmBuddy::realm_connection_id | ( | ) | const [inline] |
References m_realm_connection_id.
| uint64_t RealmBuddy::user_id | ( | ) | const [inline] |
References m_user_id.
boost::shared_ptr<RealmConnection> RealmBuddy::m_connection [private] |
Referenced by connection().
std::string RealmBuddy::m_domain [private] |
Referenced by domain(), and getDescriptor().
bool RealmBuddy::m_master [private] |
UT_uint8 RealmBuddy::m_realm_connection_id [private] |
Referenced by getDescriptor(), and realm_connection_id().
uint64_t RealmBuddy::m_user_id [private] |
Referenced by getDescriptor(), and user_id().
1.7.1