Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes Class Reference

Determines the types that are accepted. More...

#include <Teuchos_StandardParameterEntryValidators.hpp>

List of all members.

Public Member Functions

 AcceptedTypes (bool allowAllTypesByDefault=true)
 Allow all types or not on construction.
AcceptedTypesallowInt (bool _allowInt)
 Set allow an int value or not.
AcceptedTypesallowDouble (bool _allowDouble)
 Set allow a double value or not.
AcceptedTypesallowString (bool _allowString)
 Set allow an std::string value or not.
bool allowInt () const
 Allow an int value?
bool allowDouble () const
 Allow an double value?
bool allowString () const
 Allow an std::string value?


Detailed Description

Determines the types that are accepted.

Definition at line 437 of file Teuchos_StandardParameterEntryValidators.hpp.


Constructor & Destructor Documentation

Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::AcceptedTypes ( bool  allowAllTypesByDefault = true  )  [inline]

Allow all types or not on construction.

Definition at line 440 of file Teuchos_StandardParameterEntryValidators.hpp.


Member Function Documentation

AcceptedTypes& Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowInt ( bool  _allowInt  )  [inline]

Set allow an int value or not.

Definition at line 445 of file Teuchos_StandardParameterEntryValidators.hpp.

AcceptedTypes& Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowDouble ( bool  _allowDouble  )  [inline]

Set allow a double value or not.

Definition at line 448 of file Teuchos_StandardParameterEntryValidators.hpp.

AcceptedTypes& Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowString ( bool  _allowString  )  [inline]

Set allow an std::string value or not.

Definition at line 451 of file Teuchos_StandardParameterEntryValidators.hpp.

bool Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowInt (  )  const [inline]

Allow an int value?

Definition at line 454 of file Teuchos_StandardParameterEntryValidators.hpp.

bool Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowDouble (  )  const [inline]

Allow an double value?

Definition at line 456 of file Teuchos_StandardParameterEntryValidators.hpp.

bool Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowString (  )  const [inline]

Allow an std::string value?

Definition at line 458 of file Teuchos_StandardParameterEntryValidators.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:45:27 2009 for Teuchos - Trilinos Tools Package by doxygen 1.4.7