- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UInteger Class Reference

A class representing an integer, derived from UObject. More...

#include <uinteger.hpp>

Inheritance diagram for ufo::UInteger:

ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

 UInteger (const int integer=0)
bool operator== (UInteger &integer)
bool operator== (const UInteger &integer)
UIntegeroperator= (int integer)
 operator int ()
int toInt () const
bool equals (const UInteger *integer) const
bool equals (const UObject *obj) const
std::string toString () const
UObjectclone () const

Static Public Member Functions

int toInt (const std::string &stringA, bool *ok=NULL)

Protected Member Functions

std::ostream & paramString (std::ostream &os) const

Detailed Description

A class representing an integer, derived from UObject.

Author:
Johannes Schmidt


Member Function Documentation

UObject* ufo::UInteger::clone  )  const [virtual]
 

tries to make a new object with the same internal data.

Reimplemented from ufo::UObject.

bool ufo::UInteger::equals const UObject obj  )  const [virtual]
 

checks if this object is the same object than obj

Reimplemented from ufo::UObject.

bool ufo::UInteger::equals const UInteger integer  )  const
 

checks if this object is the same object than obj

std::ostream& ufo::UInteger::paramString std::ostream &  os  )  const [protected, virtual]
 

Prints some useful internal data to the ostream os. This method is meant only for debugging purposes.

Reimplemented from ufo::UObject.

std::string ufo::UInteger::toString  )  const [virtual]
 

string representation

Reimplemented from ufo::UObject.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt