Teuchos - Trilinos Tools Package Version of the Day
Static Public Member Functions
Teuchos::EnhancedNumberTraits< T > Class Template Reference

Class defining the traits of the number type being used in an EnhancedNumberValidator. More...

#include <Teuchos_StandardParameterEntryValidators.hpp>

List of all members.

Static Public Member Functions

static T min ()
 Gets the minimum possible value the number type can take on.
static T max ()
 Gets the maximum possible value the number type can take on.
static T defaultStep ()
 gets default amount a value of the number type should be incremented by when being utilizied in a UI.
static unsigned short defaultPrecision ()
 Gets the default precision with which the number type should be displayed.

Detailed Description

template<class T>
class Teuchos::EnhancedNumberTraits< T >

Class defining the traits of the number type being used in an EnhancedNumberValidator.

This class defines some of the traits of a number type being used by an EnhancedNumberValidator. The number has the following traits:

Note that simply using this class will result in compile time errors. Only specializations of this class will produce valid code.

Definition at line 934 of file Teuchos_StandardParameterEntryValidators.hpp.


Member Function Documentation

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::min ( ) [inline, static]

Gets the minimum possible value the number type can take on.

Definition at line 938 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::max ( ) [inline, static]

Gets the maximum possible value the number type can take on.

Definition at line 942 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::defaultStep ( ) [inline, static]

gets default amount a value of the number type should be incremented by when being utilizied in a UI.

Definition at line 947 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static unsigned short Teuchos::EnhancedNumberTraits< T >::defaultPrecision ( ) [inline, static]

Gets the default precision with which the number type should be displayed.

Definition at line 952 of file Teuchos_StandardParameterEntryValidators.hpp.


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