Phoenix
Object-oriented orthogonally persistent operating system
Public Member Functions
triton::triton_internal::Numeric< T > Class Template Reference

Class which represents generic numeric value, both integer and floating point. More...

#include <numeric.h>

Inheritance diagram for triton::triton_internal::Numeric< T >:
Collaboration diagram for triton::triton_internal::Numeric< T >:

List of all members.

Public Member Functions

virtual hash_t __hash__ () const
 Get objects hash.

Detailed Description

template<typename T>
class triton::triton_internal::Numeric< T >

Class which represents generic numeric value, both integer and floating point.


Member Function Documentation

template<typename T>
virtual hash_t triton::triton_internal::Numeric< T >::__hash__ ( ) const [inline, virtual]

Get objects hash.

The hash is used for optimized organizing of objects in collections. The hash should provide good distribution of values. Two equal objects must return the same hash value.

Returns:
Hash value of an object.

Reimplemented from triton::Object.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines