Wt::Enum< CHILD >::VarBase Class Reference

Inheritance diagram for Wt::Enum< CHILD >::VarBase:

Inheritance graph
Collaboration diagram for Wt::Enum< CHILD >::VarBase:

Collaboration graph
List of all members.

Public Member Functions

 VarBase (int val)
 operator int () const

Private Attributes

int value


class Enum< CHILD >::Var

Detailed Description

template<typename CHILD>
class Wt::Enum< CHILD >::VarBase

Definition at line 60 of file enum.h.

Constructor & Destructor Documentation

template<typename CHILD>
Wt::Enum< CHILD >::VarBase::VarBase ( int  val  )  [inline]

Definition at line 62 of file enum.h.

00063                 : value(val) {}

Member Function Documentation

template<typename CHILD>
Wt::Enum< CHILD >::VarBase::operator int (  )  const [inline]

Definition at line 64 of file enum.h.

References Wt::Enum< CHILD >::defined, and Wt::Enum< CHILD >::VarBase::value.

00064                              {
00065             /// \bug GCC bug: requires a (void)
00066             (void) defined;
00067             return value;
00068         }

Friends And Related Function Documentation

template<typename CHILD>
friend class Enum< CHILD >::Var [friend]

Definition at line 70 of file enum.h.

Member Data Documentation

template<typename CHILD>
int Wt::Enum< CHILD >::VarBase::value [private]

Definition at line 71 of file enum.h.

Referenced by Wt::Enum< CHILD >::VarBase::operator int(), and Wt::Enum< CHILD >::Var::operator=().

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

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