Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

gslib::sapling::scribbler< Value, Allocator > Class Template Reference

いんちき木落書きツール More...

#include <scribble.h>

List of all members.

Public Member Functions

 scribbler (tree_type &t)
scribblerb (const_reference v)
scribblere ()
scribbleroperator() (const_reference v)

Private Types

typedef tree< Value, Allocator > tree_type
typedef tree_type::sibling_iterator iterator
typedef tree_type::const_reference const_reference

Private Attributes

tree_typetree_
iterator cur_


Detailed Description

template<typename Value, typename Allocator>
class gslib::sapling::scribbler< Value, Allocator >

いんちき木落書きツール

Definition at line 66 of file scribble.h.


Member Typedef Documentation

template<typename Value, typename Allocator>
typedef tree_type::const_reference gslib::sapling::scribbler< Value, Allocator >::const_reference [private]
 

Definition at line 71 of file scribble.h.

Referenced by gslib::sapling::scribbler< Value, Allocator >::b(), and gslib::sapling::scribbler< Value, Allocator >::operator()().

template<typename Value, typename Allocator>
typedef tree_type::sibling_iterator gslib::sapling::scribbler< Value, Allocator >::iterator [private]
 

Definition at line 70 of file scribble.h.

template<typename Value, typename Allocator>
typedef tree< Value, Allocator > gslib::sapling::scribbler< Value, Allocator >::tree_type [private]
 

Definition at line 69 of file scribble.h.


Constructor & Destructor Documentation

template<typename Value, typename Allocator>
gslib::sapling::scribbler< Value, Allocator >::scribbler tree_type t  )  [inline]
 

Definition at line 75 of file scribble.h.

References gslib::sapling::scribbler< Value, Allocator >::tree_, and tree_type.

00075                                       : tree_( t ) {
00076                 cur_ = tree_.end_sibling();
00077             }


Member Function Documentation

template<typename Value, typename Allocator>
scribbler& gslib::sapling::scribbler< Value, Allocator >::b const_reference  v  )  [inline]
 

Definition at line 79 of file scribble.h.

References gslib::sapling::scribbler< Value, Allocator >::const_reference, and gslib::sapling::scribbler< Value, Allocator >::tree_.

00079                                               {
00080                 cur_ = tree_.insert( cur_, v ).end();
00081                 return *this;
00082             }

template<typename Value, typename Allocator>
scribbler& gslib::sapling::scribbler< Value, Allocator >::e  )  [inline]
 

Definition at line 84 of file scribble.h.

00084                            {
00085                 cur_ = cur_.parent().next();
00086                 return *this;
00087             }

template<typename Value, typename Allocator>
scribbler& gslib::sapling::scribbler< Value, Allocator >::operator() const_reference  v  )  [inline]
 

Definition at line 89 of file scribble.h.

References gslib::sapling::scribbler< Value, Allocator >::const_reference, and gslib::sapling::scribbler< Value, Allocator >::tree_.

00089                                                          {
00090                 cur_ = tree_.insert( cur_, v ).next();
00091                 return *this;
00092             }


Member Data Documentation

template<typename Value, typename Allocator>
iterator gslib::sapling::scribbler< Value, Allocator >::cur_ [private]
 

Definition at line 73 of file scribble.h.

template<typename Value, typename Allocator>
tree_type& gslib::sapling::scribbler< Value, Allocator >::tree_ [private]
 

Definition at line 72 of file scribble.h.

Referenced by gslib::sapling::scribbler< Value, Allocator >::b(), gslib::sapling::scribbler< Value, Allocator >::operator()(), and gslib::sapling::scribbler< Value, Allocator >::scribbler().


The documentation for this class was generated from the following file:
Generated on Sat Nov 27 15:02:49 2004 for sapling by doxygen 1.3.6