lkptr - simple reference LinKed PoinTeR:
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
Bin_Tree_Node< E > Class Template Reference

Nodos almacenados en el árbol. More...

#include <Bin_Tree.h>

List of all members.

Public Types

typedef E value_type
 Nombre estándar del tipo de elemento contenido.

Public Member Functions

 ~Bin_Tree_Node ()
 Destructor.

Private Member Functions

 Bin_Tree_Node (const value_type &d)
 Constructor a partir de un valor específico.

Private Attributes

value_type m_data
 Valor almacenado en el nodo.
lkptr< Bin_Tree_Node< E > > m_father
 Nodo padre (puede ser NULL si es raíz).
lkptr< Bin_Tree_Node< E > > m_left
 Hijo izquierdo del árbol (NULL si es hoja).
lkptr< Bin_Tree_Node< E > > m_right
 Hijo derecho del árbol (NULL si es hoja).

Friends

class Bin_Tree

Detailed Description

template<class E>
class Bin_Tree_Node< E >

Nodos almacenados en el árbol.

Definition at line 22 of file Bin_Tree.h.


Member Typedef Documentation

template<class E>
typedef E Bin_Tree_Node< E >::value_type

Nombre estándar del tipo de elemento contenido.

Definition at line 25 of file Bin_Tree.h.


Constructor & Destructor Documentation

template<class E>
Bin_Tree_Node< E >::Bin_Tree_Node ( const value_type d) [inline, private]

Constructor a partir de un valor específico.

Definition at line 33 of file Bin_Tree.h.

template<class E >
Bin_Tree_Node< E >::~Bin_Tree_Node ( ) [inline]

Destructor.

Definition at line 324 of file Bin_Tree.h.


Friends And Related Function Documentation

template<class E>
friend class Bin_Tree [friend]

Definition at line 24 of file Bin_Tree.h.


Member Data Documentation

template<class E>
value_type Bin_Tree_Node< E >::m_data [private]

Valor almacenado en el nodo.

Definition at line 27 of file Bin_Tree.h.

template<class E>
lkptr< Bin_Tree_Node <E> > Bin_Tree_Node< E >::m_father [private]

Nodo padre (puede ser NULL si es raíz).

Definition at line 28 of file Bin_Tree.h.

template<class E>
lkptr< Bin_Tree_Node <E> > Bin_Tree_Node< E >::m_left [private]

Hijo izquierdo del árbol (NULL si es hoja).

Definition at line 29 of file Bin_Tree.h.

template<class E>
lkptr< Bin_Tree_Node <E> > Bin_Tree_Node< E >::m_right [private]

Hijo derecho del árbol (NULL si es hoja).

Definition at line 30 of file Bin_Tree.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines