| Teuchos Package Browser (Single Doxygen Collection)
    Version of the Day
    | 
Class uesd to validate a particular type of number. More...
#include <Teuchos_StandardParameterEntryValidators.hpp>

| Constructors/Destructor | |
| EnhancedNumberValidator (T min, T max, T step=EnhancedNumberTraits< T >::defaultStep(), unsigned short precision=EnhancedNumberTraits< T >::defaultPrecision()) | |
| Constructs a EnhancedNumberValidator.  More... | |
| EnhancedNumberValidator () | |
| Constructs a EnhancedNumberValidator without an explicit minimum or maximum.  More... | |
| Setter Functions | |
| void | setMin (T min) | 
| Sets the minimum acceptable value for the validator.  More... | |
| void | setMax (T max) | 
| Sets the maximum acceptable value for the validator.  More... | |
| void | setStep (T step) | 
| Sets the step being used for the validator.  More... | |
| void | setPrecision (unsigned short precision) | 
| Sets the precision specified for the validator.  More... | |
| Getter Functions | |
| T | getMin () const | 
| Gets the minimum acceptable value for the validator.  More... | |
| T | getMax () const | 
| Gets the maximum acceptable value for the validator.  More... | |
| T | getStep () const | 
| Gets the step being used for the validator.  More... | |
| unsigned short | getPrecision () const | 
| Gets the precision specified for the validator.  More... | |
| Attribute/Query Methods | |
| bool | hasMin () const | 
| Determines whether or not the validator has a minimum value.  More... | |
| bool | hasMax () const | 
| Determines whether or not the validator has a maximum value.  More... | |
| Overridden from ParameterEntryValidator | |
| ValidStringsList | validStringValues () const | 
| void | validate (ParameterEntry const &entry, std::string const ¶mName, std::string const &sublistName) const | 
| void | validateAndModify (std::string const ¶mName, std::string const &sublistName, ParameterEntry *entry) const | 
| Teuchos::any | getNumberFromString (const ParameterEntry &entry, const bool activeQuery) const | 
| const std::string | getXMLTypeName () const | 
| void | printDoc (std::string const &docString, std::ostream &out) const | 
| Private Methods | |
| bool | useIntConversions () const | 
| Private Members | |
| T | minVal | 
| The minimum value accepted by the validator.  More... | |
| T | maxVal | 
| The maximum value accepted by the validator.  More... | |
| T | step_ | 
| The increment to use when increaseing or decreaseing the value the validator is validating.  More... | |
| unsigned short | precision_ | 
| The number of decimal places with which the nubmer will be displayed in a UI. This value is meaningless for non-floating point number types.  More... | |
| bool | containsMin | 
| Whether or not a minimum value has been specified for this validator.  More... | |
| bool | containsMax | 
| Whetehr or not a maximum value has been specified for this validator.  More... | |
| Additional Inherited Members | |
|  Public Types inherited from Teuchos::ParameterEntryValidator | |
| typedef unsigned int | ValidatorID | 
| typedef RCP< const Array < std::string > > | ValidStringsList | 
|  Public Member Functions inherited from Teuchos::ParameterEntryValidator | |
| ParameterEntryValidator () | |
| Default Constructor.  More... | |
| double | convertStringToDouble (std::string str) const | 
| int | convertStringToInt (std::string str) const | 
| int | convertStringToLongLong (std::string str) const | 
|  Public Member Functions inherited from Teuchos::Describable | |
| virtual std::string | description () const | 
| Return a simple one-line description of this object.  More... | |
| virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const | 
| Print the object with some verbosity level to a FancyOStream.  More... | |
| void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const | 
| Version of describe() that takes an std::ostream instead of a FancyOStream.  More... | |
| virtual | ~Describable () | 
| Destructor (marked virtual for memory safety of derived classes).  More... | |
|  Public Member Functions inherited from Teuchos::LabeledObject | |
| LabeledObject () | |
| Construct with an empty label.  More... | |
| virtual | ~LabeledObject () | 
| virtual void | setObjectLabel (const std::string &objectLabel) | 
| Set the object label (see LabeledObject).  More... | |
| virtual std::string | getObjectLabel () const | 
| Get the object label (see LabeledObject).  More... | |
|  Static Public Attributes inherited from Teuchos::Describable | |
| static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT | 
| Default value for the verbLevelargument of describe().  More... | |
|  Related Functions inherited from Teuchos::Describable | |
| DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) | 
| Describable output stream manipulator.  More... | |
| std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) | 
| Output stream operator for Describable manipulator.  More... | |
Class uesd to validate a particular type of number.
Please see EnhancedNumberValidatorXMLConverter for documenation regarding the XML representation of this validator. 
Definition at line 1356 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Constructs a EnhancedNumberValidator.
| min | The minimum acceptable value for this validator. | 
| max | The maximum acceptable value for this validator. | 
| step | The increments at which the values being validated should be changed when incremented in a UI. | 
| precision | The number of decimials places to which the values validated shold be compared to the min and max and the number of decimals which are displayed in a UI. This parameter is pretty much meamingless for non-floating point types. | 
Definition at line 1377 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Constructs a EnhancedNumberValidator without an explicit minimum or maximum.
Definition at line 1389 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Sets the minimum acceptable value for the validator.
| min | The desired minimum acceptable value for the validator. | 
Definition at line 1407 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Sets the maximum acceptable value for the validator.
| min | The desired maximum acceptable value for the validator. | 
Definition at line 1416 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Sets the step being used for the validator.
| The | step to be used for the validator. | 
Definition at line 1425 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Sets the precision specified for the validator.
| The | precision specific for the validator. | 
Definition at line 1433 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Gets the minimum acceptable value for the validator.
Definition at line 1446 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Gets the maximum acceptable value for the validator.
Definition at line 1454 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Gets the step being used for the validator.
Definition at line 1462 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Gets the precision specified for the validator.
Definition at line 1470 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Determines whether or not the validator has a minimum value.
Definition at line 1483 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inline | 
Determines whether or not the validator has a maximum value.
Definition at line 1491 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inlinevirtual | 
Implements Teuchos::ParameterEntryValidator.
Definition at line 1501 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | virtual | 
Implements Teuchos::ParameterEntryValidator.
Definition at line 1648 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | virtual | 
Reimplemented from Teuchos::ParameterEntryValidator.
Definition at line 1580 of file Teuchos_StandardParameterEntryValidators.hpp.
| Teuchos::any Teuchos::EnhancedNumberValidator< T >::getNumberFromString | ( | const ParameterEntry & | entry, | 
| const bool | activeQuery | ||
| ) | const | 
Definition at line 1630 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inlinevirtual | 
Implements Teuchos::ParameterEntryValidator.
Definition at line 1518 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | inlinevirtual | 
Implements Teuchos::ParameterEntryValidator.
Definition at line 1523 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
Definition at line 1605 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
The minimum value accepted by the validator.
Definition at line 1552 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
The maximum value accepted by the validator.
Definition at line 1556 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
The increment to use when increaseing or decreaseing the value the validator is validating.
Definition at line 1560 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
The number of decimal places with which the nubmer will be displayed in a UI. This value is meaningless for non-floating point number types.
Definition at line 1565 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
Whether or not a minimum value has been specified for this validator.
Definition at line 1569 of file Teuchos_StandardParameterEntryValidators.hpp.
| 
 | private | 
Whetehr or not a maximum value has been specified for this validator.
Definition at line 1573 of file Teuchos_StandardParameterEntryValidators.hpp.
 1.8.5
 1.8.5