Wt::LayoutIterator Class Reference

#include <layout.h>

Collaboration diagram for Wt::LayoutIterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LayoutIterator (LayoutIteratorInterface *li)
 we cannot avoid the pointer here since we need the virtualized behaviour
 ~LayoutIterator ()
LayoutItemoperator * () const
LayoutIterator operator= (const LayoutIterator &i)
bool operator!= (const LayoutIteratorInterface &other) const
LayoutIteratoroperator++ (int)
void start ()
bool finish ()
LayoutItempop ()

Private Attributes

LayoutIteratorInterfaceli_

Detailed Description

Definition at line 82 of file layout.h.


Constructor & Destructor Documentation

Wt::LayoutIterator::LayoutIterator ( LayoutIteratorInterface li  )  [inline]

we cannot avoid the pointer here since we need the virtualized behaviour

Definition at line 85 of file layout.h.

00085                                                  :
00086     li_(li) {}
    ~LayoutIterator () {

Wt::LayoutIterator::~LayoutIterator (  )  [inline]

Definition at line 87 of file layout.h.

References li_.

00087                        {
00088         delete li_;
00089     }


Member Function Documentation

bool Wt::LayoutIterator::finish (  )  [inline]

Definition at line 108 of file layout.h.

References Wt::LayoutIteratorInterface::finish(), and li_.

Referenced by Wt::LayoutItem::invalidateRecursively(), and Wt::Layout::setGeometry().

00108                   {
00109         return li_->finish();
00110     }

Here is the call graph for this function:

LayoutItem* Wt::LayoutIterator::operator * (  )  const [inline]

Definition at line 90 of file layout.h.

References li_.

00090                                   {
00091         return **li_;
00092     }

bool Wt::LayoutIterator::operator!= ( const LayoutIteratorInterface other  )  const [inline]

Definition at line 96 of file layout.h.

References li_.

00096                                                                 {
00097         return (**li_ != *other);
00098     }

LayoutIterator& Wt::LayoutIterator::operator++ ( int   )  [inline]

Definition at line 100 of file layout.h.

00100                                     {
00101         (*li_)++;
00102         return *this;
00103     }

LayoutIterator Wt::LayoutIterator::operator= ( const LayoutIterator i  )  [inline]

Definition at line 93 of file layout.h.

References li_.

00093                                                       {
00094         return li_ = i.li_;
00095     }

LayoutItem* Wt::LayoutIterator::pop (  )  [inline]

Definition at line 111 of file layout.h.

References li_, and Wt::LayoutIteratorInterface::pop().

00111                       {
00112         return li_->pop();
00113     }

Here is the call graph for this function:

void Wt::LayoutIterator::start (  )  [inline]

Definition at line 105 of file layout.h.

References li_, and Wt::LayoutIteratorInterface::start().

Referenced by Wt::LayoutItem::invalidateRecursively(), and Wt::Layout::setGeometry().

00105                  {
00106         return li_->start();
00107     }

Here is the call graph for this function:


Member Data Documentation

LayoutIteratorInterface* Wt::LayoutIterator::li_ [private]

Definition at line 116 of file layout.h.

Referenced by finish(), operator *(), operator!=(), operator=(), pop(), start(), and ~LayoutIterator().


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

Generated Fri Jul 28 19:29:47 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.