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


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

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:
value The integer value to initialize the integer object with.

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

Construct a new integer object.

Parameters:
value The 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:
value A value of type IntegerType.
Returns:
true if the value of this integer object and value are equal.

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

Equality operator.

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

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

Inequality operator.

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


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