#include <category.h>
Inheritance diagram for TPProto::Category:

Public Member Functions | |
| Category () | |
| Default constructor. | |
| virtual | ~Category () |
| Required virtual destructor. | |
| void | packBuffer (Buffer *buf) |
| Pack into a Buffer, asserts. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpack from a Buffer. Unpacks the Category frame from the buffer. | |
| uint32_t | getCategoryId () const |
| Gets the Category id. | |
| uint64_t | getModTime () const |
| Gets the last modification time of this Category. | |
| std::string | getName () const |
| Gets the name of this Category. | |
| std::string | getDescription () const |
| Gets the description of this Category. | |
| void TPProto::Category::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Pack into a Buffer, asserts.
Packs this Category frame into the buffer. Since the frame only comes from the server, this method assert(0).
| buf | Buffer to pack into, ignored. |
Implements TPProto::Frame.
| bool TPProto::Category::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpack from a Buffer. Unpacks the Category frame from the buffer.
| buf | The Buffer to unpack out of. |
Implements TPProto::Frame.
| uint32_t TPProto::Category::getCategoryId | ( | ) | const |
| uint64_t TPProto::Category::getModTime | ( | ) | const |
| std::string TPProto::Category::getName | ( | ) | const |
| std::string TPProto::Category::getDescription | ( | ) | const |
1.5.1