Public Member Functions | Private Attributes

RealmBuddy Class Reference

#include <RealmBuddy.h>

Inheritance diagram for RealmBuddy:

List of all members.

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 DocTreeItemgetDocTreeItems () const
boost::shared_ptr< RealmBuddyptr ()
std::string domain ()
< 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
< RealmConnection

Constructor & Destructor Documentation

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().

Member Function Documentation

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.

Member Data Documentation

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]

Referenced by demote(), master(), and promote().

uint64_t RealmBuddy::m_user_id [private]

Referenced by getDescriptor(), and user_id().

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