Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Public Types | Static Public Member Functions
Teuchos::ValidatorFactory Class Reference

Factory for ParameterEntryValidator objects. More...

#include <Teuchos_ValidatorFactory.hpp>

List of all members.

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.
static RCP
< EnhancedNumberValidator< int > > 
getIntValidator ()
 Creates and returns a Enhanced Number Validator of type int.
static RCP
< EnhancedNumberValidator
< short > > 
getShortValidator ()
 Creates and returns a Enhanced Number Validator of type short.
static RCP
< EnhancedNumberValidator
< double > > 
getDoubleValidator ()
 Creates and returns a Enhanced Number Validator of type double.
static RCP
< EnhancedNumberValidator
< float > > 
getFloatValidator ()
 Creates and returns a Enhanced Number Validator of type float.
static RCP< FileNameValidatorgetFileNameValidator ()
 Creates and returns FileNameValidator.
static RCP
< ArrayNumberValidator< int > > 
getArrayIntValidator ()
 Creates and returns an Array Number Validator of type int.
static RCP
< ArrayNumberValidator< short > > 
getArrayShortValidator ()
 Creates and returns an Array Number Validator of type short.
static RCP
< ArrayNumberValidator< double > > 
getArrayDoubleValidator ()
 Creates and returns an Array Number Validator of type double.
static RCP
< ArrayNumberValidator< float > > 
getArrayFloatValidator ()
 Creates and returns an Array Number Validator of type float.
static RCP
< ArrayFileNameValidator
getArrayFileNameValidator ()
 Creates and returns an Array File Name Validator.

Detailed Description

Factory for ParameterEntryValidator objects.

Definition at line 54 of file Teuchos_ValidatorFactory.hpp.


Member Enumeration Documentation

Enumerator:
Int 
Short 
Double 
Float 
FileName 
IntArray 
ShortArray 
DoubleArray 
FloatArray 
FileNameArray 

Definition at line 57 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 49 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 91 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 96 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 101 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 106 of file Teuchos_ValidatorFactory.cpp.

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

Creates and returns FileNameValidator.

Definition at line 111 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 116 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 121 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 126 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 131 of file Teuchos_ValidatorFactory.cpp.

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

Creates and returns an Array File Name Validator.

Definition at line 136 of file Teuchos_ValidatorFactory.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines