Wt::LayoutItemCompound< ValueType > Class Template Reference

#include <layout.h>

Collaboration diagram for Wt::LayoutItemCompound< ValueType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ValueType LayoutItemValue

Public Member Functions

 LayoutItemCompound (const LayoutItem *li_=0, const LayoutItemValue &val=LayoutItemValue())
 operator LayoutItem * () const
 operator const LayoutItemValue & () const
 operator LayoutItemValue & ()
bool operator== (const LayoutItemCompound &other) const
bool operator== (const LayoutItem *other) const

Private Attributes

LayoutItemli
LayoutItemValue value

Detailed Description

template<typename ValueType = NullClass>
class Wt::LayoutItemCompound< ValueType >

Definition at line 364 of file layout.h.


Member Typedef Documentation

template<typename ValueType = NullClass>
typedef ValueType Wt::LayoutItemCompound< ValueType >::LayoutItemValue

Definition at line 366 of file layout.h.


Constructor & Destructor Documentation

template<typename ValueType = NullClass>
Wt::LayoutItemCompound< ValueType >::LayoutItemCompound ( const LayoutItem li_ = 0,
const LayoutItemValue val = LayoutItemValue() 
) [inline]

Definition at line 368 of file layout.h.

00369                                                                        :
00370     li(const_cast<LayoutItem *>(li_)), value(val) {}


Member Function Documentation

template<typename ValueType = NullClass>
Wt::LayoutItemCompound< ValueType >::operator const LayoutItemValue & (  )  const [inline]

Definition at line 376 of file layout.h.

References Wt::LayoutItemCompound< ValueType >::value.

00376                                              {
00377         return value;
00378     }

template<typename ValueType = NullClass>
Wt::LayoutItemCompound< ValueType >::operator LayoutItem * (  )  const [inline]

Definition at line 372 of file layout.h.

References Wt::LayoutItemCompound< ValueType >::li.

00372                                   {
00373         return li;
00374     }

template<typename ValueType = NullClass>
Wt::LayoutItemCompound< ValueType >::operator LayoutItemValue & (  )  [inline]

Definition at line 380 of file layout.h.

References Wt::LayoutItemCompound< ValueType >::value.

00380                                  {
00381         return value;
00382     }

template<typename ValueType = NullClass>
bool Wt::LayoutItemCompound< ValueType >::operator== ( const LayoutItem other  )  const [inline]

Definition at line 388 of file layout.h.

References Wt::LayoutItemCompound< ValueType >::li.

00388                                                    {
00389         return li == other;
00390     }

template<typename ValueType = NullClass>
bool Wt::LayoutItemCompound< ValueType >::operator== ( const LayoutItemCompound< ValueType > &  other  )  const [inline]

Definition at line 384 of file layout.h.

References Wt::LayoutItemCompound< ValueType >::li.

00384                                                            {
00385         return li == other.li;
00386     }


Member Data Documentation

template<typename ValueType = NullClass>
LayoutItem* Wt::LayoutItemCompound< ValueType >::li [private]

Definition at line 393 of file layout.h.

Referenced by Wt::LayoutItemCompound< ValueType >::operator LayoutItem *(), and Wt::LayoutItemCompound< ValueType >::operator==().

template<typename ValueType = NullClass>
LayoutItemValue Wt::LayoutItemCompound< ValueType >::value [private]

Definition at line 394 of file layout.h.

Referenced by Wt::LayoutItemCompound< ValueType >::operator const LayoutItemValue &(), and Wt::LayoutItemCompound< ValueType >::operator LayoutItemValue &().


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

Generated Fri Jul 28 19:30:00 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.