Public Types | Public Member Functions | Static Public Member Functions

Swift::StatusShow Class Reference

Inheritance diagram for Swift::StatusShow:
Collaboration diagram for Swift::StatusShow:

List of all members.

Public Types

enum  Type {
  Online, Away, FFC, XA,
  DND, None
}
typedef boost::shared_ptr
< Payload
ref

Public Member Functions

 StatusShow (const Type &type=Online)
void setType (const Type &type)
const TypegetType () const

Static Public Member Functions

static int typeToAvailabilityOrdering (Type type)
 Can be used for rough ordering of Types.

Detailed Description

Definition at line 13 of file StatusShow.h.


Member Typedef Documentation

typedef boost::shared_ptr<Payload> Swift::Payload::ref [inherited]

Member Enumeration Documentation

Enumerator:
Online 
Away 
FFC 
XA 
DND 
None 

Definition at line 15 of file StatusShow.h.


Constructor & Destructor Documentation

Swift::StatusShow::StatusShow ( const Type type = Online  ) 

Member Function Documentation

const Type& Swift::StatusShow::getType (  )  const [inline]

Definition at line 23 of file StatusShow.h.

void Swift::StatusShow::setType ( const Type type  )  [inline]

Definition at line 19 of file StatusShow.h.

static int Swift::StatusShow::typeToAvailabilityOrdering ( Type  type  )  [inline, static]

Can be used for rough ordering of Types.

Greater magnitude = more available.

Definition at line 31 of file StatusShow.h.