Optika Development
Public Member Functions
Optika::ArrayNumberValidator< S > Class Template Reference

#include <Optika_SpecificParameterEntryValidators.hpp>

Inheritance diagram for Optika::ArrayNumberValidator< S >:
Inheritance graph
[legend]
Collaboration diagram for Optika::ArrayNumberValidator< S >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ArrayNumberValidator (Teuchos::RCP< EnhancedNumberValidator< S > > prototypeValidator)
Teuchos::RCP< const
EnhancedNumberValidator< S > > 
getPrototype () const
void validate (Teuchos::ParameterEntry const &entry, std::string const &paramName, std::string const &sublistName) const
void printDoc (std::string const &docString, std::ostream &out) const

Detailed Description

template<class S>
class Optika::ArrayNumberValidator< S >

A wrapper class allowing EnhancedNumberValidators to be applied to arrays.


Constructor & Destructor Documentation

template<class S >
Optika::ArrayNumberValidator< S >::ArrayNumberValidator ( Teuchos::RCP< EnhancedNumberValidator< S > >  prototypeValidator) [inline]

Constructs and ArrayNumberValidator.

Parameters:
prototypeValidatorThe validator to be applied to each entry in the array.

Member Function Documentation

template<class S >
Teuchos::RCP<const EnhancedNumberValidator<S> > Optika::ArrayNumberValidator< S >::getPrototype ( ) const [inline]

Retruns the prototype validator being used by the ArrayNumberValidator.

Returns:
The prototype validator being used by the ArrayNumberValidator.

The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations