libktorrent  2.2.0
Public Member Functions | List of all members
bt::BValueNode Class Reference

Represents a value (string,bytearray or int) in bencoded data. More...

#include <bnode.h>

Inheritance diagram for bt::BValueNode:
Inheritance graph
[legend]

Public Member Functions

 BValueNode (const Value &v, Uint32 off)
 
const Valuedata () const
 
void printDebugInfo () override
 Print some debugging info.
 
- Public Member Functions inherited from bt::BNode
 BNode (Type type, Uint32 off)
 
Uint32 getLength () const
 Get the length this node takes up in the bytearray.
 
Uint32 getOffset () const
 Get the offset in the bytearray where this node starts.
 
Type getType () const
 Get the type of node.
 
void setLength (Uint32 l)
 Set the length.
 

Additional Inherited Members

- Public Types inherited from bt::BNode
enum  Type { VALUE, DICT, LIST }
 

Detailed Description

Author
Joris Guisson
Todo:
Use QVariant

Definition at line 84 of file bnode.h.


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