Protocols::BitTorrent::Bencoding::BErrorItem Class Reference

#include <BErrorItem.h> [code]

Inherits Protocols::BitTorrent::Bencoding::BItem.

Inheritance diagram for Protocols::BitTorrent::Bencoding::BErrorItem:

Inheritance graph
[legend]
Collaboration diagram for Protocols::BitTorrent::Bencoding::BErrorItem:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an error bencoding type.

This class is used for an abstraction. An object of this class is an invalid BItem object.

Definition at line 38 of file BErrorItem.h.

Public Member Functions

 BErrorItem ()
 Constructs an invalid BItem object.
 ~BErrorItem ()
 BErrorItem destructor.

Protected Member Functions

bool read (BinaryReader &)
 This function must be never called (BErrorItem is an invalid item).


Constructor & Destructor Documentation

Protocols::BitTorrent::Bencoding::BErrorItem::BErrorItem  )  [inline]
 

Constructs an invalid BItem object.

Definition at line 49 of file BErrorItem.h.

Protocols::BitTorrent::Bencoding::BErrorItem::~BErrorItem  )  [inline]
 

BErrorItem destructor.

Definition at line 53 of file BErrorItem.h.


Member Function Documentation

bool BErrorItem::read BinaryReader  )  [protected, virtual]
 

This function must be never called (BErrorItem is an invalid item).

This function must be never called since reading/loading data to an error item is not allowed.

Implements Protocols::BitTorrent::Bencoding::BItem.

Definition at line 32 of file BErrorItem.cpp.


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