Teuchos - Trilinos Tools Package
Version of the Day
|
Provides ability to lookup DependencyXMLConverterDB. More...
#include <Teuchos_DependencyXMLConverterDB.hpp>
Static Public Member Functions | |
Modifier Functions | |
static void | addConverter (RCP< const Dependency > dependency, RCP< DependencyXMLConverter > converterToAdd) |
Add a converter to the database. More... | |
Converter Functions | |
static RCP< const DependencyXMLConverter > | getConverter (const Dependency &dependency) |
Get an appropriate DependencyXMLConverter given a ParameterEntry. More... | |
static RCP< const DependencyXMLConverter > | getConverter (const XMLObject &xmlObject) |
Get an appropriate DependencyXMLConverter given a XMLObject. More... | |
static XMLObject | convertDependency (RCP< const Dependency > dependency, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) |
Given a dependency converts the dependency to XML. More... | |
static RCP< Dependency > | convertXML (const XMLObject &xmlObject, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) |
Given an XMLObject converts the XMLObject to a Dependency. More... | |
I/O Functions | |
static void | printKnownConverters (std::ostream &out) |
prints the xml tags associated with all known converters More... | |
Provides ability to lookup DependencyXMLConverterDB.
Definition at line 64 of file Teuchos_DependencyXMLConverterDB.hpp.
|
static |
Add a converter to the database.
A | dummy dependency representing the type of dependency the converter will convert. |
convertToAdd | The converter to add to the database. |
Definition at line 51 of file Teuchos_DependencyXMLConverterDB.cpp.
|
static |
Get an appropriate DependencyXMLConverter given a ParameterEntry.
dependency | The ParameterEntryDependency for which a converter is desired. |
Definition at line 61 of file Teuchos_DependencyXMLConverterDB.cpp.
|
static |
Get an appropriate DependencyXMLConverter given a XMLObject.
xmlObject | The XMLObject for which a converter is desired. |
Definition at line 77 of file Teuchos_DependencyXMLConverterDB.cpp.
|
static |
Given a dependency converts the dependency to XML.
dependency | Dependency to Convert. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validatorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Definition at line 103 of file Teuchos_DependencyXMLConverterDB.cpp.
|
static |
Given an XMLObject converts the XMLObject to a Dependency.
xmlObject | The XMLObject to convert into a depdendency. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
validatorIDsMap | A map containing ParameterEntryValidators and their associated IDs. |
Definition at line 112 of file Teuchos_DependencyXMLConverterDB.cpp.
|
inlinestatic |
prints the xml tags associated with all known converters
out | Stream to which tags should be printed. |
Definition at line 144 of file Teuchos_DependencyXMLConverterDB.hpp.