#include <addcategory.h>
Inheritance diagram for TPProto::AddCategory:

Public Member Functions | |
| AddCategory () | |
| Default constructor. | |
| virtual | ~AddCategory () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer, fails. Unpacks the AddCategory frame from the buffer. Since these frames are always sent to the server, this method always fails and returns false. | |
| void | setName (const std::string &n) |
| Sets the name of this Category. | |
| void | setDescription (const std::string &d) |
| Sets the description of this Category. | |
| void TPProto::AddCategory::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Pack into a Buffer.
Packs this AddCategory frame into the buffer.
| buf | Buffer to pack into. |
Implements TPProto::Frame.
| bool TPProto::AddCategory::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer, fails. Unpacks the AddCategory frame from the buffer. Since these frames are always sent to the server, this method always fails and returns false.
| buf | The Buffer to unpack out of, ignored. |
Implements TPProto::Frame.
| void TPProto::AddCategory::setName | ( | const std::string & | n | ) |
| void TPProto::AddCategory::setDescription | ( | const std::string & | d | ) |
1.5.1