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

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

#include <numericTraits.h>

List of all members.

Public Types

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

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< long >

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

Definition at line 268 of file numericTraits.h.


Member Typedef Documentation

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

Note the assumption that long ints won't overflow.

Definition at line 277 of file numericTraits.h.

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

This typedef specifies that when longs are added, the result should be an long.

Note the assumption that long ints won't overflow.

Definition at line 284 of file numericTraits.h.

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

Definition at line 290 of file numericTraits.h.


Member Function Documentation

bool dlr::numeric::NumericTraits< long >::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 302 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