libyui
Public Member Functions

YChildrenRejector< T > Class Template Reference

#include <YChildrenManager.h>

Inheritance diagram for YChildrenRejector< T >:
YChildrenManager< T >

List of all members.

Public Member Functions

 YChildrenRejector (T *containerParent)
virtual void add (T *child)

Detailed Description

template<class T>
class YChildrenRejector< T >

Children manager that rejects all children.

Useful for widget classes that can't handle children such as YPushButton, YSelectionBox etc.


Constructor & Destructor Documentation

template<class T >
YChildrenRejector< T >::YChildrenRejector ( T *  containerParent) [inline]

Constructor.


Member Function Documentation

template<class T >
virtual void YChildrenRejector< T >::add ( T *  child) [inline, virtual]

Add a new child.

Reimplemented from YChildrenManager.

Since this class is designed to reject children, this always throws a YUITooManyChildrenException.

Reimplemented from YChildrenManager< T >.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Friends