GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::IntegerObject< IntegerType > Class Template Reference

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

#include <gfc/integerobject.hh>

List of all members.

Public Types

Public Member Functions

Accessors

Protected Member Functions

Constructors

Detailed Description

template<typename IntegerType>
class GFC::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>
GFC::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 GFC::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 GFC::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.

template<typename IntegerType>
bool GFC::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.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:04:57 2004 for GFC-Core by doxygen 1.3.8