|
Optika Development
|
#include <Optika_SpecificParameterEntryValidators.hpp>


Public Member Functions | |
| FileNameValidator (bool mustAlreadyExist=false) | |
| bool | fileMustExist () const |
| bool | setFileMustExist (bool shouldFileExist) |
|
Teuchos::RCP< const Teuchos::Array< std::string > > | validStringValues () const |
| void | validate (Teuchos::ParameterEntry const &entry, std::string const ¶mName, std::string const &sublistName) const |
| void | printDoc (std::string const &docString, std::ostream &out) const |
Simply indicates that the parameter entry with this validator should contain a filename.
| Optika::FileNameValidator::FileNameValidator | ( | bool | mustAlreadyExist = false | ) |
Constructs a FileNameValidator.
| mustAlreadyExist | True if the file the user specifies should already exists, false otherwise. |
| bool Optika::FileNameValidator::fileMustExist | ( | ) | const |
Gets the variable describing whether or not this validator wants the file that is specified to already exist.
| bool Optika::FileNameValidator::setFileMustExist | ( | bool | shouldFileExist | ) |
Sets whether or not the validator requires the file to already exist.
| shouldFileExist | True if the file should already exist, false otherwise. |
1.7.4