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

ufo::UPointObject Class Reference

#include <upoint.hpp>

Inheritance diagram for ufo::UPointObject:

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

Public Member Functions

 UPointObject (const UPoint &p)
 UPointObject (int w, int h)
virtual unsigned int hashCode () const
virtual bool equals (const UObject *obj)
virtual bool equals (const UPoint *obj)
virtual UObjectclone () const

Protected Member Functions

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

Detailed Description

wrapper class for UDimension which is derived from UObject.
Author:
Johannes Schmidt


Member Function Documentation

UObject * ufo::UPointObject::clone  )  const [inline, virtual]
 

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

Reimplemented from ufo::UObject.

unsigned int ufo::UPointObject::hashCode  )  const [inline, virtual]
 

returns a std::size_t which is used when UObject pointers are the keys for UHashMap. If equals(UObject*) returns true, these two objects should return the same hash code. If these objects are different, the hash code may be equal.

Returns:
a hash code.

Reimplemented from ufo::UObject.

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

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

Reimplemented from ufo::UObject.


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