Protocols::Gnutella::Packets::Extensions::HugeGemBlock Struct Reference

#include <HugeGemBlock.h> [code]

Collaboration diagram for Protocols::Gnutella::Packets::Extensions::HugeGemBlock:

Collaboration graph
[legend]
List of all members.

Detailed Description

Todo:
use Uri for the HUGE URNs.
Todo:
Maybe rename xmlExtension() and urnExtension() to fromXmlExtension() and fromUrnExtension() - that's the naming style used in Qt. Better yet, create a HugeGemBlockBuilder class that supports method chaining.

Definition at line 45 of file HugeGemBlock.h.

Public Types

typedef QByteArray Urn
typedef QByteArray Xml
typedef QByteArray Unknown
typedef QList< UrnUrnList
typedef QList< XmlXmlList
typedef QList< UnknownUnknownList

Public Member Functions

 HugeGemBlock ()
bool operator== (const HugeGemBlock &other) const
bool operator!= (const HugeGemBlock &other) const

Static Public Member Functions

static HugeGemBlock xmlExtension (QByteArray bytes)
static HugeGemBlock urnExtension (QByteArray bytes)

Public Attributes

XmlList xmlList
UrnList urnList
UnknownList unknownList
GgepBlock ggepBlock

Static Public Attributes

static const uchar SepByte = 0x1C


Member Typedef Documentation

typedef QByteArray Protocols::Gnutella::Packets::Extensions::HugeGemBlock::Unknown
 

Definition at line 49 of file HugeGemBlock.h.

typedef QList<Unknown> Protocols::Gnutella::Packets::Extensions::HugeGemBlock::UnknownList
 

Definition at line 52 of file HugeGemBlock.h.

typedef QByteArray Protocols::Gnutella::Packets::Extensions::HugeGemBlock::Urn
 

Definition at line 47 of file HugeGemBlock.h.

typedef QList<Urn> Protocols::Gnutella::Packets::Extensions::HugeGemBlock::UrnList
 

Definition at line 50 of file HugeGemBlock.h.

typedef QByteArray Protocols::Gnutella::Packets::Extensions::HugeGemBlock::Xml
 

Definition at line 48 of file HugeGemBlock.h.

typedef QList<Xml> Protocols::Gnutella::Packets::Extensions::HugeGemBlock::XmlList
 

Definition at line 51 of file HugeGemBlock.h.


Constructor & Destructor Documentation

Protocols::Gnutella::Packets::Extensions::HugeGemBlock::HugeGemBlock  )  [inline]
 

Definition at line 69 of file HugeGemBlock.h.


Member Function Documentation

bool HugeGemBlock::operator!= const HugeGemBlock other  )  const
 

Definition at line 34 of file HugeGemBlock.cpp.

bool HugeGemBlock::operator== const HugeGemBlock other  )  const
 

Definition at line 28 of file HugeGemBlock.cpp.

HugeGemBlock Protocols::Gnutella::Packets::Extensions::HugeGemBlock::urnExtension QByteArray  bytes  )  [inline, static]
 

Definition at line 81 of file HugeGemBlock.h.

HugeGemBlock Protocols::Gnutella::Packets::Extensions::HugeGemBlock::xmlExtension QByteArray  bytes  )  [inline, static]
 

Definition at line 74 of file HugeGemBlock.h.


Member Data Documentation

GgepBlock Protocols::Gnutella::Packets::Extensions::HugeGemBlock::ggepBlock
 

Definition at line 66 of file HugeGemBlock.h.

const uchar Protocols::Gnutella::Packets::Extensions::HugeGemBlock::SepByte = 0x1C [static]
 

Definition at line 54 of file HugeGemBlock.h.

UnknownList Protocols::Gnutella::Packets::Extensions::HugeGemBlock::unknownList
 

Definition at line 65 of file HugeGemBlock.h.

UrnList Protocols::Gnutella::Packets::Extensions::HugeGemBlock::urnList
 

Definition at line 64 of file HugeGemBlock.h.

XmlList Protocols::Gnutella::Packets::Extensions::HugeGemBlock::xmlList
 

Definition at line 63 of file HugeGemBlock.h.


The documentation for this struct was generated from the following files: