Logo Search packages:      
Sourcecode: ktechlab version File versions

BTreeNode Class Reference

#include <btreenode.h>

List of all members.

Detailed Description

A node points to the two child nodes (left and right), and contains the binary operation used to combine them.

Daniel Clarke

David Saxton

Definition at line 37 of file btreenode.h.

Public Member Functions

 BTreeNode (BTreeNode *p, BTreeNode *l, BTreeNode *r)
Expression::Operation childOp () const
void deleteChildren ()
bool hasChildren () const
BTreeNodeleft () const
bool needsEvaluating () const
BTreeNodeparent () const
QString reg () const
BTreeNoderight () const
void setChildOp (Expression::Operation op)
void setLeft (BTreeNode *left)
void setParent (BTreeNode *parent)
void setReg (const QString &r)
void setRight (BTreeNode *right)
void setType (ExprType type)
void setValue (const QString &value)
ExprType type () const
QString value () const

Protected Attributes

Expression::Operation m_childOp
QString m_reg
ExprType m_type
QString m_value

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

Generated by  Doxygen 1.6.0   Back to index