Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes Class Reference

Determines the types that are accepted. More...

#include <Teuchos_StandardParameterEntryValidators.hpp>

Public Member Functions

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

Detailed Description

Determines the types that are accepted.

Definition at line 722 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 725 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 732 of file Teuchos_StandardParameterEntryValidators.hpp.

AcceptedTypes& Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowLongLong ( bool  _allowLongLong)
inline

Set allow an long long value or not.

Definition at line 735 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Set allow a double value or not.

Definition at line 738 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Set allow an std::string value or not.

Definition at line 741 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an int value?

Definition at line 744 of file Teuchos_StandardParameterEntryValidators.hpp.

bool Teuchos::AnyNumberParameterEntryValidator::AcceptedTypes::allowLongLong ( ) const
inline

Allow an long long value?

Definition at line 746 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an double value?

Definition at line 748 of file Teuchos_StandardParameterEntryValidators.hpp.

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

Allow an std::string value?

Definition at line 750 of file Teuchos_StandardParameterEntryValidators.hpp.


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