Teuchos - Trilinos Tools Package
Version of the Day
|
Converts ArrayValidators to and from XML. More...
#include <Teuchos_StandardValidatorXMLConverters.hpp>
Inherits Teuchos::AbstractArrayValidatorXMLConverter< ValidatorType, EntryType >.
Additional Inherited Members | |
![]() | |
RCP< ParameterEntryValidator > | convertXML (const XMLObject &xmlObj, const IDtoValidatorMap &validatorIDsMap) const |
void | convertValidator (const RCP< const ParameterEntryValidator > validator, XMLObject &xmlObj, const ValidatortoIDMap &validatorIDsMap) const |
virtual RCP < AbstractArrayValidator < ValidatorType, EntryType > > | getConcreteValidator (RCP< ValidatorType > prototypeValidator) const =0 |
Returns a concrete validator that has AbstractArrayValidator as it's parent class. More... | |
![]() | |
RCP< ParameterEntryValidator > | fromXMLtoValidator (const XMLObject &xmlObj, const IDtoValidatorMap &validatorIDsMap) const |
Converts a given XMLObject to a ParameterEntryValidator. More... | |
virtual RCP < ParameterEntryValidator > | convertXML (const XMLObject &xmlObj, const IDtoValidatorMap &validatorIDsMap) const =0 |
Preforms any and all special xml conversion that is specific to a particular ParameterEntryValidator. More... | |
XMLObject | fromValidatortoXML (const RCP< const ParameterEntryValidator > validator, const ValidatortoIDMap &validatorIDsMap, bool assignedID=true) const |
Converters a given ParameterEntryValidator to XML. More... | |
virtual void | convertValidator (const RCP< const ParameterEntryValidator > validator, XMLObject &xmlObj, const ValidatortoIDMap &validatorIDsMap) const =0 |
Preforms any and all special validator conversion that is specific to a particlar ParameterEntryValidator. More... | |
![]() | |
virtual std::string | description () const |
Return a simple one-line description of this object. More... | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Print the object with some verbosity level to a FancyOStream. More... | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Version of describe() that takes an std::ostream instead of a FancyOStream. More... | |
virtual | ~Describable () |
Destructor (marked virtual for memory safety of derived classes). More... | |
![]() | |
LabeledObject () | |
Construct with an empty label. More... | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
Set the object label (see LabeledObject). More... | |
virtual std::string | getObjectLabel () const |
Get the object label (see LabeledObject). More... | |
![]() | |
static const std::string & | getIdAttributeName () |
static const std::string & | getPrototypeIdAttributeName () |
static const std::string & | getTypeAttributeName () |
static const std::string & | getValidatorTagName () |
![]() | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). More... | |
![]() | |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
Describable output stream manipulator. More... | |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Output stream operator for Describable manipulator. More... | |
Converts ArrayValidators to and from XML.
ArrayValidators can be represented in XML one of two ways. The first just creates the prototype validator as a child of the ArrayValidator. In this case, the prototype validator does NOT use a validatorId.
The second way to define an ArrayValidator in XML is to just use the "prototypeId" attribute to specify the prototype validator as some other validator you've already defined.
Definition at line 716 of file Teuchos_StandardValidatorXMLConverters.hpp.