Optika GUI Toolik Version of the Day
Public Types | Static Public Member Functions
Optika::ValidatorFactory Class Reference

#include <Optika_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 Teuchos::RCP
< Teuchos::ParameterEntryValidator
createValidator (ValidatorType valiType)
static Teuchos::RCP
< EnhancedNumberValidator< int > > 
getIntValidator ()
static Teuchos::RCP
< EnhancedNumberValidator
< short > > 
getShortValidator ()
static Teuchos::RCP
< EnhancedNumberValidator
< double > > 
getDoubleValidator ()
static Teuchos::RCP
< EnhancedNumberValidator
< float > > 
getFloatValidator ()
static Teuchos::RCP
< FileNameValidator
getFileNameValidator ()
static Teuchos::RCP
< ArrayNumberValidator< int > > 
getArrayIntValidator ()
static Teuchos::RCP
< ArrayNumberValidator< short > > 
getArrayShortValidator ()
static Teuchos::RCP
< ArrayNumberValidator< double > > 
getArrayDoubleValidator ()
static Teuchos::RCP
< ArrayNumberValidator< float > > 
getArrayFloatValidator ()
static Teuchos::RCP
< ArrayFileNameValidator
getArrayFileNameValidator ()

Detailed Description

Definition at line 35 of file Optika_ValidatorFactory.hpp.


Member Enumeration Documentation

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

Definition at line 37 of file Optika_ValidatorFactory.hpp.


Member Function Documentation

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

Creates a validator of the given type.

Parameters:
valiTypeThe type of validator to be created.
Returns:
A validator of the specified type.

Definition at line 32 of file Optika_ValidatorFactory.cpp.

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

Creates and returns a Enhanced Number Validator of type int.

Returns:
An Enhanced Number Validator of type int.

Definition at line 73 of file Optika_ValidatorFactory.cpp.

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

Creates and returns a Enhanced Number Validator of type short.

Returns:
An Enhanced Number Validator of type short.

Definition at line 77 of file Optika_ValidatorFactory.cpp.

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

Creates and returns a Enhanced Number Validator of type double.

Returns:
An Enhanced Number Validator of type double.

Definition at line 81 of file Optika_ValidatorFactory.cpp.

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

Creates and returns a Enhanced Number Validator of type float.

Returns:
An Enhanced Number Validator of type float.

Definition at line 85 of file Optika_ValidatorFactory.cpp.

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

Creates and returns FileNameValidator.

Returns:
A FileNameValidator.

Definition at line 89 of file Optika_ValidatorFactory.cpp.

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

Creates and returns an Array Number Validator of type int.

Returns:
An Enhanced Number Validator of type int.

Definition at line 93 of file Optika_ValidatorFactory.cpp.

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

Creates and returns an Array Number Validator of type short.

Returns:
An Enhanced Number Validator of type short.

Definition at line 97 of file Optika_ValidatorFactory.cpp.

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

Creates and returns an Array Number Validator of type double.

Returns:
An Enhanced Number Validator of type double.

Definition at line 101 of file Optika_ValidatorFactory.cpp.

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

Creates and returns an Array Number Validator of type float.

Returns:
An Enhanced Number Validator of type float.

Definition at line 105 of file Optika_ValidatorFactory.cpp.

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

Creates and returns an Array File Name Validator.

Returns:
An Array File Name Validator.

Definition at line 109 of file Optika_ValidatorFactory.cpp.


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