dlr::numeric::NumericTraits< int > Class Template Reference

This class is used to customize the behavior of dlr_libs classes & functions for the int type. More...

#include <numericTraits.h>

List of all members.

Public Types

typedef long ProductType
 This typedef specifies that when ints are multiplied, the result should be a long.
typedef long SumType
 This typedef specifies that when ints are added, the result should be a long.
typedef int TextOutputType
 This typedef specifies that when an int is serialized for stream output, it should be formatted as an int.

Public Member Functions

bool isIntegral ()
 This member function indicates whether the specified type is an integer type or not.


Detailed Description

template<>
class dlr::numeric::NumericTraits< int >

This class is used to customize the behavior of dlr_libs classes & functions for the int type.

Definition at line 226 of file numericTraits.h.


Member Typedef Documentation

This typedef specifies that when ints are multiplied, the result should be a long.

Definition at line 234 of file numericTraits.h.

typedef long dlr::numeric::NumericTraits< int >::SumType

This typedef specifies that when ints are added, the result should be a long.

Definition at line 240 of file numericTraits.h.

This typedef specifies that when an int is serialized for stream output, it should be formatted as an int.

Definition at line 246 of file numericTraits.h.


Member Function Documentation

bool dlr::numeric::NumericTraits< int >::isIntegral (  )  [inline]

This member function indicates whether the specified type is an integer type or not.

Returns:
The return is true if this type is an integer type, false other wise.

Definition at line 258 of file numericTraits.h.


The documentation for this class was generated from the following file:

Generated on Wed Nov 25 00:42:49 2009 for dlrUtilities Utility Library by  doxygen 1.5.8