Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Writes a ParameterList to an XML object. More...
#include <Teuchos_XMLParameterListWriter.hpp>
Public Member Functions | |
XMLObject | toXML (const ParameterList &p, RCP< const DependencySheet > depSheet=null) const |
Static Public Member Functions | |
static const std::string & | getParameterListTagName () |
static const std::string & | getNameAttributeName () |
static const std::string & | getValidatorsTagName () |
static const std::string & | getDependenciesTagName () |
Private Member Functions | |
XMLObject | convertParameterList (const ParameterList &p, ParameterEntry::ParameterEntryID &idCounter, EntryIDsMap &entryIDsMap, const ValidatortoIDMap &validatorIDsMap) const |
Write the given list to an XML object. More... | |
XMLObject | convertValidators (const ParameterList &p, ValidatortoIDMap &validatorIDsMap) const |
Convert all the validators. More... | |
XMLObject | convertDependencies (RCP< const DependencySheet > depSheet, const EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const |
Convert all the dependencies. More... | |
void | buildInitialValidatorMap (const ParameterList &p, ValidatortoIDMap &validatorIDsMap) const |
Builds up the list of validators to be converted. More... | |
Public Types | |
typedef std::map< RCP< const ParameterEntry > , ParameterEntry::ParameterEntryID, RCPConstComp > | EntryIDsMap |
Constructors | |
XMLParameterListWriter () | |
Writes a ParameterList to an XML object.
Definition at line 64 of file Teuchos_XMLParameterListWriter.hpp.
typedef std::map<RCP<const ParameterEntry>, ParameterEntry::ParameterEntryID, RCPConstComp> Teuchos::XMLParameterListWriter::EntryIDsMap |
Definition at line 73 of file Teuchos_XMLParameterListWriter.hpp.
Teuchos::XMLParameterListWriter::XMLParameterListWriter | ( | ) |
Construct a writer
Definition at line 52 of file Teuchos_XMLParameterListWriter.cpp.
XMLObject Teuchos::XMLParameterListWriter::toXML | ( | const ParameterList & | p, |
RCP< const DependencySheet > | depSheet = null |
||
) | const |
Write the given list to an XML object
Definition at line 57 of file Teuchos_XMLParameterListWriter.cpp.
|
inlinestatic |
Definition at line 89 of file Teuchos_XMLParameterListWriter.hpp.
|
inlinestatic |
Definition at line 95 of file Teuchos_XMLParameterListWriter.hpp.
|
inlinestatic |
Definition at line 101 of file Teuchos_XMLParameterListWriter.hpp.
|
inlinestatic |
Definition at line 107 of file Teuchos_XMLParameterListWriter.hpp.
|
private |
Write the given list to an XML object.
Definition at line 121 of file Teuchos_XMLParameterListWriter.cpp.
|
private |
Convert all the validators.
Definition at line 105 of file Teuchos_XMLParameterListWriter.cpp.
|
private |
Convert all the dependencies.
Definition at line 156 of file Teuchos_XMLParameterListWriter.cpp.
|
private |
Builds up the list of validators to be converted.
Definition at line 87 of file Teuchos_XMLParameterListWriter.cpp.