Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
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... | |
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:
min
Defines the minimum possible value the number type can take on.max
Defines the maximum possible value the number type can take on.defaultStep
Defines the default amount a value of the number type should be incremented by when being incremented in a UI.defaultPrecision
Defines the default number of decimals with which the number type should be displayed in a UI. This trait is useless for non-floating point number types.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.
|
inlinestatic |
Gets the minimum possible value the number type can take on.
Definition at line 1210 of file Teuchos_StandardParameterEntryValidators.hpp.
|
inlinestatic |
Gets the maximum possible value the number type can take on.
Definition at line 1214 of file Teuchos_StandardParameterEntryValidators.hpp.
|
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.
|
inlinestatic |
Gets the default precision with which the number type should be displayed.
Definition at line 1224 of file Teuchos_StandardParameterEntryValidators.hpp.