Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
Teuchos::ValidatorFactory Class Reference

Factory for ParameterEntryValidator objects. More...

#include <Teuchos_ValidatorFactory.hpp>

Public Types

enum  ValidatorType {
  Int, Short, Double, Float,
  FileName, IntArray, ShortArray, DoubleArray,
  FloatArray, FileNameArray
}
 

Static Public Member Functions

static RCP
< ParameterEntryValidator
createValidator (ValidatorType valiType)
 Creates a validator of the given type. More...
 
static RCP
< EnhancedNumberValidator< int > > 
getIntValidator ()
 Creates and returns a Enhanced Number Validator of type int. More...
 
static RCP
< EnhancedNumberValidator
< short > > 
getShortValidator ()
 Creates and returns a Enhanced Number Validator of type short. More...
 
static RCP
< EnhancedNumberValidator
< double > > 
getDoubleValidator ()
 Creates and returns a Enhanced Number Validator of type double. More...
 
static RCP
< EnhancedNumberValidator
< float > > 
getFloatValidator ()
 Creates and returns a Enhanced Number Validator of type float. More...
 
static RCP< FileNameValidatorgetFileNameValidator ()
 Creates and returns FileNameValidator. More...
 
static RCP
< ArrayNumberValidator< int > > 
getArrayIntValidator ()
 Creates and returns an Array Number Validator of type int. More...
 
static RCP
< ArrayNumberValidator< short > > 
getArrayShortValidator ()
 Creates and returns an Array Number Validator of type short. More...
 
static RCP
< ArrayNumberValidator< double > > 
getArrayDoubleValidator ()
 Creates and returns an Array Number Validator of type double. More...
 
static RCP
< ArrayNumberValidator< float > > 
getArrayFloatValidator ()
 Creates and returns an Array Number Validator of type float. More...
 
static RCP
< ArrayFileNameValidator
getArrayFileNameValidator ()
 Creates and returns an Array File Name Validator. More...
 

Detailed Description

Factory for ParameterEntryValidator objects.

Definition at line 22 of file Teuchos_ValidatorFactory.hpp.

Member Enumeration Documentation

Enumerator
Int 
Short 
Double 
Float 
FileName 
IntArray 
ShortArray 
DoubleArray 
FloatArray 
FileNameArray 

Definition at line 25 of file Teuchos_ValidatorFactory.hpp.

Member Function Documentation

RCP< ParameterEntryValidator > Teuchos::ValidatorFactory::createValidator ( ValidatorType  valiType)
static

Creates a validator of the given type.

Parameters
valiTypeThe type of validator to be created.

Definition at line 17 of file Teuchos_ValidatorFactory.cpp.

RCP< EnhancedNumberValidator< int > > Teuchos::ValidatorFactory::getIntValidator ( )
static

Creates and returns a Enhanced Number Validator of type int.

Definition at line 49 of file Teuchos_ValidatorFactory.cpp.

RCP< EnhancedNumberValidator< short > > Teuchos::ValidatorFactory::getShortValidator ( )
static

Creates and returns a Enhanced Number Validator of type short.

Definition at line 54 of file Teuchos_ValidatorFactory.cpp.

RCP< EnhancedNumberValidator< double > > Teuchos::ValidatorFactory::getDoubleValidator ( )
static

Creates and returns a Enhanced Number Validator of type double.

Definition at line 59 of file Teuchos_ValidatorFactory.cpp.

RCP< EnhancedNumberValidator< float > > Teuchos::ValidatorFactory::getFloatValidator ( )
static

Creates and returns a Enhanced Number Validator of type float.

Definition at line 64 of file Teuchos_ValidatorFactory.cpp.

RCP< FileNameValidator > Teuchos::ValidatorFactory::getFileNameValidator ( )
static

Creates and returns FileNameValidator.

Definition at line 69 of file Teuchos_ValidatorFactory.cpp.

RCP< ArrayNumberValidator< int > > Teuchos::ValidatorFactory::getArrayIntValidator ( )
static

Creates and returns an Array Number Validator of type int.

Definition at line 74 of file Teuchos_ValidatorFactory.cpp.

RCP< ArrayNumberValidator< short > > Teuchos::ValidatorFactory::getArrayShortValidator ( )
static

Creates and returns an Array Number Validator of type short.

Definition at line 79 of file Teuchos_ValidatorFactory.cpp.

RCP< ArrayNumberValidator< double > > Teuchos::ValidatorFactory::getArrayDoubleValidator ( )
static

Creates and returns an Array Number Validator of type double.

Definition at line 84 of file Teuchos_ValidatorFactory.cpp.

RCP< ArrayNumberValidator< float > > Teuchos::ValidatorFactory::getArrayFloatValidator ( )
static

Creates and returns an Array Number Validator of type float.

Definition at line 89 of file Teuchos_ValidatorFactory.cpp.

RCP< ArrayFileNameValidator > Teuchos::ValidatorFactory::getArrayFileNameValidator ( )
static

Creates and returns an Array File Name Validator.

Definition at line 94 of file Teuchos_ValidatorFactory.cpp.


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