#include <GgepBlock.h> [code]
Inherits Gnutella::Packets::Extensions::Extension.
Inheritance diagram for Gnutella::Packets::Extensions::GgepBlock:


Definition at line 40 of file GgepBlock.h.
Public Types | |
| typedef QList< const Ggep * > | Extensions |
Public Member Functions | |
| GgepBlock () | |
| GgepBlock (const GgepBlock &block) | |
| GgepBlock * | copy () const |
| ~GgepBlock () | |
| GgepBlock & | operator= (const GgepBlock &block) |
| int | prepareRead (const QByteArray &rawData) |
| void | read (QDataStream &stream) |
| int | prepareWrite () const |
| void | write (QDataStream &stream) const |
| void | addExtension (const Ggep &extension) |
| Adds a copy of the GGEP extension to the block. | |
| Extensions | extensions () const |
| Gets all the contained GGEP extensions. | |
Static Public Attributes | |
| static const char | MagicByte = char(0xC3) |
Private Member Functions | |
| void | deleteExtensions () |
Private Attributes | |
| Extensions | extensions_ |
| int | rawBlockLength_ |
| Stores the size of a raw block. If isValid() is false, read() reads this number of bytes. | |
|
|
Definition at line 43 of file GgepBlock.h. |
|
|
Definition at line 29 of file GgepBlock.cpp. |
|
|
Definition at line 35 of file GgepBlock.cpp. |
|
|
Definition at line 62 of file GgepBlock.cpp. |
|
|
Adds a copy of the GGEP extension to the block.
Definition at line 200 of file GgepBlock.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Extension. Definition at line 42 of file GgepBlock.cpp. |
|
|
Definition at line 67 of file GgepBlock.cpp. |
|
|
Gets all the contained GGEP extensions.
Definition at line 212 of file GgepBlock.cpp. |
|
|
Definition at line 47 of file GgepBlock.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Extension. Definition at line 74 of file GgepBlock.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Extension. Definition at line 175 of file GgepBlock.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Extension. Definition at line 142 of file GgepBlock.cpp. |
|
|
Implements Gnutella::Packets::Extensions::Extension. Definition at line 188 of file GgepBlock.cpp. |
|
|
Definition at line 64 of file GgepBlock.h. |
|
|
Definition at line 45 of file GgepBlock.h. |
|
|
Stores the size of a raw block. If isValid() is false, read() reads this number of bytes.
Definition at line 65 of file GgepBlock.h. |