Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An abstract base class for converting Dependencies to and from XML. More...
#include <Teuchos_DependencyXMLConverter.hpp>
Converter Functions | |
RCP< Dependency > | fromXMLtoDependency (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const |
Converts a given XMLObject to a Dependency. More... | |
virtual RCP< Dependency > | convertXML (const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const =0 |
Preforms any and all special xml conversion that is specific to a particular Dependency. More... | |
XMLObject | fromDependencytoXML (const RCP< const Dependency > dependency, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const |
Converters a given ParameterEntryValidator to XML. More... | |
virtual void | convertDependency (const RCP< const Dependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const =0 |
Preforms any and all special dependency conversion that is specific to a particlar Dependency. More... | |
Attribute/Query Functions | |
static const std::string & | getDependeeTagName () |
Returns the string to be used for the dependee tag. More... | |
static const std::string & | getDependentTagName () |
Returns the string to be used for the dependent tag. More... | |
static const std::string & | getParameterIdAttributeName () |
Returns the string to be used for the ParameterID attribute. More... | |
static const std::string & | getTypeAttributeName () |
Returns the string to be used for the type attribute. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Teuchos::Describable | |
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... | |
Public Member Functions inherited from Teuchos::LabeledObject | |
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 Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). More... | |
Related Functions inherited from Teuchos::Describable | |
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... | |
An abstract base class for converting Dependencies to and from XML.
Definition at line 63 of file Teuchos_DependencyXMLConverter.hpp.
RCP< Dependency > Teuchos::DependencyXMLConverter::fromXMLtoDependency | ( | const XMLObject & | xmlObj, |
const XMLParameterListReader::EntryIDsMap & | entryIDsMap, | ||
const IDtoValidatorMap & | validatorIDsMap | ||
) | const |
Converts a given XMLObject to a Dependency.
xmlObj | The XMLObject to convert to a Dependency. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validtorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Definition at line 50 of file Teuchos_DependencyXMLConverter.cpp.
|
pure virtual |
Preforms any and all special xml conversion that is specific to a particular Dependency.
xmlObj | The xml to be converted. in which this resulting dependency will be inserted. |
dependees | The dependees of the dependency. |
dependents | The dependents of the dependency. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validtorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Implemented in Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >, Teuchos::ValidatorDependencyXMLConverter, and Teuchos::VisualDependencyXMLConverter.
XMLObject Teuchos::DependencyXMLConverter::fromDependencytoXML | ( | const RCP< const Dependency > | dependency, |
const XMLParameterListWriter::EntryIDsMap & | entryIDsMap, | ||
ValidatortoIDMap & | validatorIDsMap | ||
) | const |
Converters a given ParameterEntryValidator to XML.
dependency | The Dependency to be converted to XML. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validtorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Definition at line 99 of file Teuchos_DependencyXMLConverter.cpp.
|
pure virtual |
Preforms any and all special dependency conversion that is specific to a particlar Dependency.
dependency | The validator to be converted. |
xmlObj | The XMLObject on which all child tags should be appended and attributes added. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validtorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Implemented in Teuchos::ArrayModifierDependencyXMLConverter< DependeeType, DependentType >, Teuchos::ValidatorDependencyXMLConverter, and Teuchos::VisualDependencyXMLConverter.
|
inlinestatic |
Returns the string to be used for the dependee tag.
Definition at line 144 of file Teuchos_DependencyXMLConverter.hpp.
|
inlinestatic |
Returns the string to be used for the dependent tag.
Definition at line 152 of file Teuchos_DependencyXMLConverter.hpp.
|
inlinestatic |
Returns the string to be used for the ParameterID attribute.
Definition at line 160 of file Teuchos_DependencyXMLConverter.hpp.
|
inlinestatic |
Returns the string to be used for the type attribute.
Definition at line 168 of file Teuchos_DependencyXMLConverter.hpp.