Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Teuchos::EnhancedNumberTraits< T > Class Template Reference

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

#include <Teuchos_StandardParameterEntryValidators.hpp>

Static Public Member Functions

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

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 1206 of file Teuchos_StandardParameterEntryValidators.hpp.

Member Function Documentation

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::min ( )
inlinestatic

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

Definition at line 1210 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::max ( )
inlinestatic

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

Definition at line 1214 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static T Teuchos::EnhancedNumberTraits< T >::defaultStep ( )
inlinestatic

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

Definition at line 1219 of file Teuchos_StandardParameterEntryValidators.hpp.

template<class T >
static unsigned short Teuchos::EnhancedNumberTraits< T >::defaultPrecision ( )
inlinestatic

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

Definition at line 1224 of file Teuchos_StandardParameterEntryValidators.hpp.


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