Classes | Public Types | Public Member Functions

Swift::SearchPayload Class Reference

XEP-0055 search payload. More...

Inheritance diagram for Swift::SearchPayload:
Collaboration diagram for Swift::SearchPayload:

List of all members.

Classes

struct  Item

Public Types

typedef boost::shared_ptr
< SearchPayload
ref

Public Member Functions

 SearchPayload ()
Form::ref getForm () const
void setForm (Form::ref f)
const boost::optional
< std::string > & 
getInstructions () const
const boost::optional
< std::string > & 
getNick () const
const boost::optional
< std::string > & 
getFirst () const
const boost::optional
< std::string > & 
getLast () const
const boost::optional
< std::string > & 
getEMail () const
void setInstructions (const std::string &v)
void setNick (const std::string &v)
void setFirst (const std::string &v)
void setLast (const std::string &v)
void setEMail (const std::string &v)
const std::vector< Item > & getItems () const
void addItem (const Item &item)

Detailed Description

XEP-0055 search payload.

Definition at line 20 of file SearchPayload.h.


Member Typedef Documentation

typedef boost::shared_ptr<SearchPayload> Swift::SearchPayload::ref

Reimplemented from Swift::Payload.

Definition at line 22 of file SearchPayload.h.


Constructor & Destructor Documentation

Swift::SearchPayload::SearchPayload (  )  [inline]

Definition at line 32 of file SearchPayload.h.


Member Function Documentation

void Swift::SearchPayload::addItem ( const Item item  )  [inline]

Definition at line 81 of file SearchPayload.h.

const boost::optional<std::string>& Swift::SearchPayload::getEMail (  )  const [inline]

Definition at line 53 of file SearchPayload.h.

const boost::optional<std::string>& Swift::SearchPayload::getFirst (  )  const [inline]

Definition at line 45 of file SearchPayload.h.

Form::ref Swift::SearchPayload::getForm (  )  const [inline]

Definition at line 34 of file SearchPayload.h.

const boost::optional<std::string>& Swift::SearchPayload::getInstructions (  )  const [inline]

Definition at line 37 of file SearchPayload.h.

const std::vector<Item>& Swift::SearchPayload::getItems (  )  const [inline]

Definition at line 77 of file SearchPayload.h.

const boost::optional<std::string>& Swift::SearchPayload::getLast (  )  const [inline]

Definition at line 49 of file SearchPayload.h.

const boost::optional<std::string>& Swift::SearchPayload::getNick (  )  const [inline]

Definition at line 41 of file SearchPayload.h.

void Swift::SearchPayload::setEMail ( const std::string &  v  )  [inline]

Definition at line 73 of file SearchPayload.h.

void Swift::SearchPayload::setFirst ( const std::string &  v  )  [inline]

Definition at line 65 of file SearchPayload.h.

void Swift::SearchPayload::setForm ( Form::ref  f  )  [inline]

Definition at line 35 of file SearchPayload.h.

void Swift::SearchPayload::setInstructions ( const std::string &  v  )  [inline]

Definition at line 57 of file SearchPayload.h.

void Swift::SearchPayload::setLast ( const std::string &  v  )  [inline]

Definition at line 69 of file SearchPayload.h.

void Swift::SearchPayload::setNick ( const std::string &  v  )  [inline]

Definition at line 61 of file SearchPayload.h.