Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

WN_TREE_ITER_base< WHIRL > Class Template Reference

#include <wn_tree_util.h>

Inheritance diagram for WN_TREE_ITER_base< WHIRL >:
Inheritance graph
[legend]
Collaboration diagram for WN_TREE_ITER_base< WHIRL >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef WN_TREE_ITER_base< WHIRL > self
typedef std::forward_iterator_tag iterator_category
typedef WHIRL value_type
typedef ptrdiff_t difference_type
typedef value_typepointer
typedef const value_typeconst_reference
typedef value_typereference
typedef vector< pair< WHIRL,
INT32 > > 
WN_STACK

Public Member Functions

WHIRL Wn (void) const
const WN_STACKParent (void) const
void Set_wn (WHIRL wn2)
void Set_parent (const WN_STACK &parent2)
INT Get_kid_index (void) const
void Pop ()
WHIRL Get_parent_wn (void) const
INT Depth ()
 WN_TREE_ITER_base ()
 WN_TREE_ITER_base (WHIRL wn2)
reference operator* ()
void Replace (WHIRL new_wn)

Protected Member Functions

void Set_kid_index (INT i)
INT Inc_kid_index (void)
void Push ()

Protected Attributes

WHIRL _wn
WN_STACK _parent

Detailed Description

template<class WHIRL>
class WN_TREE_ITER_base< WHIRL >

Definition at line 162 of file wn_tree_util.h.


Member Typedef Documentation

template<class WHIRL>
typedef const value_type& WN_TREE_ITER_base< WHIRL >::const_reference

Definition at line 181 of file wn_tree_util.h.

template<class WHIRL>
typedef ptrdiff_t WN_TREE_ITER_base< WHIRL >::difference_type

Definition at line 179 of file wn_tree_util.h.

template<class WHIRL>
typedef std::forward_iterator_tag WN_TREE_ITER_base< WHIRL >::iterator_category

Definition at line 177 of file wn_tree_util.h.

template<class WHIRL>
typedef value_type* WN_TREE_ITER_base< WHIRL >::pointer

Definition at line 180 of file wn_tree_util.h.

template<class WHIRL>
typedef value_type& WN_TREE_ITER_base< WHIRL >::reference

Definition at line 182 of file wn_tree_util.h.

template<class WHIRL>
typedef WN_TREE_ITER_base<WHIRL> WN_TREE_ITER_base< WHIRL >::self

Definition at line 176 of file wn_tree_util.h.

template<class WHIRL>
typedef WHIRL WN_TREE_ITER_base< WHIRL >::value_type

Definition at line 178 of file wn_tree_util.h.

template<class WHIRL>
typedef vector<pair<WHIRL,INT32> > WN_TREE_ITER_base< WHIRL >::WN_STACK

Definition at line 183 of file wn_tree_util.h.


Constructor & Destructor Documentation

template<class WHIRL>
WN_TREE_ITER_base< WHIRL >::WN_TREE_ITER_base (  )  [inline]

Definition at line 261 of file wn_tree_util.h.

template<class WHIRL>
WN_TREE_ITER_base< WHIRL >::WN_TREE_ITER_base ( WHIRL  wn2  )  [inline]

Definition at line 265 of file wn_tree_util.h.


Member Function Documentation

template<class WHIRL>
INT WN_TREE_ITER_base< WHIRL >::Depth (  )  [inline]

Definition at line 243 of file wn_tree_util.h.

Referenced by WN_TREE_put_expr().

template<class WHIRL>
INT WN_TREE_ITER_base< WHIRL >::Get_kid_index ( void   )  const [inline]
template<class WHIRL>
WHIRL WN_TREE_ITER_base< WHIRL >::Get_parent_wn ( void   )  const [inline]
template<class WHIRL>
INT WN_TREE_ITER_base< WHIRL >::Inc_kid_index ( void   )  [inline, protected]
template<class WHIRL>
reference WN_TREE_ITER_base< WHIRL >::operator* (  )  [inline]

Definition at line 268 of file wn_tree_util.h.

template<class WHIRL>
const WN_STACK& WN_TREE_ITER_base< WHIRL >::Parent ( void   )  const [inline]

Definition at line 195 of file wn_tree_util.h.

template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Pop ( void   )  [inline]
template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Push (  )  [inline, protected]
template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Replace ( WHIRL  new_wn  )  [inline]

Definition at line 278 of file wn_tree_util.h.

template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Set_kid_index ( INT  i  )  [inline, protected]

Definition at line 206 of file wn_tree_util.h.

template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Set_parent ( const WN_STACK parent2  )  [inline]

Definition at line 200 of file wn_tree_util.h.

template<class WHIRL>
void WN_TREE_ITER_base< WHIRL >::Set_wn ( WHIRL  wn2  )  [inline]
template<class WHIRL>
WHIRL WN_TREE_ITER_base< WHIRL >::Wn ( void   )  const [inline]

Member Data Documentation

template<class WHIRL>
WN_STACK WN_TREE_ITER_base< WHIRL >::_parent [protected]
template<class WHIRL>
WHIRL WN_TREE_ITER_base< WHIRL >::_wn [protected]

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