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 438 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 441 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 446 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Set allow a double value or not.

Definition at line 449 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Set allow an std::string value or not.

Definition at line 452 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an int value?

Definition at line 455 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an double value?

Definition at line 457 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an std::string value?

Definition at line 459 of file Teuchos_StandardParameterEntryValidators.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:23:02 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7