Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Public Types
Xfc::IntegerObject< IntegerType > Class Template Reference

A C++ template base class for integer objects. More...

#include <xfc/integerobject.hh>

List of all members.

Public Types

Public Member Functions

Accessors

Protected Member Functions

Constructors

Detailed Description

template<typename IntegerType>
class Xfc::IntegerObject< IntegerType >

A C++ template base class for integer objects.

IntegerObject is a template base class for integer objects like Gdk::Keyval, G::Quark and G::Unichar.


Constructor & Destructor Documentation

template<typename IntegerType>
Xfc::IntegerObject< IntegerType >::IntegerObject ( IntegerType  value) [inline, protected]

Construct a new integer object.

Parameters:
valueThe integer value to initialize the integer object with.

Member Function Documentation

template<typename IntegerType>
bool Xfc::IntegerObject< IntegerType >::equal ( IntegerType  value) const [inline]

Determines whether this integer object is equal to value.

Parameters:
valueA value of type IntegerType.
Returns:
true if the value of this integer object and value are equal.

Referenced by Xfc::operator!=(), and Xfc::operator==().

template<typename IntegerType>
bool Xfc::IntegerObject< IntegerType >::operator!= ( const IntegerObject< IntegerType > &  other) const [inline]

Inequality operator.

Parameters:
otherAnother IntegerObject.
Returns:
true if the value of this integer object and other are not equal.
template<typename IntegerType>
bool Xfc::IntegerObject< IntegerType >::operator== ( const IntegerObject< IntegerType > &  other) const [inline]

Equality operator.

Parameters:
otherAnother IntegerObject.
Returns:
true if the value of this integer object and other are equal.

The documentation for this class was generated from the following file:
Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC