Teuchos - Trilinos Tools Package Version of the Day
Static Public Member Functions
Teuchos::ValueTypeConversionTraits< unsigned long, float > Class Template Reference

Convert from float to unsigned long. More...

#include <Teuchos_as.hpp>

List of all members.

Static Public Member Functions

static unsigned long convert (const float t)
 Convert the given float to an unsigned long.
static unsigned long safeConvert (const float t)
 Convert the given float to an unsigned long, checking first or under- or overflow.

Detailed Description

template<>
class Teuchos::ValueTypeConversionTraits< unsigned long, float >

Convert from float to unsigned long.

Definition at line 1586 of file Teuchos_as.hpp.


Member Function Documentation

static unsigned long Teuchos::ValueTypeConversionTraits< unsigned long, float >::convert ( const float  t) [inline, static]

Convert the given float to an unsigned long.

Definition at line 1589 of file Teuchos_as.hpp.

static unsigned long Teuchos::ValueTypeConversionTraits< unsigned long, float >::safeConvert ( const float  t) [inline, static]

Convert the given float to an unsigned long, checking first or under- or overflow.

Definition at line 1596 of file Teuchos_as.hpp.


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