Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
List of all members
Teuchos::AbstractArrayValidator< ValidatorType, EntryType > Class Template Reference

An abstract base class for all ArrayValidators. More...

#include <Teuchos_StandardParameterEntryValidators.hpp>

Inheritance diagram for Teuchos::AbstractArrayValidator< ValidatorType, EntryType >:
Inheritance graph
[legend]

Private Members

RCP< const ValidatorType > prototypeValidator_
 The prototype validator to be applied to each entry in the Array.
 
 AbstractArrayValidator ()
 Hidden default constructor.
 

Constructors

 AbstractArrayValidator (RCP< const ValidatorType > prototypeValidator)
 Constructs an AbstractArrayValidator.
 

Getter Functions

RCP< const ValidatorType > getPrototype () const
 Returns the prototype validator for this Array Validator.
 

Overridden from ParameterEntryValidator

ValidStringsList validStringValues () const
 

Additional Inherited Members

- Public Types inherited from Teuchos::ParameterEntryValidator
typedef unsigned int ValidatorID
 
typedef RCP< const Array< std::string > > ValidStringsList
 
- Public Member Functions inherited from Teuchos::ParameterEntryValidator
 ParameterEntryValidator ()
 Default Constructor.
 
virtual const std::string getXMLTypeName () const =0
 Get a string that should be used as a value of the type attribute when serializing it to XML.
 
virtual void printDoc (std::string const &docString, std::ostream &out) const =0
 Print documentation for this parameter.
 
virtual void validate (ParameterEntry const &entry, std::string const &paramName, std::string const &sublistName) const =0
 Validate a parameter entry value and throw std::exception (with a great error message) if validation fails.
 
virtual void validateAndModify (std::string const &paramName, std::string const &sublistName, ParameterEntry *entry) const
 Validate and perhaps modify a parameter entry's value.
 
double convertStringToDouble (std::string str) const
 
int convertStringToInt (std::string str) const
 
int convertStringToLongLong (std::string str) const
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 Return a simple one-line description of this object.
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Print the object with some verbosity level to a FancyOStream.
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Version of describe() that takes an std::ostream instead of a FancyOStream.
 
virtual ~Describable ()
 Destructor (marked virtual for memory safety of derived classes).
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 Construct with an empty label.
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 Set the object label (see LabeledObject).
 
virtual std::string getObjectLabel () const
 Get the object label (see LabeledObject).
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default = VERB_DEFAULT
 Default value for the verbLevel argument of describe().
 

Detailed Description

template<class ValidatorType, class EntryType>
class Teuchos::AbstractArrayValidator< ValidatorType, EntryType >

An abstract base class for all ArrayValidators.

Definition at line 1967 of file Teuchos_StandardParameterEntryValidators.hpp.

Constructor & Destructor Documentation

◆ AbstractArrayValidator() [1/2]

template<class ValidatorType , class EntryType >
Teuchos::AbstractArrayValidator< ValidatorType, EntryType >::AbstractArrayValidator ( RCP< const ValidatorType > prototypeValidator)
inline

Constructs an AbstractArrayValidator.

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

Definition at line 1980 of file Teuchos_StandardParameterEntryValidators.hpp.

◆ AbstractArrayValidator() [2/2]

template<class ValidatorType , class EntryType >
Teuchos::AbstractArrayValidator< ValidatorType, EntryType >::AbstractArrayValidator ( )
private

Hidden default constructor.

Member Function Documentation

◆ getPrototype()

template<class ValidatorType , class EntryType >
RCP< const ValidatorType > Teuchos::AbstractArrayValidator< ValidatorType, EntryType >::getPrototype ( ) const
inline

Returns the prototype validator for this Array Validator.

Definition at line 1990 of file Teuchos_StandardParameterEntryValidators.hpp.

◆ validStringValues()

template<class ValidatorType , class EntryType >
ValidStringsList Teuchos::AbstractArrayValidator< ValidatorType, EntryType >::validStringValues ( ) const
inlinevirtual

Member Data Documentation

◆ prototypeValidator_

template<class ValidatorType , class EntryType >
RCP<const ValidatorType> Teuchos::AbstractArrayValidator< ValidatorType, EntryType >::prototypeValidator_
private

The prototype validator to be applied to each entry in the Array.

Definition at line 2013 of file Teuchos_StandardParameterEntryValidators.hpp.


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