kget
bt::BListNode Class Reference
#include <bnode.h>
Inheritance diagram for bt::BListNode:

Detailed Description
Represents a list in bencoded data
Definition at line 160 of file bnode.h.
Public Member Functions | |
| void | append (BNode *node) |
| BListNode (Uint32 off) | |
| BNode * | getChild (Uint32 idx) |
| BDictNode * | getDict (Uint32 idx) |
| BListNode * | getList (Uint32 idx) |
| Uint32 | getNumChildren () const |
| BValueNode * | getValue (Uint32 idx) |
| void | printDebugInfo () |
| virtual | ~BListNode () |
Constructor & Destructor Documentation
Member Function Documentation
| void bt::BListNode::append | ( | BNode * | node | ) |
| Uint32 bt::BListNode::getNumChildren | ( | ) | const [inline] |
| BValueNode * bt::BListNode::getValue | ( | Uint32 | idx | ) |
Get a BValueNode.
- Parameters:
-
idx The index
- Returns:
- The node or 0 if the index is out of bounds or the element at postion idx isn't a BValueNode.
| void bt::BListNode::printDebugInfo | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference